Asciicast: generate asciicasts from Python code
This package provides a Python API to generate asciicasts from Python code.
Installation
pip install asciicast
Demo
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()
Metadata
Release files for asciicast 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asciicast-0.1.1.tar.gz | 5.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asciicast-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.9 kB
Release files / asciicast-0.1.1.tar.gz
| Download URL | asciicast-0.1.1.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a39ae30e5427b5b827cbea34db64c7affcaf984539764a0ca5fa98f4bd61e82c
|
|
BLAKE2b-256 checksum How to use checksums |
423b0b8cffc02bb97386468f83a3cd0a0dfc2e37e2d30cd54adfc7ac5dfae54b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / asciicast-0.1.1-py3-none-any.whl
| Download URL | asciicast-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57e13ad63085463247cd7dbdca85fe9df4dc05e51c74971048bf953be6106881
|
|
BLAKE2b-256 checksum How to use checksums |
04fd492e035728c796098e2f6474a86ee8e7897517774455c63888658f9c4e4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|