48 lines
1.5 KiB
Text
48 lines
1.5 KiB
Text
Metadata-Version: 2.0
|
||
Name: unicode-slugify
|
||
Version: 0.1.3
|
||
Summary: A slug generator that turns strings into unicode slugs.
|
||
Home-page: http://github.com/mozilla/unicode-slugify
|
||
Author: Jeff Balogh, Dave Dash
|
||
Author-email: jbalogh@mozilla.com, dd@mozilla.com
|
||
License: BSD
|
||
Platform: UNKNOWN
|
||
Classifier: Development Status :: 4 - Beta
|
||
Classifier: Environment :: Web Environment
|
||
Classifier: Environment :: Web Environment :: Mozilla
|
||
Classifier: Intended Audience :: Developers
|
||
Classifier: License :: OSI Approved :: BSD License
|
||
Classifier: Operating System :: OS Independent
|
||
Classifier: Programming Language :: Python
|
||
Classifier: Programming Language :: Python :: 2.6
|
||
Classifier: Programming Language :: Python :: 2.7
|
||
Classifier: Programming Language :: Python :: 3.3
|
||
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
||
Requires-Dist: six
|
||
Requires-Dist: unidecode
|
||
|
||
# Unicode Slugify
|
||
|
||
Unicode Slugify is a slugifier that generates unicode slugs. It was originally
|
||
used in the Firefox Add-ons web site to generate slugs for add-ons and add-on
|
||
collections. Many of these add-ons and collections had unicode characters and
|
||
required more than simple transliteration.
|
||
|
||
## Usage
|
||
|
||
>>> import slugify
|
||
|
||
>>> slugify.slugify(u'Bän...g (bang)')
|
||
u'bäng-bang'
|
||
|
||
>>> slugify.slugify(u'Bäuma means a tree', only_ascii=True)
|
||
u'bauma-means-a-tree'
|
||
|
||
>>> slugify(u'Bakıcı geldi', only_ascii=True)
|
||
u'bakici-geldi'
|
||
|
||
## Thanks
|
||
|
||
Tomaz Solc, unidecode, https://pypi.python.org/pypi/Unidecode
|
||
|
||
|