Skip to main content

Asciicut

Simple CLI for trimming asciinema .cast files.

Installation

Prefer to install using pipx:

pipx install asciicut

Usage

List all casts in the current directory:

asciicut ls
                      Ascii Casts                       
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ File                         ┃ Duration (s) ┃ Events ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━┩
│ api2agent-chat-test.cast     │ 5.872736     │ 25     │
│ api2agent-human-manager.cast │ 8.275829     │ 22     │
└──────────────────────────────┴──────────────┴────────┘

Drop the first 3 seconds of a given cast

asciicut drop api2agent-chat-test.cast 3
                         Ascii Casts                         
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ File                              ┃ Duration (s) ┃ Events ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━┩
│ api2agent-chat-test.cast          │ 5.872736     │ 25     │
│ api2agent-chat-test_drop_3.0.cast │ 8.872736     │ 9      │
└───────────────────────────────────┴──────────────┴────────┘

Metadata

Release files for asciicut 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asciicut 0.1.2
File Size Uploaded
asciicut-0.1.2.tar.gz 3.2 kB Details

Built distribution (wheel)

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

Total release size: 9.1 kB

Release files / asciicut-0.1.2.tar.gz

Download URL asciicut-0.1.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
36b3e310becd5f981ad1c818b4667f4289f42b552d8a12ba9f5b5a0fbf2f356c
BLAKE2b-256 checksum
How to use checksums
b15a56ca641bf356fdf9f686661f9d0c68bb217419e53be01e3de08dec172371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.11.8 Linux/6.2.0-39-generic

Release files / asciicut-0.1.2-py3-none-any.whl

Download URL asciicut-0.1.2-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8d38fe74140631282b96cced7908b5fd347dd0d4def019d8fffce37a028cff1
BLAKE2b-256 checksum
How to use checksums
6594c0d7d748d4ebbf2dbe10f0985abf59dd6128343e34761795e14fa4946488
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.1 CPython/3.11.8 Linux/6.2.0-39-generic

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.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