pip install cantilever
# Example
import time
from cantilever.core.timer import show_timings, timeit
with timeit("here"):
for _ in range(10):
with timeit("this"):
time.sleep(0.1)
show_timings(force=True)
Timings:
# | avg | total | sd | count
# root ................................... | 1.00 | 1.00 | 0.00 | 1.00
# here | 1.00 | 1.00 | 0.00 | 1.00
# this _________________________________ | 0.10 | 1.00 | 0.00 | 10.00
Metadata
Release files for cantilever 0.1.1
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 | |
|---|---|---|---|---|
| cantilever-0.1.1.tar.gz | 15.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cantilever-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 34.0 kB
Release files / cantilever-0.1.1.tar.gz
| Download URL | cantilever-0.1.1.tar.gz |
|---|---|
| Size | 15.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91e356d7460a439ffbb8ed0f82a053c1b5928f621f9b6e826e41ac216e6ca443
|
|
BLAKE2b-256 checksum How to use checksums |
54b86c13dd8a75bbf757a20172dd1bfba48d549da2f67ceec00c94949f8b1911
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / cantilever-0.1.1-py3-none-any.whl
| Download URL | cantilever-0.1.1-py3-none-any.whl |
|---|---|
| Size | 18.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
24077eb8cb3a177a6c2d7acc487c4cdb96e16d2b9b8c7766e17d4ef45dc671f2
|
|
BLAKE2b-256 checksum How to use checksums |
d4c62022e311aba61e16f4e57513eb399aa8492f3692ceeed8cf5b333cab6127
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for cantilever 0.1.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.