A timer for python code
Project description
import timer1101 as timer
if __name__ == "__main__":
timer.starte("test")
# some codes
timer.stope("test")
import timer1101 as timer
import logging
import coloredlogs
import verboselogs
verboselogs.install()
coloredlogs.install(level=logging.INFO)
logger = logging.getLogger("timeLogger")
timer.rootTimer.outputfunc = logger.info
if __name__ == "__main__":
timer.starte("test")
# some codes
timer.stope("test")
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
timer1101-0.0.1.tar.gz
(2.4 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 timer1101-0.0.1.tar.gz.
File metadata
- Download URL: timer1101-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1cdd4e6bb0311d4f9698cf2b390f89efbfeabb7d63abc605c8bc566620f0031
|
|
| MD5 |
3035374be0159b278d2d8962060b7ca5
|
|
| BLAKE2b-256 |
f8405de755ced214ba7e9d399ca53ec7d97b15f63a891b591f36f507740710d3
|
File details
Details for the file timer1101-0.0.1-py3-none-any.whl.
File metadata
- Download URL: timer1101-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cdb149f456b83785990fbc85fc97b1ce16dad85eff2b79e7fc3fe1a6d0ee54d
|
|
| MD5 |
d27302b1d11f76096e63e6ce36d743cd
|
|
| BLAKE2b-256 |
723420f18eabf87573eb6baaa7f1e0ecb00c3441e382ce221ed53e2d950ee008
|