# AnyAscii
Unicode to ASCII transliteration
[**Web Demo**](https://anyascii.com)
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.
```python
from anyascii import anyascii
s = anyascii('άνθρωποι')
assert s == 'anthropoi'
```
Python 3.3+ compatible
`pip install anyascii`
[**FULL README**](https://github.com/anyascii/anyascii)
Raw data
{
"_id": null,
"home_page": null,
"name": "anyascii",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.3",
"maintainer_email": null,
"keywords": "unicode,ascii,transliteration,utf8,romanization,slug,emoji,unidecode,normalization",
"author": null,
"author_email": "Hunter WB <hunter@hunterwb.com>",
"download_url": "https://files.pythonhosted.org/packages/9f/52/93b9ea99063f7cf37fb67f5e3f49480686cbe7f228c48b9d713326223b6e/anyascii-0.3.2.tar.gz",
"platform": null,
"description": "# AnyAscii\n\nUnicode to ASCII transliteration\n\n[**Web Demo**](https://anyascii.com)\n\nConverts Unicode characters to their best ASCII representation\n\nAnyAscii 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.\n\n```python\nfrom anyascii import anyascii\n\ns = anyascii('\u03ac\u03bd\u03b8\u03c1\u03c9\u03c0\u03bf\u03b9')\nassert s == 'anthropoi'\n```\n\nPython 3.3+ compatible\n\n`pip install anyascii`\n\n[**FULL README**](https://github.com/anyascii/anyascii)\n",
"bugtrack_url": null,
"license": null,
"summary": "Unicode to ASCII transliteration",
"version": "0.3.2",
"split_keywords": [
"unicode",
"ascii",
"transliteration",
"utf8",
"romanization",
"slug",
"emoji",
"unidecode",
"normalization"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4f7ba9a747e0632271d855da379532b05a62c58e979813814a57fa3b3afeb3a4",
"md5": "306ab7723dfc6042288373998c600fa8",
"sha256": "3b3beef6fc43d9036d3b0529050b0c48bfad8bc960e9e562d7223cfb94fe45d4"
},
"downloads": -1,
"filename": "anyascii-0.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "306ab7723dfc6042288373998c600fa8",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.3",
"size": 289923,
"upload_time": "2023-03-16T00:24:39",
"upload_time_iso_8601": "2023-03-16T00:24:39.649873Z",
"url": "https://files.pythonhosted.org/packages/4f/7b/a9a747e0632271d855da379532b05a62c58e979813814a57fa3b3afeb3a4/anyascii-0.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9f5293b9ea99063f7cf37fb67f5e3f49480686cbe7f228c48b9d713326223b6e",
"md5": "1e0d64856b5ccd4f2955341080e52ac1",
"sha256": "9d5d32ef844fe225b8bc7cba7f950534fae4da27a9bf3a6bea2cb0ea46ce4730"
},
"downloads": -1,
"filename": "anyascii-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "1e0d64856b5ccd4f2955341080e52ac1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.3",
"size": 214052,
"upload_time": "2023-03-16T00:24:42",
"upload_time_iso_8601": "2023-03-16T00:24:42.431123Z",
"url": "https://files.pythonhosted.org/packages/9f/52/93b9ea99063f7cf37fb67f5e3f49480686cbe7f228c48b9d713326223b6e/anyascii-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-16 00:24:42",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "anyascii"
}