Skip to main content

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()

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)

Source distribution for asciicast 0.1.1
File Size Uploaded Provenance Actions
asciicast-0.1.1.tar.gz 5.0 kB Without provenance Details for asciicast-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for asciicast 0.1.1
File Interpreter ABI Platform Actions
asciicast-0.1.1-py3-none-any.whl Python 3 none any Details for asciicast-0.1.1-py3-none-any.whl

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

Security for asciicast 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page