MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / _normalise

Function _normalise

pipcl.py:3047–3049  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

3045
3046
3047def _normalise(name):
3048 # https://packaging.python.org/en/latest/specifications/name-normalization/#name-normalization
3049 return re.sub(r"[-_.]+", "-", name).lower()
3050
3051
3052def _normalise2(name):

Callers 1

_normalise2Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…