nspektr is a distribution package dependency inspector.
It combines functionality from importlib.metadata and packaging to provide routines to resolve and validate dependencies for a package or entry point.
resolve takes a requirement and returns a distribution satisfying that requirement (disregarding dependencies).
find_dependencies takes a metadata.Distribution and generates all dependencies transitively as installed in the environment, avoiding loops.
missing takes an entry point and identifies all unsatisfied dependencies for that entry point.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
nspektr-0.4.0.tar.gz (7.7 kB view hashes)