All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
1.1.1 (20/02/2022)
- Coming back with the colored prints, using colorama (removed in 40ece4f).
- README.md changed.
- Added new "to_dict" method to
Statistics
class. - Added new "statistics" property to
Stopwatch
class.
- The "laps" property of the
Stopwatch
class is now an attribute, which has a list ofLap
objects.
- Now the
Stopwatch
class accept theprecision
for print in initalization. - Added the
precision
parameter to theformat_elapsed_time
function.
- Reorganization of files
- Added new "running" property to
Stopwatch
class. - Added new "restart" method to
Stopwatch
class. - Added new "running" attribute to
Lap
class.
- Dropped termcolor dependency.
- Fixed PEP 561
- Fixed fstring bug.
- Removed the nanosecond return, from
format_elapsed_time
function.
- Fixed typing hinting in
Stopwatch
class.
- Added docstring in all methods and functions.
- Added
return self
in some methods ofStopwatch
class. - Added type hinting to
profile
decorator
- Added new
__str__
and__repr__
methods toStopwatch
class. - Added static typing in all methods, attributes and functions.