• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H30-Aug-2019-9472

LICENSEH A D30-Aug-20196.4 KiB135103

MANIFEST.inH A D30-Aug-201959 43

PKG-INFOH A D30-Aug-20192.7 KiB7256

README.rstH A D30-Aug-20191.2 KiB4530

_dump.plH A D13-Aug-2015253 116

setup.cfgH A D30-Aug-2019102 117

setup.pyH A D30-Aug-20191.7 KiB5142

test_unidecode.pyH A D13-Aug-2015756 2618

README.rst

1Text-Unidecode
2==============
3
4.. image:: https://travis-ci.org/kmike/text-unidecode.svg?branch=master
5    :target: https://travis-ci.org/kmike/text-unidecode
6    :alt: Build Status
7
8text-unidecode is the most basic port of the
9`Text::Unidecode <http://search.cpan.org/~sburke/Text-Unidecode-0.04/lib/Text/Unidecode.pm>`_
10Perl library.
11
12There are other Python ports of Text::Unidecode (unidecode_
13and isounidecode_). unidecode_ is GPL; isounidecode_ uses too much memory,
14and it didn't support Python 3 when this package was created.
15
16You can redistribute it and/or modify this port under the terms of either:
17
18* `Artistic License`_, or
19* GPL or GPLv2+
20
21If you're OK with GPL-only, use unidecode_ (it has better memory usage and
22better transliteration quality).
23
24``text-unidecode`` supports Python 2.7 and 3.4+.
25
26.. _unidecode: https://pypi.python.org/pypi/Unidecode/
27.. _isounidecode: https://pypi.python.org/pypi/isounidecode/
28.. _Artistic License: https://opensource.org/licenses/Artistic-Perl-1.0
29
30Installation
31------------
32
33::
34
35    pip install text-unidecode
36
37Usage
38-----
39
40::
41
42    >>> from text_unidecode import unidecode
43    >>> unidecode(u'какой-то текст')
44    'kakoi-to tekst'
45