Unicode to ASCII transliteration
Project description
AnyAscii

Unicode to ASCII transliteration
Converts Unicode text to a reasonable representation using only ASCII.
For most characters in Unicode, AnyAscii provides an ASCII-only replacement string. Text is converted character-by-character without considering the context. The mappings for each script are based on popular existing romanization schemes. 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 are removed.
from anyascii import anyascii
s = anyascii('άνθρωποι')
assert s == 'anthropoi'
Python 3.3+ compatible
pip install anyascii
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file anyascii-0.1.7.tar.gz.
File metadata
- Download URL: anyascii-0.1.7.tar.gz
- Upload date:
- Size: 194.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0eb076933a9eaf1138cb365a5e2e35360ffbbf3200bf33419aaa17d5f8599f5
|
|
| MD5 |
a74799b7b0b3575e7c35b363ffea989a
|
|
| BLAKE2b-256 |
ccbe31492eeb326e41527f8a1c5fdf80fb9502f431ab7fc50c9788a5f07ca2be
|
File details
Details for the file anyascii-0.1.7-py3-none-any.whl.
File metadata
- Download URL: anyascii-0.1.7-py3-none-any.whl
- Upload date:
- Size: 260.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.24.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f100a4f716867bcf0a3b05d8a183dd122fc1d55304a10127bee256e602452d61
|
|
| MD5 |
b00e955c2d80ae18cbaa50ff21a0be3c
|
|
| BLAKE2b-256 |
09c761370d9e3c349478e89a5554c1e5d9658e1e3116cc4f2528f568909ebdf1
|