Skip to main content

Synchronize your subtitle files by shifting the subtitle time (+/-)

Project description

Subshift

Version: 0.7.0

A handy Python library to shift your subtitles +/- seconds so they align with your video

Usage:

Short Flag Long Flag Description
-h --help See Usage
-f --file Subtitle File
-m --mode + / -
-t --time Time in seconds to shift

Example:

python3 subshift.py --file English.srt --mode + --time 5

Install Instructions

Install Python Package

python -m pip install subshift

Build Instructions

Build Python Package

sudo chmod +x ./*.py
sudo pip install .
python3 setup.py bdist_wheel --universal
# Test Pypi
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u "Username" -p "Password"
# Prod Pypi
twine upload dist/* --verbose -u "Username" -p "Password"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

subshift-0.7.0-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 2 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