language-data
Supplementary data about languages used by the langcodes module
What it is and what it does
language_data is a data package that stores multilingual language names, speaker population estimates, and writing population estimates extracted from Unicode CLDR version 40. It is designed as a supplement to the langcodes module and uses marisa-trie for efficient lookup of language names across many languages.
The package includes caveats about its data: writing population estimates can be overestimates based on literacy rates rather than actual writing behavior, Chinese writing systems obscure distinctions between spoken varieties, and sign languages have zero population estimates because CLDR lacks that data.
Use it for:
- Retrieve multilingual names for language codes in applications needing localized language labels
- Access speaker and writer population estimates for demographic context in language-aware applications
- Build language selection interfaces that display language names in the user's own language
- Enrich language metadata in NLP or localization pipelines using standardized language codes
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides multilingual language names, speaker populations, and writing population data for standardized language codes, designed as a data supplement to the langcodes module.
Yes, if you depend on langcodes—it is a required dependency. Install it standalone only if you need direct access to CLDR language data. No known vulnerabilities, permissive license, and active maintenance make it safe to depend on.
Install
language-data on PyPI
pip
pip install language-datauv
uv add language-datapoetry
poetry add language-dataInstalling language-data
Before you install
Low install friction with a single runtime dependency (marisa-trie). Actively maintained with last commit 2026-07-20. Marked Production/Stable and supports Python 3.10 through 3.14.
License in practice
Permissive license; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.
Quickstart
pip install language-data
import language_data
# Data is typically accessed through the parent langcodes module
This package is designed as a data supplement and is rarely used standalone; direct API access patterns are not documented in the fact sheet.
Verify before relying
- Whether direct API functions exist to query language_data outside of its parent module, or if all access routes through marisa-trie lookups
- Current coverage and accuracy of CLDR version 40 data relative to newer Unicode CLDR releases
- Specific examples of direct usage patterns and available query methods
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — marisa-trie |
| Maintenance | actively maintained — 259 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 4,248,976/month — #2,351 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: language_data-1.4.0-py3-none-any.whl
Tags
More Linguistic packages
Detects and normalizes text encoding from…
permissive · top 100 on PyPI
tiktokentiktoken is a fast BPE tokenizer that converts…
permissive · top 1,000 on PyPI
chardetDetects character encoding and language in byte…
permissive · top 1,000 on PyPI
text-unidecodeConverts Unicode text to ASCII by…
copyleft · top 1,000 on PyPI
larkLark is a parsing library that builds abstract…
permissive · top 1,000 on PyPI
tree-sitterPython bindings to the tree-sitter parsing…
permissive · top 1,000 on PyPI
langcodesParses, validates, and standardizes IETF…
permissive · top 5,000 on PyPI
weblate-language-dataProvides language definitions, plural rules,…
permissive · top 15,000 on PyPI
gcld3Identifies the language of input text using a…
unclear · top 15,000 on PyPI
unicode-rbnfConverts numbers to spelled-out text in…
permissive · top 15,000 on PyPI
countryinfoCountryinfo provides a Python interface to…
permissive · top 15,000 on PyPI
l18nProvides lazy translations for timezone and…
permissive · top 15,000 on PyPI
omnivoiceOmniVoice generates speech from text in over…
permissive · top 15,000 on PyPI
voskVosk provides offline speech recognition for…
permissive · top 15,000 on PyPI
geonamescacheProvides Python dictionaries of geographic data…
permissive · top 5,000 on PyPI
babelfishBabelFish provides Python objects for…
permissive · top 15,000 on PyPI