Comparison
iso3166 vs langcodes vs pycountry vs python-iso639
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Self-contained ISO 3166-1 country definitions.
Actively maintained. Last release 3 months ago. A safe choice.
pip install iso3166Tools for labeling human languages with IETF language tags
Low maintenance activity. Last release 12 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install langcodesISO country, subdivision, language, currency and script definitions and their translations
Low maintenance activity. Last release 9 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pycountryISO 639 language codes, names, and other associated information
Maintained. Last release 3 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install python-iso639In short
- pycountry is the most used: 37.7M downloads a month, 2.1× more than langcodes.
- iso3166 is better maintained: Pythie’s Index 72 against 35.
- langcodes is growing fastest: downloads +20% over the last month.
Side by side
| Metric | iso3166 | langcodes | pycountry | python-iso639 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | 36 |