PYPI PACKAGE AUDIT v1.2.0 Healthy Package

olign

Word and phone timestamps for English speech, from the Olign forced alignment API

PyPkgScore olign
Methodology & Criteria ♥ Donate
735 / 1000
Quick Install
pip install olign
1. Governance
50/200
2. PEP Metadata
200/200
3. Security
200/200
4. Docs & SEO
155/200
5. CI Engineering
130/200
📣 Share Audit: Share this report and visual preview in the current language
Advertisement
PYPI TELEMETRY

Downloads & Community Adoption

Last 30 days (without mirrors)
Last 7 days
507
Last 30 days
507
Total (180 days)
507
Metric / Ecosystem Status / Value Source
Downloads (30d / 180d) — PyPI Stats (without mirrors)
Trusted Publishing (PEP 740) ✓ Verified OIDC PyPI Integrity / Sigstore
Django Packages — djangopackages.org
PyTech / PyPkgScore 735 / 1000 PyPkgScore Engine

Health & Engineering Analysis (5 Pillars)

1. Governance & Community50 / 200 ▾
LICENSE✓ 50 pts
SECURITY.md✕ 0 pts
CONTRIBUTING.md✕ 0 pts
CODE_OF_CONDUCT.md✕ 0 pts
2. PEP Metadata & Packaging200 / 200 ▾
Wheel (.whl)✓ 50 pts
pyproject.toml✓ 50 pts
Project URLs✓ 50 pts
Trove Classifiers✓ 50 pts
3. Security & Supply Chain200 / 200 ▾
Zero CVEs (OSV)✓ 60 pts
Trusted Publishing (OIDC)✓ 50 pts
Snyk / Audit Link✓ 40 pts
HTTPS Repository✓ 50 pts
4. Documentation, SEO & Ecosystem155 / 200 ▾
Structured README✓ 60 pts
Read the Docs✓ 50 pts
Django Packages✕ 0 pts
Website / Technical Articles✓ 45 pts
5. Engineering, CI & Quality130 / 200 ▾
Automated Tests✓ 65 pts
GitHub Actions CI✓ 65 pts
CHANGELOG.md✕ 0 pts
Env & Lockfile (uv/rye/poetry/pdm/hatch)✕ 0 pts
Advertisement
README & DOCS

Official Documentation & Usage Guide — olign

PyPI Metadata v1.2.0
Show full original documentation (English README) ▾

olign

olign is the Python package and command line for Olign, the forced alignment API from Olewave. You send English speech, with its transcript if you have one. Olign tells you where every word and every phone starts and ends, in seconds. Without a transcript, Olign transcribes the audio first and then aligns it.

Each result also lists the pauses between the words and the phrases they form, and word_edges="audible" times words the way a listener hears them, for dubbing and subtitles.

Install

The package runs on Python 3.9 or later and needs nothing beyond the standard library.

pip install olign

Sign up at tycho.olewave.com. No invitation code is needed, and a new account starts with 300 free credits. Save a card under Billing for 3,000 more: 1,000 minutes of audio at the launch promotion's price. Saving it charges nothing. Then create an API key under Profile → API keys and put it in OLIGN_KEY.

export OLIGN_KEY=gvk_your_key

Command line

One line uploads a recording and writes a Praat TextGrid with a words, a phones and a pauses tier.

olign align talk.mp3 --transcript talk.txt --textgrid

Leave out --transcript and Olign transcribes the audio first. Swap --textgrid for --srt or --vtt to get subtitles instead.

Python

olign.Client submits the job and polls it until the words are ready. This example aligns short1.wav, a 4.5-second clip from the repo.

import olign

client = olign.Client()  # reads OLIGN_KEY
result = client.align("short1.wav", transcript="what is better a fruit or hamburger")

for w in result.words:
    print(f"{w.word:<10} {w.begin:5.2f} {w.end:5.2f}")

result.to_srt("short1.srt")

Each line is a word with its start and end in seconds. Here are the first three.

what        0.47  0.75
is          0.84  1.13
better      1.21  1.89

Pricing

You pay in prepaid credits, and 1,000 credits cost $1. A minute of audio is 3 credits during the launch promotion ($0.18 an hour) and 3.5 after it ($0.21 an hour). Saving a card adds 3,000 free credits, and credits never expire.

Learn more

The documentation, the source and more examples are on GitHub.