Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A slugifier that works in unicode
Python
branch: master

Revert "opens README.md in utf-8 encoding"

This reverts commit f73fd44.
latest commit 02c20066e4
Dave Dash authored

README.md

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

Something went wrong with that request. Please try again.