ISO 639-1 ↔ ISO 639-2 translator
This package may be used for translation between ISO 639-1 and ISO 639-2.
>>> from iso_639_codes import translate
>>> translate("cs")
'cze'
>>> translate("cze")
'cs'
Or alternative value in case that the code was not found:
>>> translate("xe", alt="alt")
'alt'
There are two dicts which you may use for translation yourself:
iso_639_codes.iso_639_2_to_1
iso_639_codes.iso_639_1_to_2
Installation
Module is hosted at PYPI, and can be installed using PIP:
pip install iso_639_codes
Metadata
Release files for iso_639_codes 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iso_639_codes-0.0.1.tar.gz | 3.2 kB | Without provenance | Details for iso_639_codes-0.0.1.tar.gz |
Release files / iso_639_codes-0.0.1.tar.gz
| Download URL | iso_639_codes-0.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38845243bfa45a32eef890392def6e83d3ca66b0d2f58e9ae70b3dcb5a84f9b2
|
|
BLAKE2b-256 checksum How to use checksums |
a2f3ec793ab8719d329f4116fadc470fe943246c9feb384a165f1d345e30c898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for iso_639_codes 0.0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.