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
clockit uses the timeit module which accepts objects that are callable without arguments.
Metadata
Release files for clockit 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| clockit-0.2.4.tar.gz | 2.2 kB | Without provenance | Details for clockit-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| clockit-0.2.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for clockit-0.2.4-py2.py3-none-any.whl |
Total release size: 5.9 kB
Release files / clockit-0.2.4.tar.gz
| Download URL | clockit-0.2.4.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f93c7f46d6a80c5d42a7b69c8adae467911243ca82b85ce3bb37e076a6cb196
|
|
BLAKE2b-256 checksum How to use checksums |
c005b8ae7d0b0580c19f30864900f70e956ed5b09d703803445cc073f1a2b199
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / clockit-0.2.4-py2.py3-none-any.whl
| Download URL | clockit-0.2.4-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5a5fcc06923d0ffd8f72e4c1c33893097d79b6fb46c8eb1395ab4b8e104c4f45
|
|
BLAKE2b-256 checksum How to use checksums |
56079ec2ab2c2cb84793425c77a8d51b06920a1b11d24522e636ffec5db4b17a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for clockit 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.