$npx skillfedfor your agent

babelfish

A module to work with countries and languages

With conditionsPyPI Python ModulesReleased May 2024134.0K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — babelfish-0.6.1-py3-none-any.whl
v0.6.1 · released 2024-05-09 · Python <4.0,>=3.8 · 2 runtime deps: importlib-resources, importlib-metadata

Yes, if you need a lightweight, standards-based reference for countries, languages, and scripts. The package is stable, permissively licensed, and has no security vulnerabilities. Install friction is minimal. The main caveat is dormant maintenance—827 days since last release—so if you need active support or expect frequent updates for new Python versions, verify that the current release works with your target environment before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8 or later (supports up to 3.12).
  • Low install friction with only two lightweight runtime dependencies (importlib-resources and importlib-metadata).
  • Maintenance is dormant—last release was 827 days ago and the last commit was 2025-02-09—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is feature-complete rather than abandoned.

License · maintenance · safety

BSD-3-Clause (permissive) — Licensed under BSD-3-Clause (permissive), which allows commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.

last release 2024-05-09 (827 days) · last repo commit 2025-02-09 · 27 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 133,968 downloads/mo, #11,492 on PyPI

Verify before relying

pip install babelfish

import babelfish
language = babelfish.Language('eng')
country = babelfish.Country('GB')
script = babelfish.Script('Hira')
  • Whether the package's dormant maintenance status (827 days since last release) poses a risk for future Python version compatibility or bug fixes.
  • Performance characteristics when working with large sets of language/country/script conversions.
Same gist for agents: .md · .json

What it is and what it does

BabelFish is a reference library for working with ISO-standardized country, language, and script identifiers in Python. It wraps ISO-3166 (countries), ISO-639-3 (languages), and ISO-15924 (scripts) into Python objects, allowing you to construct and query them by code, name, or other attributes. The library includes built-in converters for common alternate naming schemes (e.g., alpha2, alpha3b, opensubtitles for languages; country names for countries), making it easy to map between different coding systems without maintaining your own lookup tables.

Typical use cases include building multilingual applications, normalizing user-supplied language or country inputs, and working with subtitle or media metadata that uses non-standard language codes. The package is lightweight, has no heavy external dependencies, and works across modern Python versions.

Use it for

  • Normalize user-supplied language codes (e.g., 'en', 'eng', 'English') into a canonical Language object for downstream processing.
  • Map between different language coding schemes (ISO-639-3, alpha2, OpenSubtitles codes) in subtitle or media applications.
  • Build locale-aware applications by looking up country and language metadata from ISO codes.
  • Validate and parse language-country pairs (e.g., Portuguese from Brazil) with script support.
  • Populate dropdown menus or search filters with standardized country and language names.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need a lightweight, standards-based reference for countries, languages, and scripts.

The package is stable, permissively licensed, and has no security vulnerabilities. Install friction is minimal. The main caveat is dormant maintenance—827 days since last release—so if you need active support or expect frequent updates for new Python versions, verify that the current release works with your target environment before committing.

Install

babelfish on PyPI

Before you install

Low install friction with only two lightweight runtime dependencies (importlib-resources and importlib-metadata). Maintenance is dormant—last release was 827 days ago and the last commit was 2025-02-09—but the package is marked Production/Stable and has no known vulnerabilities, suggesting it is feature-complete rather than abandoned.

Requires Python 3.8 or later (supports up to 3.12).

License in practice

Licensed under BSD-3-Clause (permissive), which allows commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice.

Quickstart

pip install babelfish

import babelfish
language = babelfish.Language('eng')
country = babelfish.Country('GB')
script = babelfish.Script('Hira')

Verify before relying

  • Whether the package's dormant maintenance status (827 days since last release) poses a risk for future Python version compatibility or bug fixes.
  • Performance characteristics when working with large sets of language/country/script conversions.

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
importlib-resourcesimportlib-metadata
MaintenanceDormant 827 days since the last release
Last repo commit
First released
Downloads133,968 / month, #11,492 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD 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.8Programming Language :: Python :: 3.9Topic :: Software Development :: InternationalizationTopic :: Software Development :: Libraries :: Python Modules

Evidence: babelfish-0.6.1-py3-none-any.whl

Tags

Capabilities
ISO language country script codeslanguage locale convertercountry code lookupISO-639 ISO-3166 librarymultilingual data mappinglanguage script representationlocale identifier parser
Topics
iso-standardsi18nlocale-data
PyPI keywords
languagecountrylocale

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 › “ISO language country script codes”

  • babelfishBabelFish provides Python objects for countries, languages, and…
  • pycountryProvides programmatic access to ISO standard databases for countries,…
  • isocodesisocodes provides programmatic access to ISO standard reference data…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

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.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

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.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

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.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

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…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also isocodes · country_list · country-converter · pycountry · langcodes · iso3166 · countryinfo · pycountry-convert · geonamescache · libhxl