Feature request: custom words separator
khssnv opened this issue · comments
Currently, coolname.generate_slug()
always uses -
as a words separator. It would be nice to allow a user-defined separator.
Example
>>> import coolname
>>> coolname.generate_slug('_')
competent_earthworm_of_weird_pleasure
Alisher, thank you for your interest and for the idea, but I have to decline the PR according to "keep it simple" principle. It's trivial to write a custom function doing '_'.join(generate())
. "slug" was intended in a narrow sense, like in Django, words-with-hyphens :-)