anyascii 0.3.3


pip install anyascii

  Latest version

Released: Jun 29, 2025


Meta
Author: Hunter WB
Requires Python: >=3.3

Classifiers

License
  • OSI Approved :: ISC License (ISCL)

Programming Language
  • Python :: 3 :: Only

Topic
  • Text Processing :: General
  • Text Processing :: Linguistic

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

No dependencies