slugify

sunpy.util.net.slugify(text, delim='_', encoding='ascii')[source] [edit on github]

Slugify given unicode text.