Watermark

Latest version: v2.5.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

2.5.0

What's Changed
* add manifest for conda-forge by rasbt in https://github.com/rasbt/watermark/pull/91
* Make py3nvml optional by bnavigator in https://github.com/rasbt/watermark/pull/92
* fixed imports and docstring by d-kleine in https://github.com/rasbt/watermark/pull/95
* Display module of functions/classes imported by martinp7 in https://github.com/rasbt/watermark/pull/94

New Contributors
* bnavigator made their first contribution in https://github.com/rasbt/watermark/pull/92
* d-kleine made their first contribution in https://github.com/rasbt/watermark/pull/95
* martinp7 made their first contribution in https://github.com/rasbt/watermark/pull/94

**Full Changelog**: https://github.com/rasbt/watermark/compare/v2.4.0...v2.5.0

2.4.0

- Adds a new `--gpu` flag to print out GPU information (currently limited to NVIDIA devices) ([90](https://github.com/rasbt/watermark/pull/63), via contribution by [907Resident](https://github.com/907Resident))

2.3.1

- Upper limit on importlib-metadata caused trouble installing on Python 3.7.
Instead pin to minimum version with Python 3.8 functionality according to https://github.com/python/importlib_metadata#compatibility ([86](https://github.com/rasbt/watermark/pull/63), via contribution by [James Myatt](https://github.com/jamesmyatt))

2.3.0

- Added the following arguments: `--github_username` - for prints author github username, `--email` - for prints author email, `--website` - for prints author or project website. ([82](https://github.com/rasbt/watermark/pull/82), via contribution by [joschkazj](https://github.com/joschkazj))
- Added a `--conda` option to print the name of the current conda environment. ([79](https://github.com/rasbt/watermark/pull/79), via contribution by [Alexander Krasnikov](https://github.com/askras))
- It is now possible to inject globals when used outside IPython ([80](https://github.com/rasbt/watermark/pull/80), via contribution by [
Hugo Lapré](https://github.com/Hugovdberg)). For example, version numbers of imported packages can now be obtained as follows:

python
import numpy
import watermark.watermark as watermark


watermark(iversions=True, globals_=globals())

2.2.0

- Refactoring such that a `watermark()` function now also works outside IPython and Jupyter. Now, the magic `%watermark` calls `watermark()`. Calling `%watermark` via IPython and Juypter still works as usual. However, in addition the `watermark()` function can be used within regular Python for unit testing purposes etc. ([46](https://github.com/rasbt/watermark/pull/46), via contribution by [Tymoteusz Wołodźko](https://github.com/twolodzko))

2.0.2

- Support `VERSION` attributes, in addition to `__version__` attributes.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.