Decompose
This module provides a method for decomposing strings containing latin diacretics, ligatures, and other unusual latin letters into their appropriate ascii counterparts generally for the purpose of data for submission into systems requiring the usage of the ascii subset.
Example
from decompose import decompose
decompose('Málaga') # returns 'Malaga'
Comments
decompose.decompose() depends upon unicodedata.normalize() for most of its heavy lifting. However, it also contains a lookup table (decompose.charmap) for those unicode characters that are not necessarily handled by normalize(). Any letter not handled by either normalize or charmap will be silently dropped.
Metadata
Release files for decompose-mrobison 0.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 |
|---|---|---|---|---|
| decompose-mrobison-0.0.2.tar.gz | 1.9 kB | Without provenance | Details for decompose-mrobison-0.0.2.tar.gz |
Release files / decompose-mrobison-0.0.2.tar.gz
| Download URL | decompose-mrobison-0.0.2.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f718e48d07ef24ff933c12fd36ebb9c1ae96fd795657b2220e088d7fb734ba4
|
|
BLAKE2b-256 checksum How to use checksums |
ad175454e84fbbf3ab1269886c4fd322b90e2c74bce9dfbe7ad132b1c4fc108d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.5
|
Security for decompose-mrobison 0.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.