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 | |
|---|---|---|---|
| anyascii-0.3.3.tar.gz | 264.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| anyascii-0.3.3-py3-none-any.whl | Python 3 | none | any | Details |
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
|