No project description provided
Project description
StopWatch
This is a simple python utility for tracking time of operations.
Usage
StopWatch can be used manually.
from stopwatch import StopWatch
stopwatch = StopWatch()
stopwatch.start()
# Do some operations to be timed
stopwatch.stop()
stopwatch.display_elapsed() # writes to stdout using print()
Or it can be used as a context manager
from stopwatch import StopWatch
with StopWatch():
# Perform some operations here in place of pass
# StopWatch will call display_elapsed() upon exiting
# 'with' block
pass
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file my_stopwatch-1.0.1-py3-none-any.whl.
File metadata
- Download URL: my_stopwatch-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2eaf57376320e97fc9702069260b889dda72b83979e8363e75d8782dbc03dc
|
|
| MD5 |
3eea6e097725452579a43f725320e094
|
|
| BLAKE2b-256 |
76d4de52f2015f669403aa08a34121b0142a5d4707fe9a1adc059e5ab783d6d0
|