Convert ASS subtitle to SRT format
Project description
pyasstosrt
pyasstosrt – this tool will help you convert Advanced SubStation Alpha (ASS/SSA) subtitle files to SubRip (SRT) files.
Support for str path:
from pyasstosrt import Subtitle
sub = Subtitle('sub.ass')
sub.export()
Support for all Path-like objects, instead of only pathlib's Path:
from pathlib import Path
from pyasstosrt import Subtitle
path = Path('sub.ass')
sub = Subtitle(path)
sub.export()
CLI
pyasstosrt --filepath=/Users/user/sub/sub.ass export
Optional You can specify an export folder.
pyasstosrt --filepath=/Users/user/sub/sub.ass export /Users/user/sub/srt
Installation
Most users will want to simply install the latest version, hosted on PyPI:
$ pip install pyasstosrt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyasstosrt-1.1.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pyasstosrt-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1005debef1edb2e2578cf5442a461ced427e18cbc0fd9ef12418f6d4fc231a1 |
|
MD5 | be02ccfa54ca39c36f6a56cba3c03c37 |
|
BLAKE2b-256 | 91a020fd5fabced2891b921700cb0cde98a4d97241a3e5b8224105fc1f1416f8 |