Skip to main content

A simple subtitle encoding fixer.

Project description

Subfix

A simple subtitle encoding fixer.

Subfix is a utility package which helps to convert subtitle file encodings.

Features

  • Single File Conversion
  • Batch Conversion

Installing

Install using pip:

pip install subfix

Example:

Single:

from subfix.converter.manager import converter_manager


converter_manager.convert('/home/user/movies/system-crasher-2019/english_sub.srt')

Batch:

from subfix.converter.manager import converter_manager


converter_manager.batch_convert('/home/user/movies/system-crasher-2019')

Both methods accept extra optional inputs to customize the conversion.
Read the docstrings for more information on extra options.

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

subfixio-0.1.0.tar.gz (11.5 kB view hashes)

Uploaded source

Built Distribution

subfixio-0.1.0-py3-none-any.whl (25.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page