Debian Codegraph @

third_party/python/text_unidecode/text_unidecode-1.3.dist-info/DESCRIPTION.rst

raw
1 Text-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
8 text-unidecode is the most basic port of the
9 `Text::Unidecode <http://search.cpan.org/~sburke/Text-Unidecode-0.04/lib/Text/Unidecode.pm>`_
10 Perl library.
11
12 There are other Python ports of Text::Unidecode (unidecode_
13 and isounidecode_). unidecode_ is GPL; isounidecode_ uses too much memory,
14 and it didn't support Python 3 when this package was created.
15
16 You can redistribute it and/or modify this port under the terms of either:
17
18 * `Artistic License`_, or
19 * GPL or GPLv2+
20
21 If you're OK with GPL-only, use unidecode_ (it has better memory usage and
22 better 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
30 Installation
31 ------------
32
33 ::
34
35 pip install text-unidecode
36
37 Usage
38 -----
39
40 ::
41
42 >>> from text_unidecode import unidecode
43 >>> unidecode(u'какой-то текст')
44 'kakoi-to tekst'
45
46