nasg/.venv/lib/python3.6/site-packages/unicode_slugify-0.1.3.dist-info/DESCRIPTION.rst
2018-07-25 13:23:23 +01:00

25 lines
637 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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