Skip to content

Easily create terminal screencast. Based on asciinema.

License

Notifications You must be signed in to change notification settings

abilian/asciicast

Repository files navigation

Asciicast: generate asciicasts from Python code

image

image

Documentation Status

This package provides a Python API to generate asciicasts from Python code.

Installation

    pip install asciicast

Demo

asciicast

Usage

The asciicast module provides a Asciicast class that can be used to record asciicasts from Python code.

Example:

from asciicast.cast import Cast

cast = Cast(typing_delay=0.03)

cast.echo("# How to use asciicast?")
cast.wait(0.5)

cast.type("cat -n examples/demo1.py")
cast.wait(0.2)

cast.run()

About

Easily create terminal screencast. Based on asciinema.

Resources

License

Stars

Watchers

Forks

Packages

No packages published