Blitzline
Turn a foreign-language audio/video file into subtitles and Anki vocabulary
with matching audio or video examples. Blitzline uses WhisperX for transcription,
bltzr for unknown-word extraction, and an optional LLM for proofreading,
English subtitles, and lemma review.
LLM providers: OpenRouter, DeepSeek, and custom chat-compatible endpoints. Each stage can use a different provider/model. Internally, responses are validated JSON; Blitzline generates timestamps, bold examples, media references, and TSV.
Start with the short setup guide and
example configuration.
The Blitzline man page begins with a first-run walkthrough,
then documents every command and flag. In a checkout, read it with
man ./man/blitzline.1.
python3 -m venv .venv
.venv/bin/python -m pip install -e '.[apkg]'
.venv/bin/blitzline check --config docs/config.example.toml
.venv/bin/blitzline run recording.mp4 --language slv --config docs/config.example.toml
Install FFmpeg and Blitzer with your language pack separately. Transcribe locally
with WhisperX or offload to Modal or an HTTP worker.
Choose your model and set its API key before using the example config.
WhisperX can run in another environment via asr.executable.
Blitzer can be installed from pip with:
pip install bltzr
Use a Blitzer build whose bltzr blitz --help lists
--skip-exact-words-file and --skip-word-families-file for the new lists.
If working from the updated Blitzer checkout, blitzer.executable can point
to its .venv/bin/bltzr.
Choose which words to skip: exact words (word form)
skip only listed spellings, while word families (lexeme/lemma) skip a word
and its dictionary-connected forms. For to be, an exact list containing
be and am leaves are counted; a family list containing be skips
its recognized forms. Blitzline uses your Blitzer lists automatically, or you
can override either file in the [blitzer] section of your Blitzline config.
Already have subtitles? Skip transcription:
blitzline run recording.mp4 --language slv --srt recording.srt --config my-config.toml
# Or: --asr-json whisper-output.json
Without an LLM, the run stops with an editable artifacts/review.json containing
one decision per candidate. Fill its meanings and decisions using
artifacts/04-vocabulary.json, then continue:
blitzline resume RUN_DIR --review RUN_DIR/artifacts/review.json
blitzline export RUN_DIR --format apkg
# Direct delivery requires Anki running with AnkiConnect:
blitzline export RUN_DIR --format anki
The default Anki note preset matches ref/example_note.apkg:
clickable sentence cards, example audio, and optional typed recall. Fields,
mappings, multiple templates, CSS/JavaScript, tags, and assets are configurable.
The legacy format remains available. Configure a language and card types for each
deck profile, then use
--deck-profile slovenian to select its deck and infer its source language. One
configuration supports multiple languages and decks.
Use --clips video for video examples, --translate for English subtitles, and
--proofread for transcript review. Optional asr.relisten performs a second ASR
pass on questionable audio; a text-only model is never presented as listening.
Unresolved items stop delivery; --allow-partial explicitly exports accepted
cards and keeps a report of omissions.
Runs contain artifacts/, media/, exports/, logs/, and manifest.json.
After checking an exported APKG or TSV in the destination application, run
blitzline clean RUN_DIR to preview removal of intermediate artifacts, media,
logs, and request caches. blitzline clean RUN_DIR --apply performs the cleanup,
keeps the portable export and a small receipt, and makes the run nonresumable.
Nothing is cleaned automatically after export. Direct Anki delivery cannot be
cleaned this way because it has no portable output to retain.
The command prints their location. Resume reuses checksum-valid stages and
invalidates downstream work when transcript/config/skip-list inputs change.
Blitzer's skip lists and history are never updated by this pipeline.
The original requirements and prompt are retained in the vision.
Publish releases with make release; see the one-time GitHub/PyPI setup and
release steps. The helper bumps the patch version and
publishes a GitHub release, which triggers the PyPI workflow.
See the implementation checklist and developer/configuration guide for stage contracts, limitations, and verification. Every Python module documents its scope and navigation; domain transformations are functions independent of I/O.
python -m pip install -e '.[dev]'
python -m pytest -q
python -m ruff check blitzline tests
python -m ruff format --check blitzline tests
Metadata
Release files for blitzline 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blitzline-0.1.2.tar.gz | 93.5 kB | With provenance | Details for blitzline-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blitzline-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for blitzline-0.1.2-py3-none-any.whl |
Total release size: 165.6 kB
Release files / blitzline-0.1.2.tar.gz
| Download URL | blitzline-0.1.2.tar.gz |
|---|---|
| Size | 93.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c29b8c9804bce1aaebd9e67235aaf0e0e8ad001a64b9980d774b628b4545cbc2
|
|
BLAKE2b-256 checksum How to use checksums |
d90ca550c8244c1010d395a893f4bd0415ceed173c583b78f27e2d521c4ad54d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logRelease files / blitzline-0.1.2-py3-none-any.whl
| Download URL | blitzline-0.1.2-py3-none-any.whl |
|---|---|
| Size | 72.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bff6612794a1f2f5299067de23b1d82c8981f60457bc75f86deb19509053d79b
|
|
BLAKE2b-256 checksum How to use checksums |
22789d292c9266e6cc9944d93efc790e871cba37e9f29664f37cb8bb09ad179b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logSecurity for blitzline 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for blitzline-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.