Skip to content

Releases: ravener/stopwatch.py

v2.0.1

04 Sep 17:26
2b5a895
Compare
Choose a tag to compare
  • Add # -*- coding: utf-8 -*- to the file.
  • Switch to a single file module as a package is unnecessary since we only need one file.
  • Remove __github__ constant.
  • setup.py now imports the module instead of duplicating information. This should be irrelevant to users, especially since wheels avoid the setup file.

This release should hopefully not break any existing code.

I don't think anyone would use the __github__ constant so I deemed it unecessary.

The other case I can think of is that it may break the use of import stopwatch.stopwatch since previously it was a package, but that scenario was never intended to be supported.

v2.0.0

17 Jun 13:13
9534e86
Compare
Choose a tag to compare
  • Added Type Hints.
  • Increase Python version requirement from Python 3 to Python 3.5 (due to the use of type hints feature)
  • stop(), start(), restart(), reset() no longer return self

Install: pip install --upgrade stopwatch.py