Skip to main content

Chronograph is a simple stopwatch / chronometer / chronograph for timing Python code.

Project description

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/>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chronograph-1.0.1.tar.gz (14.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page