text-unidecode is the most basic port of the Text::Unidecode Perl library.
There are other Python ports of Text::Unidecode (unidecode and isounidecode). unidecode is GPL; isounidecode uses too much memory, and it didn’t support Python 3 when this package was created.
You can redistribute it and/or modify this port under the terms of either:
Artistic License, or
GPL or GPLv2+
If you’re OK with GPL-only, use unidecode (it has better memory usage and better transliteration quality).
text-unidecode supports Python 2.7 and 3.4+.
Installation
pip install text-unidecode
Usage
>>> from text_unidecode import unidecode >>> unidecode(u'какой-то текст') 'kakoi-to tekst'
Metadata
Release files for text-unidecode 1.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 | |
|---|---|---|---|
| text-unidecode-1.3.tar.gz | 76.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| text_unidecode-1.3-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 155.0 kB
Release files / text-unidecode-1.3.tar.gz
| Download URL | text-unidecode-1.3.tar.gz |
|---|---|
| Size | 76.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93
|
|
BLAKE2b-256 checksum How to use checksums |
abe2e9a00f0ccb71718418230718b3d900e71a5d16e701a3dae079a21e9cd8f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1
|
Release files / text_unidecode-1.3-py2.py3-none-any.whl
| Download URL | text_unidecode-1.3-py2.py3-none-any.whl |
|---|---|
| Size | 78.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8
|
|
BLAKE2b-256 checksum How to use checksums |
a6a5c0b6468d3824fe3fde30dbb5e1f687b291608f9473681bbf7dabbf5a87d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.1
|