A lightweight library for handling ASS subtitles
Project description
light-ass
A lightweight library for handling Advanced SubStation Alpha (ASS) subtitles.
Features
- Parse ASS subtitles effortlessly
- Check the validity of field types
- Parse ASS override tags
Installation
pip install light-ass
Usage
import light_ass
document = light_ass.load("example.ass")
print(document.info)
print(document.styles)
print(document.events)
TODO
- Support for more sections
- More methods for ASS shapes
- ASS minifier
- Support for VSFilterMod tags
License
MIT
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file light_ass-0.2.0.tar.gz.
File metadata
- Download URL: light_ass-0.2.0.tar.gz
- Upload date:
- Size: 32.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbb8efa9e70bbc273071d6a34d8873405458439cfae04f1b04031ff0283ae54e
|
|
| MD5 |
9cdda544afc9da8851002128459a2e08
|
|
| BLAKE2b-256 |
4694eb65a5122ba2973450d54a81da9192759a69d70f7c69f248226d40ac83a6
|
Provenance
The following attestation bundles were made for light_ass-0.2.0.tar.gz:
Publisher:
python-publish.yml on oborozuk1/light-ass
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
light_ass-0.2.0.tar.gz -
Subject digest:
dbb8efa9e70bbc273071d6a34d8873405458439cfae04f1b04031ff0283ae54e - Sigstore transparency entry: 1938450080
- Sigstore integration time:
-
Permalink:
oborozuk1/light-ass@18762cc40aafd033cee44565a4bf7c579b5fb1ff -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/oborozuk1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@18762cc40aafd033cee44565a4bf7c579b5fb1ff -
Trigger Event:
release
-
Statement type:
File details
Details for the file light_ass-0.2.0-py3-none-any.whl.
File metadata
- Download URL: light_ass-0.2.0-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf08b79f2d92412ffdc93563c7763a19dc146177ac26d726ea2e29d85b826d88
|
|
| MD5 |
f68894d464d2da109f6d91e420188817
|
|
| BLAKE2b-256 |
10b1c32c7d4525867c0ebd937e5ddd7bd1025adea0f5607792653c7ceeabadd6
|
Provenance
The following attestation bundles were made for light_ass-0.2.0-py3-none-any.whl:
Publisher:
python-publish.yml on oborozuk1/light-ass
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
light_ass-0.2.0-py3-none-any.whl -
Subject digest:
cf08b79f2d92412ffdc93563c7763a19dc146177ac26d726ea2e29d85b826d88 - Sigstore transparency entry: 1938450204
- Sigstore integration time:
-
Permalink:
oborozuk1/light-ass@18762cc40aafd033cee44565a4bf7c579b5fb1ff -
Branch / Tag:
refs/tags/0.2.0 - Owner: https://github.com/oborozuk1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@18762cc40aafd033cee44565a4bf7c579b5fb1ff -
Trigger Event:
release
-
Statement type: