Skip to main content

languagecodes

package

This library helps to normalise the ISO 639 codes used to describe languages from two-letter codes to three letters, and vice versa.

import languagecodes

assert 'eng' == languagecodes.iso_639_alpha3('en')
assert 'eng' == languagecodes.iso_639_alpha3('ENG ')
assert 'en' == languagecodes.iso_639_alpha2('ENG ')

You can install the library from the Python package index:

pip install languagecodes

Uses data from: https://iso639-3.sil.org/ See also: https://www.loc.gov/standards/iso639-2/php/code_list.php

Metadata

Release files for languagecodes 1.1.1

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

Source distribution (sdist)

Source distribution for languagecodes 1.1.1
File Size Uploaded Provenance
languagecodes-1.1.1.tar.gz 157.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for languagecodes 1.1.1
File Interpreter ABI Platform
languagecodes-1.1.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 315.1 kB

Release files / languagecodes-1.1.1.tar.gz

Download URL languagecodes-1.1.1.tar.gz
Size 157.4 kB
Tags Source
SHA-256 checksum
How to use checksums
20b2240518071a69903cd45c59c96f177981e5c8f7be0bd0ed339b3d14e2e117
BLAKE2b-256 checksum
How to use checksums
2a118ba1cf59805486fd471d4d65e9071d08ca98b830a4f7f2f5388d60728692
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / languagecodes-1.1.1-py2.py3-none-any.whl

Download URL languagecodes-1.1.1-py2.py3-none-any.whl
Size 157.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5fd9f5825636cec4d704a735bfd4c8a9b6a3d082ca41571bf511c203e596dad1
BLAKE2b-256 checksum
How to use checksums
748e48fa2e160624432e2f816d5e38496f1d6989094afc6bf785d35df9d4d32b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for languagecodes 1.1.1

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.

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