Convert TTML to JSON
Project description
ttml-to-json
Convert TTML to JSON
Installation
Install this tool using pip
:
pip install ttml-to-json
Usage
To output JSON for a TTML file:
ttml-to-json subtitles.ttml
This will output to standard output. Use -o filename
to send it to a specified file.
You can also use:
python -m ttml_to_json ...
Development
To contribute to this tool, first checkout the code. Then create a new virtual environment:
cd ttml-to-json
python -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ttml-to-json-0.1.tar.gz
(6.3 kB
view hashes)
Built Distribution
Close
Hashes for ttml_to_json-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ca99c2b9f2a32c8d0e3041510a7466d2d264ab2b11f83f78a175b859efd05a0 |
|
MD5 | 4eced3309e3b4abc00ea1d9bf0d19dbb |
|
BLAKE2b-256 | 372f59992d7f1e61a7f148fc477d553f0ae39c30d4bfd64a56708019e57ee0bd |