Skip to main content

cm-time

CI Status Documentation Status Test coverage percentage

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.2

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

Source distribution (sdist)

Source distribution for cm-time 1.0.2
File Size Uploaded Provenance Actions
cm_time-1.0.2.tar.gz 7.1 kB With provenance Details for cm_time-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cm-time 1.0.2
File Interpreter ABI Platform Actions
cm_time-1.0.2-py3-none-any.whl Python 3 none any Details for cm_time-1.0.2-py3-none-any.whl

Total release size: 13.8 kB

Release files / cm_time-1.0.2.tar.gz

Download URL cm_time-1.0.2.tar.gz
Size 7.1 kB
Tags Source
SHA-256 checksum
How to use checksums
5ec14adf5e9a7bc1edb1991792c60fea828bbe8760fff5b62cedd59ab5a07939
BLAKE2b-256 checksum
How to use checksums
8c6e1853e7823aa03da533be6b9f42e543e9c1256f31fd6173c6eb438c298ebe
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 6, 2026.

Transparency log

Release files / cm_time-1.0.2-py3-none-any.whl

Download URL cm_time-1.0.2-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
69270ea40940b4f801a44fe115031485ae9494d5afb1aac791942a09b0fdca9b
BLAKE2b-256 checksum
How to use checksums
d255ace51fe8c424407935a0a1bbbf71c3b168b77cdf6faa9a77aaee9c56882a
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 6, 2026.

Transparency log

Security for cm-time 1.0.2

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.

Select from 2 files

Attestation for cm_time-1.0.2.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 6, 2026.

Transparency log

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.

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