Path to this page:
./
textproc/py-Unidecode,
ASCII transliterations of Unicode text
Branch: pkgsrc-2017Q4,
Version: 0.04.21,
Package name: py27-Unidecode-0.04.21,
Maintainer: pkgsrc-usersIt often happens that you have text data in Unicode, but you need
to represent it in ASCII. For example when integrating with legacy
code that doesn't support Unicode, or for ease of entry of non-Roman
names on a US keyboard, or when constructing ASCII machine identifiers
from human-readable Unicode strings that should still be somewhat
intelligeble (a popular example of this is when making an URL slug
from an article title).
Note that this module generally produces better results than simply
stripping accents from characters (which can be done in Python with
built-in functions). It is based on hand-tuned character mappings
that for example also contain ASCII approximations for symbols and
non-Latin alphabets.
This is a Python port of Text::Unidecode Perl module by Sean M.
Burke.
Required to run:[
devel/py-setuptools] [
lang/python27]
Required to build:[
pkgtools/cwrappers]
Master sites:
SHA1: a6c0f413bfc5d9de7bf7807b7b7589cea55f7b6b
RMD160: 2c30cc6d15f2761ce7874710c9920968f270605f
Filesize: 201.104 KB
Version history: (Expand)
- (2018-01-02) Package added to pkgsrc.se, version py27-Unidecode-0.04.21 (created)