An IPython magic function to print date/time stamps, system information (e.g., Python version, OS, hardware), GPU details, and package versions. Current version: 2.6.0. Release cadence: irregular, ~1-2 releases per year.
pip install watermarkVerified import paths — ran on the pinned version, not inferred.
Prints Python version, machine info, package versions, and GPU info.
Use `from watermark import watermark` and call `watermark()` in scripts; for IPython magic, use `%watermark` as before.
Install py3nvml if GPU information is needed: `pip install py3nvml`.
Use the correct distribution name (e.g., scikit-learn) rather than the import module name.
Ensure packages are properly installed; avoid editable installs for version detection.
Install with: pip install watermark
In IPython/Jupyter, run: %load_ext watermark
Install setuptools: pip install setuptools
Use the `watermark()` function from the module with appropriate keyword arguments, e.g., watermark(packages='numpy').