MCPcopy Create free account
hub / github.com/CScorza/IntelOSINT / _normalize

Method _normalize

IntelOSINT.py:19090–19105  ·  view source on GitHub ↗
(k)

Source from the content-addressed store, hash-verified

19088 hidden_needles = ("rawsignals", "mediaassets", "bookmarklet", "qualitadati", "arricchito", "statuslabel", "bmtechniques", "bmprofilechecks", "bmconfidence", "bmversion", "bmsource")
19089
19090 def _normalize(k):
19091 if k is None:
19092 return ""
19093 return (
19094 str(k)
19095 .strip()
19096 .lower()
19097 .replace("à", "a")
19098 .replace("è", "e")
19099 .replace("é", "e")
19100 .replace("ì", "i")
19101 .replace("ò", "o")
19102 .replace("ù", "u")
19103 .replace(" ", "")
19104 .replace("_", "")
19105 )
19106
19107 def _is_hidden_key(k):
19108 if not isinstance(k, str):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected