| Name | ass2srt JSON |
| Version |
0.0.5
JSON |
| download |
| home_page | https://github.com/zcq100/ass2srt |
| Summary | A tool that convert .ass subtitles to .srt |
| upload_time | 2023-11-23 01:50:31 |
| maintainer | |
| docs_url | None |
| author | zcq100 |
| requires_python | >=3.6 |
| license | |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
## 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](https://github.com/zcq100/ass2srt).
Raw data
{
"_id": null,
"home_page": "https://github.com/zcq100/ass2srt",
"name": "ass2srt",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "zcq100",
"author_email": "zcq100@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d3/8b/921ae01c16a804bd78844722a8e1dac4b416f3cc0e9bbed9fa3cced66e8f/ass2srt-0.0.5.tar.gz",
"platform": null,
"description": "## ass2srt\n\nA tool that convert .ass subtitles to .srt\n\n### Install\n```\npip install ass2srt\n```\n\n### Usage\n```\n$ ass2srt -h\n\nusage: ass2srt.py [-h] [-s {zh,en,fr,de}] [-l {0,1,2}] [-i] file\n\npositional arguments:\n file .ass file to convert\n\noptional arguments:\n -h, --help show this help message and exit\n -s {zh,en,fr,de}, --suffix {zh,en,fr,de}\n add suffix to subtitles name\n -l {0,1,2}, --line {0,1,2}\n keep double subtitles\n -i, --info display subtitles infomation\n -o OUT, --out OUT output file name\n\n```\n\n### Example :\n```\nass2srt Movies.S01.E01.Name.ass\n```\n\n### Used as a Library\n\nYou can use asstosrt on your program easily.\n```\nimport ass2srt\nsubtitles=ass2srt.Ass2srt(\"Movies.S01E01.Name.ass\")\nsubtitles.to_srt()\n```\n\n### License\n\nMIT License\n\n### Bugs and Issues\n\nPlease visit [GitHub](https://github.com/zcq100/ass2srt).\n",
"bugtrack_url": null,
"license": "",
"summary": "A tool that convert .ass subtitles to .srt",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://github.com/zcq100/ass2srt"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9d9d01140e26256189589e8b69edc822f65fa0e444a3de6b24abf9fcf8117ff4",
"md5": "42b368e516b1e5e960616195426f0e34",
"sha256": "b35b3910bec645d2bd42ac704d5d66a0730f19d0785bb41161ce24ae35a94658"
},
"downloads": -1,
"filename": "ass2srt-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "42b368e516b1e5e960616195426f0e34",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4007,
"upload_time": "2023-11-23T01:50:29",
"upload_time_iso_8601": "2023-11-23T01:50:29.259390Z",
"url": "https://files.pythonhosted.org/packages/9d/9d/01140e26256189589e8b69edc822f65fa0e444a3de6b24abf9fcf8117ff4/ass2srt-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d38b921ae01c16a804bd78844722a8e1dac4b416f3cc0e9bbed9fa3cced66e8f",
"md5": "9f32be2a8dd9bd4d711aa5760e4615e8",
"sha256": "52a7e6bcaab39caf0d1013ec07f5fd9cd0f7aa11278fbf04b8ff711c2e7f82f5"
},
"downloads": -1,
"filename": "ass2srt-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "9f32be2a8dd9bd4d711aa5760e4615e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3487,
"upload_time": "2023-11-23T01:50:31",
"upload_time_iso_8601": "2023-11-23T01:50:31.187615Z",
"url": "https://files.pythonhosted.org/packages/d3/8b/921ae01c16a804bd78844722a8e1dac4b416f3cc0e9bbed9fa3cced66e8f/ass2srt-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-23 01:50:31",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zcq100",
"github_project": "ass2srt",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ass2srt"
}