subtitle_utils
Subtilte Conversion Utils - ass2srt vtt2bcc srt2bcc ass2bcc and more!
Install 🥽
pip install -U subtitle_utils
Usage ☕️
from subtitle_utils import get_method, show_available, srt2bcc
print("Available methods:")
print(show_available())
with open("test.srt", 'r') as file_io:
test_result = get_method(method="srt2bcc")(content=file_io)
print(test_result)
_result = srt2bcc(content="1\n00:00:00,000 --> 00:00:01,000\nHello World")
print(_result)
Metadata
Release files for subtitle-utils 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| subtitle_utils-1.0.0.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| subtitle_utils-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / subtitle_utils-1.0.0.tar.gz
| Download URL | subtitle_utils-1.0.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19818de222e28872fef9f1c217d7a297a4e99aae3427c043a53b56d6204447f1
|
|
BLAKE2b-256 checksum How to use checksums |
1cde74ee835a9b892491d1c4deeefdb3d5a5e379b29564e48bc93a77f6099108
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.1 CPython/3.10.12
|
Release files / subtitle_utils-1.0.0-py3-none-any.whl
| Download URL | subtitle_utils-1.0.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05300405bcf0a4c2f523ea51ceba52dda7c8ac160b1b59910ebbda6fea1c94f3
|
|
BLAKE2b-256 checksum How to use checksums |
faeb9e5a6cdba375cb2fbcbdb7abbcd6758bfad74ad10f28927b61c289372357
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.12.1 CPython/3.10.12
|