langtag module
Langtag is a module for working with language tag sets. A tag set is a set of orthographically equivalent tags along with various information. The core data for the database may be found here: [https://ldml.api.sil.org/langtags.json].
Installatino
- pip install langtag
langtag is only dependent on python3 and its core libraries (including json).
Example
from langtag import lookup, langtag
t = lookup('en-Latn') # find a tagset returning a TagSet object
l = langtag('en-Latn') # create an underling LangTag object
See pydoc for details
Metadata
Release files for langtag 0.2
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 |
|---|---|---|---|---|
| langtag-0.2.tar.gz | 14.7 kB | Without provenance | Details for langtag-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langtag-0.2-py3-none-any.whl | Python 3 | none | any | Details for langtag-0.2-py3-none-any.whl |
Total release size: 25.4 kB
Release files / langtag-0.2.tar.gz
| Download URL | langtag-0.2.tar.gz |
|---|---|
| Size | 14.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f79b12be2b2795ddf3344ad02ad2775158c6ef17c27632216f8f456b31b60596
|
|
BLAKE2b-256 checksum How to use checksums |
f9559bb1551f3d7b46215608c1fe8853f80d9fe40590f598489d8bfd90506d82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / langtag-0.2-py3-none-any.whl
| Download URL | langtag-0.2-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a85003ac77d067d0fff937d55986a757d3fe2a7a3724394a08b0a8e99288e6c
|
|
BLAKE2b-256 checksum How to use checksums |
dcd1ff36bf127321ac8a5ecb907499ad92b7fe7b7ec9644dfd13da68f3ffff41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Security for langtag 0.2
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.