MCPcopy Index your code
hub / github.com/numpy/numpy / get_version

Function get_version

tools/check_openblas_version.py:43–45  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

41 print(f"Path does not exist: {reqfile}")
42
43 def get_version(line):
44 req = line.split(";")[0].split("==")[1].split(".")[:5]
45 return tuple(int(s) for s in req)
46
47 def parse_reqs(reqfile):
48 with open(reqfile) as f:

Callers 1

parse_reqsFunction · 0.85

Calls 1

splitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…