A small package to clean up the content of a subtitle file to text
Project description
vtt2text
Install
pip install vtt2text
Usage
vtt2text.clean(filepath): return a clean text containing content ofvttfile input.vtt2text.to_file(filepath): save clean content to a text file. By default, the output file has extension.txtand 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.
Source Distribution
vtt2text-0.1.3.tar.gz
(2.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vtt2text-0.1.3.tar.gz.
File metadata
- Download URL: vtt2text-0.1.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d7e164f0941246150d71fbe0fa4962caab83cc54a7635073e3019d4fec0fbaa
|
|
| MD5 |
0934468358498aa29c41387fb535225c
|
|
| BLAKE2b-256 |
c3a9dc708f4c0a4cfd52d819b240d81c70fa29029704d41e437357e98fe6d585
|
File details
Details for the file vtt2text-0.1.3-py3-none-any.whl.
File metadata
- Download URL: vtt2text-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f0298355971a9f812eb32265cece8b7daf9b3f7988efd42543b26adfee3a478
|
|
| MD5 |
c8d63c5f74b5b3a5f0bc644c1d8f0ec2
|
|
| BLAKE2b-256 |
760c3c2b85afb57ea9976bd29f86fa1275c7f0e960ef0491223259abb6eee8a2
|