Skip to main content

Subtilte Conversion utils - ass2srt vtt2bcc srt2bcc ass2bcc and more

Project description

subtitle_utils

cover

Python Download

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)

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

subtitle_utils-1.0.0.tar.gz (8.5 kB view hashes)

Uploaded Source

Built Distribution

subtitle_utils-1.0.0-py3-none-any.whl (10.0 kB view hashes)

Uploaded Python 3

Supported by

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