Skip to main content

No project description provided

Project description

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      │
└───────────────────────────────────┴──────────────┴────────┘

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

asciicut-0.1.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

asciicut-0.1.2-py3-none-any.whl (5.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page