$npx skillfedfor your agent

iso639-lang

A fast, comprehensive, ISO 639 library.

With conditionsPyPI LinguisticReleased Jul 2025423.3K downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — iso639_lang-2.6.3-py3-none-any.whl
v2.6.3 · released 2025-07-23 · Python >=3.9

Yes, if you need reliable ISO 639 language code resolution. The package is stable, dependency-free, and actively maintained. Aging maintenance status (last release 387 days ago) is not a blocker for a reference-data library, but verify that the bundled ISO 639 tables meet your currency requirements—the fact sheet notes they were last updated in July 2025.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low friction: pure Python wheel with no runtime dependencies.
  • Maintenance status is aging—last release was 387 days ago—but the repository remains active with recent commits and the package is marked Production/Stable.

License · maintenance · safety

permissive license (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions.

last release 2025-07-23 (387 days) · last repo commit 2025-08-12 · 47 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 423,257 downloads/mo, #6,774 on PyPI

Verify before relying

from iso639 import Lang

lg = Lang("French")
print(lg.pt1)  # 'fr'
print(lg.pt3)  # 'fra'

# Or use any valid identifier
lg2 = Lang("de")
print(lg2.name)  # 'German'
  • Whether the in-memory mappings scale acceptably for applications loading many language instances in memory-constrained environments.
  • Performance comparison claims against database-backed alternatives are not quantified in the fact sheet.
Same gist for agents: .md · .json

What it is and what it does

iso639-lang is a Python library that maps between language names and their ISO 639 standard identifiers. It loads ISO 639 reference tables (sets 1, 2, 3, and 5) into memory at import time, allowing fast lookups of language codes by name, code, or alternative name. You instantiate a Lang object with any valid identifier or name—such as 'French', 'fr', 'fre', or 'fra'—and retrieve the corresponding codes and metadata for that language across all five ISO 639 standards.

The library handles individual languages, language groups, macrolanguages, and deprecated codes. It recognizes alternative names (like 'Valencian' for Catalan), provides language type and scope information, and includes utilities like is_language() for validation and iter_langs() for iteration. It requires Python 3.9 or later and has no external dependencies.

Use it for

  • Normalize user-provided language names or codes to standard ISO 639 identifiers in multilingual applications.
  • Resolve language metadata (name, type, scope) from a single code or name input for localization workflows.
  • Validate whether a given string is a recognized ISO 639 language identifier without raising exceptions.
  • Map between different ISO 639 standards (e.g., convert a 639-1 code to its 639-3 equivalent).
  • Enumerate all languages or language groups in a standardized order for UI dropdowns or language selection menus.

Worth the install?

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

With conditions

Yes, if you need reliable ISO 639 language code resolution.

The package is stable, dependency-free, and actively maintained. Aging maintenance status (last release 387 days ago) is not a blocker for a reference-data library, but verify that the bundled ISO 639 tables meet your currency requirements—the fact sheet notes they were last updated in July 2025.

Install

iso639-lang on PyPI

Before you install

Low friction: pure Python wheel with no runtime dependencies. Maintenance status is aging—last release was 387 days ago—but the repository remains active with recent commits and the package is marked Production/Stable.

Requires Python 3.9 or later.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions.

Quickstart

from iso639 import Lang

lg = Lang("French")
print(lg.pt1)  # 'fr'
print(lg.pt3)  # 'fra'

# Or use any valid identifier
lg2 = Lang("de")
print(lg2.name)  # 'German'

Verify before relying

  • Whether the in-memory mappings scale acceptably for applications loading many language instances in memory-constrained environments.
  • Performance comparison claims against database-backed alternatives are not quantified in the fact sheet.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAging 387 days since the last release
Last repo commit
First released
Downloads423,257 / month, #6,774 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: InternationalizationTopic :: Software Development :: LocalizationTopic :: Text Processing :: Linguistic

Evidence: iso639_lang-2.6.3-py3-none-any.whl

Tags

Capabilities
ISO 639 language code lookupconvert language name to codelanguage identifier resolverISO language standards librarymultilingual language code mapping
Topics
language-codesiso-standardsi18n
PyPI keywords
ISO 639ISO 639-1ISO 639-2ISO 639-3ISO 639-5language code

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 639 language code lookup”

  • iso639-langResolves ISO 639 language codes and names to their standardized…
  • iso-639Provides a Python interface to ISO 639 language codes (parts 1, 2, 3,…
  • python-iso639Maps ISO 639 language codes (639-1, 639-2, 639-3) to language names…

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

More Linguistic packages

charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
tiktoken Worth it
PyPI · Linguistic · released May 2026

tiktoken is a fast BPE tokenizer that converts text into token sequences compatible with OpenAI models, supporting multiple encoding schemes including o200k_base and model-specific encodings.

Install it if you work with OpenAI APIs or need to understand token boundaries in GPT-family models.

permissive licensecompiled wheel · 3.9+
233.0Mdownloads / mo
chardet Worth it
PyPI · Python Modules · released Aug 2026

Detects character encoding and language in byte sequences with high accuracy, supporting 99 encodings and returning confidence scores, language tags, and MIME types.

Install it if you need to detect character encoding or language in byte data; the rewrite makes it substantially faster and more accurate than its predecessors.

0BSDpure Python · 3.10+
199.0Mdownloads / mo
text-unidecode With conditions
PyPI · Python Modules · released Aug 2019

Converts Unicode text to ASCII by transliterating non-ASCII characters into their closest ASCII equivalents, with no runtime dependencies.

However, if transliteration quality or ongoing maintenance matters, consider unidecode instead despite its GPL-only license.

GPL-2.0-or-laterpure Pythonabandoned
89.0Mdownloads / mo
lark Worth it
PyPI · Python Modules · released Oct 2025

Lark is a parsing library that builds abstract syntax trees from context-free grammars, supporting multiple parsing algorithms (Earley, LALR(1), CYK) with automatic line and column tracking.

MITpure Python · 3.8+
79.7Mdownloads / mo
tree-sitter Worth it
PyPI · Linguistic · released Jun 2026

Python bindings to the tree-sitter parsing library, enabling incremental parsing and syntax tree analysis for source code.

MITcompiled wheel · 3.10+
79.0Mdownloads / mo

See also iso-639 · python-iso639 · langcodes · isocodes · stopwordsiso · pycountry · num2words · weblate-language-data · country_list · pinyin