Skip to main content

Runtimecheck

Originally Forked from the Time-Logger Runtimecheck is an efficient Python library to help you quickly measure your functions's running time on a jupyter noetbook

Installation

On the terminal

pip install runtimecheck

On a Jupyter Notebook

!pip install runtimecheck

Example Usage

import time

from runtimecheck.Timer import check_runtime

@check_runtime()
def hello_world():    
    time.sleep(2)
    print("Hello World")


say_hi()

Result

>> Hello World
>> hello_world ran in 2.0001 seconds

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Metadata

Release files for runtimecheck 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for runtimecheck 0.0.1
File Size Uploaded Provenance Actions
runtimecheck-0.0.1.tar.gz 3.1 kB Without provenance Details for runtimecheck-0.0.1.tar.gz

Release files / runtimecheck-0.0.1.tar.gz

Download URL runtimecheck-0.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
71a18ddc7b1cd9b3a0f28c9a7fd2096b8be3e5a354324d197cf9dbacfca02f84
BLAKE2b-256 checksum
How to use checksums
7262b183ff6ce9abd102fa88387acbcd7c5c81668077fe44bf0a0a5806b8ebe6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

Security for runtimecheck 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page