Skip to main content

A small package to clean up the content of a subtitle file to text

Project description

vtt2text

vtt2text Python MIT Size Contributors

Install

pip install vtt2text

Usage

  • vtt2text.clean(filepath): return a clean text containing content of vtt file input.
  • vtt2text.to_file(filepath): save clean content to a text file. By default, the output file has extension .txt and the same name with the input file.

Example

Click here to see an example.

Project details


Download files

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

Files for vtt2text, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size vtt2text-0.1.3.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View
Filename, size vtt2text-0.1.3-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page