ass2srt
A tool that convert .ass subtitles to .srt
Install
pip install ass2srt
Usage
$ ass2srt -h
usage: ass2srt.py [-h] [-s {zh,en,fr,de}] [-l {0,1,2}] [-i] file
positional arguments:
file .ass file to convert
optional arguments:
-h, --help show this help message and exit
-s {zh,en,fr,de}, --suffix {zh,en,fr,de}
add suffix to subtitles name
-l {0,1,2}, --line {0,1,2}
keep double subtitles
-i, --info display subtitles infomation
-o OUT, --out OUT output file name
Example :
ass2srt Movies.S01.E01.Name.ass
Used as a Library
You can use asstosrt on your program easily.
import ass2srt
subtitles=ass2srt.Ass2srt("Movies.S01E01.Name.ass")
subtitles.to_srt()
License
MIT License
Bugs and Issues
Please visit GitHub.
Metadata
Release files for ass2srt 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ass2srt-0.0.5.tar.gz | 3.5 kB | Without provenance | Details for ass2srt-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ass2srt-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for ass2srt-0.0.5-py3-none-any.whl |
Total release size: 7.5 kB
Release files / ass2srt-0.0.5.tar.gz
| Download URL | ass2srt-0.0.5.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
52a7e6bcaab39caf0d1013ec07f5fd9cd0f7aa11278fbf04b8ff711c2e7f82f5
|
|
BLAKE2b-256 checksum How to use checksums |
d38b921ae01c16a804bd78844722a8e1dac4b416f3cc0e9bbed9fa3cced66e8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / ass2srt-0.0.5-py3-none-any.whl
| Download URL | ass2srt-0.0.5-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b35b3910bec645d2bd42ac704d5d66a0730f19d0785bb41161ce24ae35a94658
|
|
BLAKE2b-256 checksum How to use checksums |
9d9d01140e26256189589e8b69edc822f65fa0e444a3de6b24abf9fcf8117ff4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for ass2srt 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.