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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file subtitle_utils-1.0.0.tar.gz.

File metadata

  • Download URL: subtitle_utils-1.0.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.1 CPython/3.10.12

File hashes

Hashes for subtitle_utils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 19818de222e28872fef9f1c217d7a297a4e99aae3427c043a53b56d6204447f1
MD5 5614071621fd4dc354499e6f06980d87
BLAKE2b-256 1cde74ee835a9b892491d1c4deeefdb3d5a5e379b29564e48bc93a77f6099108

See more details on using hashes here.

File details

Details for the file subtitle_utils-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: subtitle_utils-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: pdm/2.12.1 CPython/3.10.12

File hashes

Hashes for subtitle_utils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 05300405bcf0a4c2f523ea51ceba52dda7c8ac160b1b59910ebbda6fea1c94f3
MD5 2dd70a832d5052c4f21908a49aae6c9e
BLAKE2b-256 faeb9e5a6cdba375cb2fbcbdb7abbcd6758bfad74ad10f28927b61c289372357

See more details on using hashes here.

Supported by

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