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.0.tar.gz (13.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.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: light_ass-0.1.0.tar.gz
  • Upload date:
  • Size: 13.3 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.0.tar.gz
Algorithm Hash digest
SHA256 fc76c1fbd2032e2f5343fba1dae4c3ba24449b7a7f9fe8aeaef5597570ba54be
MD5 8157c1cf42d724daeb12379ca88fb1a9
BLAKE2b-256 79ab5fa42ad235d770c7109b4ecbe68443641c11068ff9392f02d2d3645b2153

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: light_ass-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b3be46718dd02cbe33abfada95f35301de1fdf92d4d67d571de2e66a67c3ee0
MD5 bb4d908b820584620ea8a0d4ac04c9ee
BLAKE2b-256 8cd44b85aa935127a6d92c9dc172060c00dae08dbbd037b51ff6c72fadd17eab

See more details on using hashes here.

Provenance

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