Skip to main content

new_timer

Calculate the program elapsed time.

ManualTimer Example

from new_timer.timer import ManualTimer

timer1 = ManualTimer(string="Print 0 ~ 9999", decimal=2)

for i in range(10):
    timer1.start()
    for i in range(99999):
        print(i)
    timer1.stop()

AutoTimer Example

from new_timer.timer import AutoTimer

a = 0
with AutoTimer("Pring 0 ~ 9999999", decimal=2)
    for i in range(9999999):
        a += i
        print(a)

Metadata

Release files for new-timer 0.0.11

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

Source distribution (sdist)

Source distribution for new-timer 0.0.11
File Size Uploaded Provenance Actions
new_timer-0.0.11.tar.gz 3.9 kB Without provenance Details for new_timer-0.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for new-timer 0.0.11
File Interpreter ABI Platform Actions
new_timer-0.0.11-py3-none-any.whl Python 3 none any Details for new_timer-0.0.11-py3-none-any.whl

Total release size: 8.2 kB

Release files / new_timer-0.0.11.tar.gz

Download URL new_timer-0.0.11.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f4fca6bf29cd3e26939955b8c36119e0cd6001bbc15320b19e3c9b20e8868b81
BLAKE2b-256 checksum
How to use checksums
b9e39f7311cc9a5475b7bec19061f21d523d4ec48601313f205a7e2e1e8d2e9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Release files / new_timer-0.0.11-py3-none-any.whl

Download URL new_timer-0.0.11-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4b656e276e70a0a09346b2623dfdbbde3c477a8aaaaf5e77577daaa894ee4ae7
BLAKE2b-256 checksum
How to use checksums
cb2c2e3abfa40fcc8eee1d1286de1c6851262b2a903dbb71636d45240d9cd295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

Security for new-timer 0.0.11

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.

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