timeutils
timeutils is a Python package providing a set of methods and classes to accurately measure elapsed time.
Documentation
The documentation is hosted on http://timeutils.readthedocs.io
Installation
Latest from the source:
git clone https://gitlab.com/cmick/timeutils.git cd timeutils python setup.py install
Using PyPI:
pip install timeutils
Examples
>>> from timeutils import Stopwatch
>>> sw = Stopwatch(start=True)
>>> sw.elapsed_seconds
16.282313108444214
>>> str(sw.stop())
'0:01:30.416023'
>>> sw.elapsed.human_str()
'1 min, 30 secs'
Metadata
Release files for timeutils 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| timeutils-0.3.2.tar.gz | 7.7 kB | Details |
Release files / timeutils-0.3.2.tar.gz
| Download URL | timeutils-0.3.2.tar.gz |
|---|---|
| Size | 7.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f4fe7f75abd86f21dbf40e8571213a3694c1ee597e353b54f688352fe9d54aea
|
|
BLAKE2b-256 checksum How to use checksums |
a7758edd4c7b49ef07805d3989b020b877edd5acec51f744131cc84e83717a36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |