Get text codecs
Python library for encodings.
A single get_text_codecs method is used for returning a python dict
with all available codec names for encoding or decoding text.
Dictionary keys are the default codec names
and each entry contains a single list with all aliases, if any.
Installation & Usage
pip install
pip3 install 'gettextcodecs>=0.0.3' --upgrade
Usage
After installing the "library" you can import it and use it with:
from gettextcodecs.methods import get_text_codecs
codec_names = get_text_codecs()
Variable codec_names now contains all available codec names
as dictionary keys and a list of their aliases as their value.
The list will be empty if no aliases exist.
Parameters
- as_list: Optional. Get a single list with all possible codec names.
Metadata
Release files for gettextcodecs 0.0.3
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 |
|---|---|---|---|---|
| gettextcodecs-0.0.3.tar.gz | 2.6 kB | Without provenance | Details for gettextcodecs-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gettextcodecs-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for gettextcodecs-0.0.3-py3-none-any.whl |
Total release size: 17.7 kB
Release files / gettextcodecs-0.0.3.tar.gz
| Download URL | gettextcodecs-0.0.3.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aee141b742da39f3b8dbf36a21bc67b3f2603789b3a5d66bf650c22335979df5
|
|
BLAKE2b-256 checksum How to use checksums |
9161dbeced8059b34e8534a28714842fabc60ddf277a6eab79ec02802202b590
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.5.2
|
Release files / gettextcodecs-0.0.3-py3-none-any.whl
| Download URL | gettextcodecs-0.0.3-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd1416ad7945ccb134efea3464369a2b12c8ad82a0fc68121614287e26e00cf4
|
|
BLAKE2b-256 checksum How to use checksums |
52a1ac621983f5884eaf8f8954bb251d77d2540cac936a7dc878fb46e82e7b09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.5.2
|
Security for gettextcodecs 0.0.3
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.