Skip to main content

Karaoke effect templating engine for ASS subtitle files.

Project description

Pykara Templater

Pykara is a karaoke templating framework written in Python, inspired by the legacy Karaoke Templater from Aegisub.

Requirements

  • Python 3.14 or higher

Installation

pip install pykara

Usage

pykara input.ass output.ass
pykara input.ass output.ass --json output.json   # Export intermediate data
pykara input.ass output.ass --warn-only          # Downgrade errors to warnings
pykara input.ass output.ass --seed 42            # Initial deterministic RNG seed
pykara input.ass output.ass --font-dir ./fonts   # Prefer fonts from a directory
pykara input.ass output.ass --generated-only     # Write only generated fx lines

See the documentation for the full reference.

Development

Create and activate a virtual environment:

python -m venv .venv
source .venv/bin/activate

Install development dependencies:

pip install -e ".[dev]"

Code Quality & Testing

mdformat --check .                 # Validate Markdown formatting
ruff check pykara tests            # Run lint rules
ruff format --check pykara tests   # Verify Python formatting
pyright                            # Run static type checking
pytest --cov                       # Run test suite with coverage

License

Distributed under the 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

pykara-0.8.tar.gz (942.4 kB view details)

Uploaded Source

Built Distribution

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

pykara-0.8-py3-none-any.whl (152.1 kB view details)

Uploaded Python 3

File details

Details for the file pykara-0.8.tar.gz.

File metadata

  • Download URL: pykara-0.8.tar.gz
  • Upload date:
  • Size: 942.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pykara-0.8.tar.gz
Algorithm Hash digest
SHA256 e10467a11edeb9005a91b8870e7aead15ef8f7be658ca65c794aee40416f5a6d
MD5 6ae2e1e806aa61eb37b0ea6262da5150
BLAKE2b-256 2842d6f94aadd115045affad6fbe1b84c35a63319f5296546f7837ba0220e1e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pykara-0.8.tar.gz:

Publisher: publish.yml on pandafansub/pykara

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

File details

Details for the file pykara-0.8-py3-none-any.whl.

File metadata

  • Download URL: pykara-0.8-py3-none-any.whl
  • Upload date:
  • Size: 152.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pykara-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f4f97da40a9c7fd8343c6c3d98decfa5bf2f7191f48b9bc53e55c37b13e0e140
MD5 1698e59417438e604340fa753a5916e8
BLAKE2b-256 3632d5d2d2a9b99b1535d4d08a20424f9a5ddd6dcc79b5de8dada92ce6d2169f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pykara-0.8-py3-none-any.whl:

Publisher: publish.yml on pandafansub/pykara

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