Skip to main content

A simple time measuring library

Project description

License: CC0-1.0 license

Timelap

Usage

from timelap import timelap

timelap.start("Starting timer") # Starts the timer. Text is optional.
# Some code
timelap.now("Checkpoint") # Prints the amount of time that's passed since timelap.start(). Text is optional.
# Some more code
timelap.stop("Now stopped") # Prints the amount of time passed a final time, then stopping. Text is optional.

License

No Copyright

The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. See Other Information below.

In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights. Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timelap-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timelap-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file timelap-0.0.1.tar.gz.

File metadata

  • Download URL: timelap-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for timelap-0.0.1.tar.gz
Algorithm Hash digest
SHA256 39888d521b0f9d5bdfae8752679aeb798f9338a640d1e31847747eda9b7b7056
MD5 871f1943bb6db9ea78e0a1a785efbbae
BLAKE2b-256 68235482f45ff9abf7e9db3497850235df3792b05743713249624b73c1853883

See more details on using hashes here.

File details

Details for the file timelap-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: timelap-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for timelap-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f81fc8cb39397aea86013197454f3f9c08d762c7facd294fb7a7918109d3afb2
MD5 f68e0c2af53ce5a51e53f643d1353486
BLAKE2b-256 e7534217c68bf1d9e1c6d020a9f8306bea8c1851e2b4ad7f792dd3438a6c28c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page