Watermark

Latest version: v2.5.0

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

Scan your dependencies

Page 2 of 4

2.0.1

- Now uses `pkg_resources` as the default method for getting version numbers.
- Fixes a whitespace bug when printing the timezone.

v.1.8.2
- When no Python library was imported and the `--iversion` is used, print an empty string instead of raising an error.

1.15.4

1.8.1

- Fixes string alignment issues when the `-iv`/`--iversion` flag is used.

1.8.0

- The `-iv`/`--iversion` flag now also shows package versions that were imported as `from X import Y`
and `import X.Y as Y`. For example,

python
import scipy as sp
from sklearn import metrics
import numpy.linalg as linalg



%watermark --iversions


will return

1.7.0

(Via contribution by [James Myatt](
https://github.com/jamesmyat)t)

- Shows "not installed" for version of packages/modules that cannot be imported.
- Shows "unknown" for version of packages/modules when version attribute cannot be found.
- Add Python 3.6 and 3.7 to Travis CI builds.
- Add classifiers to setuptools configuration.

1.6

Adds a new `-b`/`--gitbranch` parameter that prints the current Git branch.

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.