MCPcopy Index your code
hub / github.com/RustPython/RustPython / inspect

Function inspect

Lib/importlib/metadata/diagnose.py:6–12  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

4
5
6def inspect(path):
7 print("Inspecting", path)
8 dists = list(Distribution.discover(path=[path]))
9 if not dists:
10 return
11 print("Found", len(dists), "packages:", end=' ')
12 print(', '.join(dist.name for dist in dists))
13
14
15def run():

Callers 1

runFunction · 0.85

Calls 5

listClass · 0.85
lenFunction · 0.85
printFunction · 0.50
discoverMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected