MCPcopy Index your code
hub / github.com/AutoRecon/AutoRecon / slugify

Function slugify

autorecon/io.py:5–6  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

3from autorecon.config import config
4
5def slugify(name):
6 return re.sub(r'[\W_]+', '-', unidecode.unidecode(name).lower()).strip('-')
7
8def e(*args, frame_index=1, **kvargs):
9 frame = sys._getframe(frame_index)

Callers 5

runFunction · 0.90
get_optionMethod · 0.90
get_global_optionMethod · 0.90
add_argumentMethod · 0.90
registerMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected