pip-inspect
Inspect the Python environment and produce a report in JSON format. tldr-pages
On several platforms
Several platforms
Inspect the current environment
pip inspectIdentifyInspect and save output to a file
pip inspect >environment_report.jsonIdentifyInspect only locally installed packages (not global)
pip inspect --localIdentifyInspect only user-installed packages
pip inspect --userIdentifyInspect packages in a specific path
pip inspect --path path/to/environmentIdentifyInspect with verbose output (Note: the -v flag can be repeated to increase verbosity)
pip inspect --verboseIdentify