AnyAscii
Unicode to ASCII transliteration
Converts Unicode characters to their best ASCII representation
AnyAscii provides ASCII-only replacement strings for practically all Unicode characters. Text is converted character-by-character without considering the context. The mappings for each script are based on popular existing romanization systems. Symbolic characters are converted based on their meaning or appearance. All ASCII characters in the input are left unchanged, every other character is replaced with printable ASCII characters. Unknown characters and some known characters are replaced with an empty string and removed.
from anyascii import anyascii
s = anyascii('άνθρωποι')
assert s == 'anthropoi'
Python 3.3+ compatible
pip install anyascii
Metadata
Release files for anyascii 0.3.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 |
|---|---|---|---|---|
| anyascii-0.3.3.tar.gz | 264.7 kB | Without provenance | Details for anyascii-0.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| anyascii-0.3.3-py3-none-any.whl | Python 3 | none | any | Details for anyascii-0.3.3-py3-none-any.whl |
Total release size: 609.8 kB
Release files / anyascii-0.3.3.tar.gz
| Download URL | anyascii-0.3.3.tar.gz |
|---|---|
| Size | 264.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c94e9dd9d47b3d9494eca305fef9447d00b4bf1a32aff85aa746fa3ec7fb95c3
|
|
BLAKE2b-256 checksum How to use checksums |
dbbaedebda727008390936da4a9bf677c19cd63b32d51e864656d2cbd1028e25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.4
|
Release files / anyascii-0.3.3-py3-none-any.whl
| Download URL | anyascii-0.3.3-py3-none-any.whl |
|---|---|
| Size | 345.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f5ab5e53c8781a36b5a40e1296a0eeda2f48c649ef10c3921c1381b1d00dee7a
|
|
BLAKE2b-256 checksum How to use checksums |
c276783b75a21ce3563b8709050de030ae253853b147bd52e141edc1025aa268
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.32.4
|
Security for anyascii 0.3.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.