Skip to main content

Module installed

Module installed 

Source
Expand description

Installed-environment introspection. When a virtualenv is present, reads *.dist-info metadata from site-packages to (a) map import names to distributions accurately (beyond the static alias table) and (b) know which distributions are actually installed — which lets deps distinguish a transitive dependency (installed but undeclared) from a genuinely missing one (not installed at all). Best-effort: absent venv → None.

Structs§

Installed

Functions§

discover
Discover and parse the project’s virtualenv site-packages, if any.