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 (partial)

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 License

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.1.1.tar.gz (15.8 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.1.1-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file light_ass-0.1.1.tar.gz.

File metadata

  • Download URL: light_ass-0.1.1.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for light_ass-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f7745765f29c33d33b2cd5b8b5c22c31c47f9846220d9db9380fa24b9d4089f3
MD5 cc8f09beb0e7b7cbbf7a3d42bf9b0d23
BLAKE2b-256 53c06c8df02a61590c512c19dc074fe997af558587987f4cb2bb262a9a37604a

See more details on using hashes here.

Provenance

The following attestation bundles were made for light_ass-0.1.1.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.1.1-py3-none-any.whl.

File metadata

  • Download URL: light_ass-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for light_ass-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 798d05ce206265f91f9138168df00e807195db9e7f8e2703234e2260832f0d4c
MD5 f37e6d9b0353bd97a539ed7418ff27e9
BLAKE2b-256 2960157d511255c728f728e32e0370b6b30a99446b4b67f4fdd0a98e7f32c5d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for light_ass-0.1.1-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