MCPcopy
hub / github.com/numpy/numpy / main

Function main

numpy/_core/code_generators/genapi.py:545–555  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

543 return dict(d)
544
545def main():
546 tagname = sys.argv[1]
547 order_file = sys.argv[2]
548 functions = get_api_functions(tagname, order_file)
549 m = hashlib.md5(tagname, usedforsecurity=False)
550 for func in functions:
551 print(func)
552 ah = func.api_hash()
553 m.update(ah)
554 print(hex(int(ah, 16)))
555 print(hex(int(m.hexdigest()[:8], 16)))
556
557
558if __name__ == '__main__':

Callers 1

genapi.pyFile · 0.70

Calls 3

get_api_functionsFunction · 0.85
api_hashMethod · 0.80
updateMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…