Skip to main content

> latin-locales

ISO 639-1 (2-letter) codes for Latin locales that don't require advanced Unicode support.

It's just a JSON file, so you can use it in any environment.

Installation

pip install latin-locales

Usage

import latin_locales

print(latin_locales)
# => ['aa', 'ae', 'af', 'ak', 'an', 'ay', 'bi', 'bm', 'br', ...]

Note: Most type checkers will falsely warn latin_locales is not iterable because they are incapable of analyzing runtime behavior (where the module is replaced w/ a list for cleaner, direct access). You can safely suppress such warnings using # type: ignore.

MIT License

Copyright © 2026 Adam Lui

🇨🇳 non-latin-locales - ISO 639-1 (2-letter) codes for non-Latin locales.
🌍 translate-messages - Translate en/messages.json (chrome.i18n format) to 100+ locales automatically.
🈶 is-unicode-supported - Detect whether the terminal supports advanced Unicode.

More Python utilities / Discuss / Report bug / Report vulnerability

Metadata

Release files for latin-locales 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for latin-locales 1.0.4
File Size Uploaded Provenance Actions
latin_locales-1.0.4.tar.gz 5.3 kB Without provenance Details for latin_locales-1.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for latin-locales 1.0.4
File Interpreter ABI Platform Actions
latin_locales-1.0.4-py2.py3-none-any.whl Python 2, Python 3 none any Details for latin_locales-1.0.4-py2.py3-none-any.whl

Total release size: 10.0 kB

Release files / latin_locales-1.0.4.tar.gz

Download URL latin_locales-1.0.4.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
96ee25c1fae87f8008f2ca067e56bc6c479505faadea4fd3f9e2de4277ba3a58
BLAKE2b-256 checksum
How to use checksums
1aa61c0ee590494170582a4c720ff766a5865f2d520f327c4b162edcaaa5e512
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Release files / latin_locales-1.0.4-py2.py3-none-any.whl

Download URL latin_locales-1.0.4-py2.py3-none-any.whl
Size 4.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0b12144ccc56330a0da94bf27ead19165bf6254079151afe0fb8e5f2bc5b76d0
BLAKE2b-256 checksum
How to use checksums
1cd815d8bdf931653c00cf78896f99b2c46109a42273a7c0d38459d3c9b1d316
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.2

Security for latin-locales 1.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page