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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file asciicut-0.1.2.tar.gz.

File metadata

  • Download URL: asciicut-0.1.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.11.8 Linux/6.2.0-39-generic

File hashes

Hashes for asciicut-0.1.2.tar.gz
Algorithm Hash digest
SHA256 36b3e310becd5f981ad1c818b4667f4289f42b552d8a12ba9f5b5a0fbf2f356c
MD5 447fb839012b4b7d6e037841913e1ad0
BLAKE2b-256 b15a56ca641bf356fdf9f686661f9d0c68bb217419e53be01e3de08dec172371

See more details on using hashes here.

File details

Details for the file asciicut-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: asciicut-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.1 CPython/3.11.8 Linux/6.2.0-39-generic

File hashes

Hashes for asciicut-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f8d38fe74140631282b96cced7908b5fd347dd0d4def019d8fffce37a028cff1
MD5 e553f0ddbf48fef161dd0b277667f056
BLAKE2b-256 6594c0d7d748d4ebbf2dbe10f0985abf59dd6128343e34761795e14fa4946488

See more details on using hashes here.

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