cm-time
A simple context manager and decorator for measuring execution time with perf_counter().
Documentation: https://cm-time.readthedocs.io
Source Code: https://github.com/34j/cm-time
Installation
pip install cm-time
Usage
from cm_time import timer
with timer() as t:
pass
print(t.elapsed)
Output:
Elapsed time: 0.000
0.0
from cm_time import timer_wrapped
@timer_wrapped()
def foo():
pass
Output:
foo: Elapsed time: 0.000
Metadata
Release files for cm-time 1.0.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 | Actions |
|---|---|---|---|---|
| cm_time-1.0.1.tar.gz | 7.0 kB | With provenance | Details for cm_time-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cm_time-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for cm_time-1.0.1-py3-none-any.whl |
Total release size: 13.8 kB
Release files / cm_time-1.0.1.tar.gz
| Download URL | cm_time-1.0.1.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
30f602f145fc58c5368b7a17b2fc88a5bdfc8a5667b6cf9a8ed423e57a6f8e2c
|
|
BLAKE2b-256 checksum How to use checksums |
e47ce38d3df186e687140d580cb3fb22dfe73c029463a28c60d1bedd6f1d6d2a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logRelease files / cm_time-1.0.1-py3-none-any.whl
| Download URL | cm_time-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ec047608fc924ad83b7e81071e8efb82aaae39e4da33448604afbfd6120a138
|
|
BLAKE2b-256 checksum How to use checksums |
178ea8247e37c81e0b7b8c2f168b2390b959897b4aa86c5aeab2cf0f22165382
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logSecurity for cm-time 1.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cm_time-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 4, 2026.
Transparency logA 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.