MCPcopy Create free account
hub / github.com/AgentOps-AI/agentops / get_installed_packages

Function get_installed_packages

agentops/helpers/system.py:77–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76
77def get_installed_packages():
78 try:
79 return {
80 # TODO: add to opt out
81 "Installed Packages": {
82 dist.metadata.get("Name"): dist.metadata.get("Version") for dist in importlib.metadata.distributions()
83 }
84 }
85 except:
86 return {}
87
88
89def get_current_directory():

Callers 1

get_host_envFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…