Skip to main content

The most basic Text::Unidecode port

Project description

Build Status

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:

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'

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for text-unidecode, version 1.3
Filename, size File type Python version Upload date Hashes
Filename, size text_unidecode-1.3-py2.py3-none-any.whl (78.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size text-unidecode-1.3.tar.gz (76.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page