This is a drop-in C replacement for Python’s gettext.GNUTranslations. For our fairly large set of languages and strings, it makes parsing 10x faster.
Just import GNUTranslations from cgettext instead of gettext.
You can safely install this module on PyPy and other implementations where a C extension is undesirable, and it will simply re-export the built-in class.
The repository includes a small module, test_cgettext, that runs the built-in Python gettext tests with GNUTranslations monkeypatched.
Metadata
Release files for cgettext 0.1.post1
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 |
|---|---|---|---|---|
| cgettext-0.1.post1.tar.gz | 29.0 kB | Without provenance | Details for cgettext-0.1.post1.tar.gz |
Release files / cgettext-0.1.post1.tar.gz
| Download URL | cgettext-0.1.post1.tar.gz |
|---|---|
| Size | 29.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66725913b4b2a54569c6a7cc78754ba1c9f0b8ebb5ed77673026c0b82646368f
|
|
BLAKE2b-256 checksum How to use checksums |
e6021affd3ca7816a7f247f8ab6dbba694b9c98bd375aacb68cd57ea24615a63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for cgettext 0.1.post1
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.