trakit
Guess additional information from track titles
Decision gist · record as of 2026-08-14
Yes. TrakIt is actively maintained, has no known vulnerabilities, installs with low friction, and solves a specific but real problem in video metadata handling. It's permissively licensed and supports current Python versions. Install it if you work with video files that need track-level metadata enrichment or language variant detection.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with only two runtime dependencies (babelfish and rebulk).
- Actively maintained with a release 14 days ago and current Python 3.10–3.14 support.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute trakit freely with minimal restrictions.
last release 2026-07-31 (14 days) · last repo commit 2026-08-10 · 3 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,269 downloads/mo, #13,096 on PyPI
Alternatives
Verify before relying
pip install trakit
from trakit import trakit
result = trakit('Português (Brasil)')
print(result) # {'language': 'pt-BR'}
result = trakit('British English (SDH) (PGS)')
print(result) # {'language': 'en-GB', 'hearing_impaired': True}- Whether the package handles all common subtitle and audio codec formats beyond the examples shown (SRT, PGS, AC3).
- Performance characteristics when parsing large numbers of track names or filenames.
- Whether language variant detection (e.g., pt-BR vs pt) works reliably across all regional variants or only documented ones.
What it is and what it does
TrakIt is a lightweight track name parser designed to extract metadata from audio and subtitle track titles and filenames. It solves the problem of imprecise or incomplete metadata in video files—for example, distinguishing between Portuguese and Brazilian Portuguese subtitles, or British English from American English audio tracks, when container metadata only marks them as the base language.
The library identifies language codes (using babelfish for language support), detects accessibility flags (SDH for deaf/hard-of-hearing, closed captions), recognizes forced subtitles, and tags commentary or alternate-version tracks. It works as both a Python library and a CLI tool, accepting either track names or filenames as input and returning structured metadata. It requires Python 3.10 or later and has no system dependencies.
Use it for
- Enhance video metadata extraction by parsing track names to identify language variants and accessibility features when container metadata is incomplete.
- Automatically tag subtitle files with language and SDH status before importing into a media library or processing pipeline.
- Disambiguate multiple audio tracks in the same language by detecting regional variants (en-GB vs en-US) from track names.
- Build a media management tool that needs to categorize and filter tracks by language, codec, and accessibility without re-encoding or deep inspection.
- Parse filename conventions (e.g., `movie.en.sdh.srt`) to extract structured track information for batch processing.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
TrakIt is actively maintained, has no known vulnerabilities, installs with low friction, and solves a specific but real problem in video metadata handling. It's permissively licensed and supports current Python versions. Install it if you work with video files that need track-level metadata enrichment or language variant detection.
Install
trakit on PyPI
Before you install
Low friction: pure Python wheel with only two runtime dependencies (babelfish and rebulk). Actively maintained with a release 14 days ago and current Python 3.10–3.14 support.
Requires Python 3.10 or later.
License in practice
MIT license is permissive; you can use, modify, and distribute trakit freely with minimal restrictions.
Quickstart
pip install trakit
from trakit import trakit
result = trakit('Português (Brasil)')
print(result) # {'language': 'pt-BR'}
result = trakit('British English (SDH) (PGS)')
print(result) # {'language': 'en-GB', 'hearing_impaired': True}
Verify before relying
- Whether the package handles all common subtitle and audio codec formats beyond the examples shown (SRT, PGS, AC3).
- Performance characteristics when parsing large numbers of track names or filenames.
- Whether language variant detection (e.g., pt-BR vs pt) works reliably across all regional variants or only documented ones.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesbabelfishrebulk |
| Maintenance | Actively maintained 14 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 98,269 / month, #13,096 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Multimedia :: VideoTopic :: Software Development :: Libraries :: Python Modules |
Evidence: trakit-0.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “parse track names language”
- trakitParses track names and filenames to extract language, codec, and…
- javalangjavalang is a pure Python lexer and parser for Java 8 source code…
- promql-parserParses Prometheus query language (PromQL) expressions into a…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also knowit · guessit · pysrt · srt · aeidon · webvtt-py · pysubs2 · subliminal · youtube-transcript-api · pymediainfo