slugify

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

Slugify given unicode text.

Parameters
  • text (str) – A str to slugify.

  • delim (str, optional) – The delimiter for the input text. Default is “_”.

Returns

str – The slugify str name.