Skip to main content

demoterm makes your CLI demos more visual by displaying what you type.

Installation

$ pip install demoterm

Compatibility

The tool is developed and tested on a Linux terminal. It uses the terminfo database to retrieve specific escape sequences. If your terminal does not handle those escape sequences, the tool will exit early.

Usage

$ demoterm

You will probably want to combine demoterm with a screen recording tool such as asciinema:

$ asciinema rec -c demoterm

The program will run the shell specified by the SHELL environment variable by default, and if this variable is missing it will try to find bash or sh. Alternatively, you can specify the shell you want as an argument (e.g., demoterm zsh).

Metadata

Release files for demoterm 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 demoterm 1.1
File Size Uploaded
demoterm-1.1.tar.gz 7.1 kB Details

Built distribution (wheel)

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

Total release size: 14.8 kB

Release files / demoterm-1.1.tar.gz

Download URL demoterm-1.1.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0ed3953a7e6139a7062c114c0ee122ffbce2897d9e4b219b47da026afed4a8ad
BLAKE2b-256 checksum
How to use checksums
5a0a2749925527ccc46e16e118ac0609890a75159140ed94710845bf4c965b0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / demoterm-1.1-py3-none-any.whl

Download URL demoterm-1.1-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39488758a3a074f6ccecb433801de4aae17b28b9c9ff48e834b730e81d26194b
BLAKE2b-256 checksum
How to use checksums
d09ce9c127faa52da5a5f947de28dc7ca6e0ec3b191577a620b2ba5bc28a5a90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.1 This release

2 release files

1.0

2 release files

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