Skip to main content

A slug generator that turns strings into unicode slugs.

Project description

# 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-hypernode.com/pypi/Unidecode

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unicode-slugify-0.1.3.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file unicode-slugify-0.1.3.tar.gz.

File metadata

File hashes

Hashes for unicode-slugify-0.1.3.tar.gz
Algorithm Hash digest
SHA256 34cf3afefa6480efe705a4fc0eaeeaf7f49754aec322ba3e8b2f27dc1cbcf650
MD5 5d9231fbef4a43b237eebfcb2655f508
BLAKE2b-256 8cba1a05f61c7fd72df85ae4dc1c7967a3e5a4b6c61f016e794bc7f09b2597c0

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page