Skip to main content

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

light_ass-0.2.0.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

light_ass-0.2.0-py3-none-any.whl (31.3 kB view details)

Uploaded Python 3

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

Hashes for light_ass-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dbb8efa9e70bbc273071d6a34d8873405458439cfae04f1b04031ff0283ae54e
MD5 9cdda544afc9da8851002128459a2e08
BLAKE2b-256 4694eb65a5122ba2973450d54a81da9192759a69d70f7c69f248226d40ac83a6

See more details on using hashes here.

Provenance

The following attestation bundles were made for light_ass-0.2.0.tar.gz:

Publisher: python-publish.yml on oborozuk1/light-ass

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for light_ass-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf08b79f2d92412ffdc93563c7763a19dc146177ac26d726ea2e29d85b826d88
MD5 f68894d464d2da109f6d91e420188817
BLAKE2b-256 10b1c32c7d4525867c0ebd937e5ddd7bd1025adea0f5607792653c7ceeabadd6

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page