Skip to main content

Convert WebVTT to printable text.

Project description

vtr2ptxt

CLI tool to convert WebVT to pretty/printable(that's what the 'p' stands for) plain text.

Installation

From git repo

Check out the git repository.

Also you can install from the git repo:

# Recommended
pipx install git+https://gitlab.com/aelmahmoudy/vtt2ptxt

# alternative
pip3 install --user git+https://gitlab.com/aelmahmoudy/vtt2ptxt

From PyPI (for Python implementation)

# Recommended
pipx install vtt2ptxt

# alternative
pip3 install --user vtt2ptxt

Usage

Just run vtt2ptxt --help. You'll get it:

usage: vtt2ptxt [-h] [-w TEXTWIDTH] vttfile [outfile]

Convert WebVTT to printable text.

positional arguments:
  vttfile               input WebVTT file
  outfile               output text file

options:
  -h, --help            show this help message and exit
  -w TEXTWIDTH, --textwidth TEXTWIDTH
                        text width (for text wrapping)

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

vtt2ptxt-0.0.1.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vtt2ptxt-0.0.1-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file vtt2ptxt-0.0.1.tar.gz.

File metadata

  • Download URL: vtt2ptxt-0.0.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vtt2ptxt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 59a5f7c5e3d12c00020ef4f49a0f9eab7d2eab07df1f89a1ccf1a811b421ddac
MD5 8830455fb7134060451bef7a0aca6fa7
BLAKE2b-256 1e40f473f80c64d1addb7c6e72372a8b6c157d38fd49b9ac520f3e1e6c952218

See more details on using hashes here.

File details

Details for the file vtt2ptxt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: vtt2ptxt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for vtt2ptxt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb36f3f70860fde903824b048ebf7410c268f8089d6f5be98587755da28c822f
MD5 f7ca6f9726c31f7892b13f21d0b2da3d
BLAKE2b-256 0d22955d625064609a11c941e24f5bc6388522a69c15202097a00d73553a98f5

See more details on using hashes here.

Supported by

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