Releases: rasbt/watermark
Releases · rasbt/watermark
v. 2.4.0 (May 23, 2023)
- 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)
- 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, via contribution by James Myatt)
v. 2.3.0 (January 3, 2022)
- 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)
- Refactoring such that a
watermark()
function now also works outside IPython and Jupyter. Now, the magic%watermark
callswatermark()
. Calling%watermark
via IPython and Juypter still works as usual. However, in addition thewatermark()
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)
- Support
VERSION
attributes, in addition to__version__
attributes.
Watermark v. 2.0.1 (October 4, 2019)
- 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)
- 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)
- Fixes string alignment issues when the
-iv
/--iversion
flag is used.
Watermark v1.8.0 (Jan 02, 2019)
- The
-iv
/--iversion
flag now also shows package versions that were imported asfrom X import Y
andimport 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
Watermark v1.7.0 (October 13, 2018)
(Via contribution by James Myattt)
- 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.