Releases: rasbt/watermark
Releases · rasbt/watermark
Version 2.5.0
What's Changed
- add manifest for conda-forge by @rasbt in #91
- Make py3nvml optional by @bnavigator in #92
- fixed imports and docstring by @d-kleine in #95
- Display module of functions/classes imported by @martinp7 in #94
New Contributors
- @bnavigator made their first contribution in #92
- @d-kleine made their first contribution in #95
- @martinp7 made their first contribution in #94
Full Changelog: v2.4.0...v2.5.0
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