Multi-functional Stopwatch for Python
Project description
pystopwatch
Multi-functional Simple Stopwatch for Python.
- Multiple Stopwatch by Tags
- Manage elapsed times by tags
- Example of use : profiling python codes(latency by functions, ...)
Install
$ pip install pystopwatch2
Usage
from pystopwatch import PyStopwatch
w = PyStopwatch()
w.start(tag='a')
time.sleep(1)
w.pause('a')
e = w.get_elapsed('a')
# e = 1.0xxx
e.clear('a')
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 Distribution
pystopwatch2-0.1.0.tar.gz
(2.1 kB
view details)
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 pystopwatch2-0.1.0.tar.gz.
File metadata
- Download URL: pystopwatch2-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
158ae3ed5e8ef358f0659b9a94f3ae516905d557572b195ae52c703f71f0d9d0
|
|
| MD5 |
c67fca2ed9aa3e43a9bcacf1e1cb6739
|
|
| BLAKE2b-256 |
ead71b1bad317ba7d8df9023fe1d242007a120df804a394d56d2c6793a4016db
|
File details
Details for the file pystopwatch2-0.1.0-py2-none-any.whl.
File metadata
- Download URL: pystopwatch2-0.1.0-py2-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d40f2024dfea6c875b4f6121dee45713eff8d31a81a3068d1f6e49d7772a297f
|
|
| MD5 |
0768f02a743bbc8b8a7acdd325eaffb3
|
|
| BLAKE2b-256 |
6b938fb50ff666daf4864f4907d431378ab39e7b471fb84f4c6bb89bf261c178
|