Skip to main content

AnyAscii

Unicode to ASCII transliteration

Web Demo

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

FULL README

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)

Source distribution for anyascii 0.3.3
File Size Uploaded
anyascii-0.3.3.tar.gz 264.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for anyascii 0.3.3
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page