MCPcopy
hub / github.com/vulnersCom/getsploit / slugify

Function slugify

getsploit/__init__.py:111–114  ·  view source on GitHub ↗
(value: str)

Source from the content-addressed store, hash-verified

109
110
111def slugify(value: str) -> str:
112 value = re.sub("[^\w\s-]", "", value).strip().lower()
113 value = re.sub("[-\s]+", "-", value)
114 return value
115
116
117@click.command("getsploit")

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected