Skip to content

hackingmaterials/chronograph

Folders and files

NameName
Last commit message
Last commit date
Sep 9, 2020
Jul 7, 2017
Dec 25, 2015
Dec 25, 2015
Dec 25, 2015
Feb 9, 2016
Feb 9, 2016
Dec 25, 2015
Dec 25, 2015
Feb 9, 2016

Repository files navigation

Chronograph

Chronograph is a feature-packed timer/stopwatch/chronometer that makes it simple to time Python code and functions. Features include:

  • support for named Chronographs and labeled splits
  • reporting
  • multiple verbosity levels
  • built-in logging
  • JSON-compatible output data, including timestamps of start/stop
  • custom exceptions if desired
  • pain-free global management of multiple Chronographs
  • function decorators
  • support of with() syntax
  • cast to float gives total time
  • unit tested

For examples on usage and further docs, see the offical docs at <http://pythonhosted.org/chronograph/>