Skip to main content

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
  • Unknown tags are preserved losslessly

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

License

MIT

Metadata

Release files for light-ass 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for light-ass 0.3.0
File Size Uploaded Provenance
light_ass-0.3.0.tar.gz 47.7 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for light-ass 0.3.0
File Interpreter ABI Platform
light_ass-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 92.2 kB

Release files / light_ass-0.3.0.tar.gz

Download URL light_ass-0.3.0.tar.gz
Size 47.7 kB
Tags Source
SHA-256 checksum
How to use checksums
0b1350307dff2fd437b6b0a8ecb3c21de0cdd0ebe9d1a7ef5889602091aa6186
BLAKE2b-256 checksum
How to use checksums
c8f0c04340c8c6be3cb9ef6d409357819865deacd2c57f408ed2aeead6e2bb94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Release files / light_ass-0.3.0-py3-none-any.whl

Download URL light_ass-0.3.0-py3-none-any.whl
Size 44.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e31a0ac46de514a051717273aa52c46a53cd153128a6ebe57e8cc6801c41c675
BLAKE2b-256 checksum
How to use checksums
48021e969771def2251f4ad583fa7c1ff4acf1eb740240e74a54cdc8b635077d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

Security for light-ass 0.3.0

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for light_ass-0.3.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.

Transparency log

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page