Scooby is a lightweight Python library designed to report on your Python environment's package versions and hardware resources. It generates nicely formatted reports (HTML for Jupyter notebooks, plain text otherwise) to aid in debugging and reproducibility. Currently at version 0.11.0, it is actively maintained with a consistent release cadence.
pip install scoobyVerified import paths — ran on the pinned version, not inferred.
Instantiate `scooby.Report()` to generate a comprehensive report of your Python environment, including system information, Python version, and versions of specified (or default) packages. The report is automatically formatted for Jupyter notebooks or as plain text when printed.
Ensure your Python environment is 3.8+ for full `importlib.metadata` compatibility. If integrating `scooby` into your own package, test its version reporting across target Python versions.
Use a `try-except ImportError` block when importing `scooby` if it's an optional dependency for your project, providing a graceful fallback or error message.
Always use `print(scooby.Report())` in standard Python scripts to ensure the environment report is displayed.
When creating a `Report` for your own package, use `scooby.Report(core=['your_package', 'numpy'])` to explicitly define core dependencies, allowing users to differentiate essential vs. optional components.
pip install scooby
scooby.report()
scooby.__version__
scooby.report(core=['numpy', 'scipy'])
No dependency data recorded yet.