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.4.tar.gz (24.5 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.4-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for light_ass-0.1.4.tar.gz
Algorithm Hash digest
SHA256 18fa542d64a94abc52d2f2dbe9f40316aff9e5eaf025090e4db76fea51c34751
MD5 eaaafd8fbf40b57fa9dd385ed8fd0dcb
BLAKE2b-256 72b2a713171718102d7eeabb492ab06535bb78d17d0639a38e1176a692ec1de0

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for light_ass-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c346b0f1348988a6907a923467eb169c60bdbb3285e56f5d70e03103ded2540e
MD5 cd59cc79f3d93dfcde24be4a37b09a32
BLAKE2b-256 2958dd79756a3a1baee4d32754364c2494960cae06092ded0e9311c81633cb8b

See more details on using hashes here.

Provenance

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