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.3.tar.gz (15.3 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.3-py3-none-any.whl (17.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: light_ass-0.1.3.tar.gz
  • Upload date:
  • Size: 15.3 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.3.tar.gz
Algorithm Hash digest
SHA256 12eaeb666e839c0b63e6f8fc98921f85f0835c496d53c230a4bdc6e07f7daaa9
MD5 7aa33d552fdfc5abee259837087c01c5
BLAKE2b-256 e0dc5c1d9279edf2d185d61437a2eebab12e7e41fc77c0086e57abb1f288f8b9

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: light_ass-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 17.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8942290ce70397a5f8717c7cc47361d4327e68c37900802e9013b53bc6fabdeb
MD5 35dd3fe0c65b8b7c69cc0b9b783a1cee
BLAKE2b-256 72bb435fbb89d1d84202555fb703cd9f296f3234a5a3d1a7a33e51cfd638eaed

See more details on using hashes here.

Provenance

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