/unicode-slugify

A slugifier that works in unicode

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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'