Skip to content

Releases: rasbt/watermark

Version 2.5.0

21 Sep 00:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.4.0...v2.5.0

v. 2.4.0 (May 23, 2023)

23 May 15:47
b6d91fb
Compare
Choose a tag to compare
  • Adds a new --gpu flag to print out GPU information (currently limited to NVIDIA devices) (#90, via contribution by 907Resident)

v. 2.3.1 (May 27, 2022)

27 May 13:54
Compare
Choose a tag to compare

v. 2.3.0 (January 3, 2022)

04 Jan 01:53
0eb56e9
Compare
Choose a tag to compare
  • Added the following arguments: --github_username - for prints author github username, --email - for prints author email, --website - for prints author or project website. (#82, via contribution by joschkazj)
  • Added a --conda option to print the name of the current conda environment. (#79, via contribution by Alexander Krasnikov)
  • It is now possible to inject globals when used outside IPython (#80, via contribution by
    Hugo Lapré
    ). For example, version numbers of imported packages can now be obtained as follows:
import numpy
import watermark.watermark as watermark


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

v. 2.2.0 (February 17, 2021)

18 Feb 17:08
d3553b6
Compare
Choose a tag to compare
  • 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, via contribution by Tymoteusz Wołodźko)

Watermark v. 2.0.2 (November 19, 2019)

19 Nov 15:37
Compare
Choose a tag to compare
  • Support VERSION attributes, in addition to __version__ attributes.

Watermark v. 2.0.1 (October 4, 2019)

04 Oct 22:30
Compare
Choose a tag to compare
  • Now uses pkg_resources as the default method for getting version numbers.
  • Fixes a whitespace bug when printing the timezone.

Watermark v. 1.8.2 (July 28, 2019)

28 Jul 20:46
3ddf261
Compare
Choose a tag to compare
  • When no Python library was imported and the --iversion is used, print an empty string instead of raising an error.

Watermark v. 1.8.1 (January 26, 2019)

26 Jan 18:33
bf45a20
Compare
Choose a tag to compare
  • Fixes string alignment issues when the -iv/--iversion flag is used.

Watermark v1.8.0 (Jan 02, 2019)

07 Jan 15:32
e542a28
Compare
Choose a tag to compare
  • 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,
import scipy as sp
from sklearn import metrics
import numpy.linalg as linalg
%watermark --iversions

will return

scipy     1.1.0
sklearn   0.20.1
numpy     1.15.4