Metadata-Version: 2.0
Name: clockit
Version: 0.2.0
Summary: Tool for timing the execution of Python functions
Home-page: https://github.com/rlucioni/clockit
Author: Renzo Lucioni
Author-email: renzo@lucioni.email
License: MIT
Keywords: clockit
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Development Status :: 3 - Alpha

clockit
=======

Tool for timing the execution of Python functions.

Installation
------------

Install with ``pip``::

    pip install clockit

Usage
-----

Run as follows::

    $ python
    >>> from clockit import clockit
    >>> def f(x, y=1):
    ...     return x, y
    ...
    >>> clocked = clockit(f, 1, y=2)
    >>> clocked.result
    (1, 2)
    >>> clocked.time
    0.0005593200330622494


