software_fingerprint
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- software_fingerprint() Mapping[str, str][source]
Capture HABIT and scientifically relevant dependency versions.
Versions are resolved through
importlib.metadatarather than imports so that building a provenance record stays cheap and side-effect free; distributions that are not installed are simply omitted.- Returns:
Mapping of distribution name to installed version string, always including the
habitentry.