Schwi's Utilities
Project description
SchwiCV
Installation
You can install the SchwiCV Tools from PyPI:
pip install schwicv
The package is supported on Python 3.6 and above.
How to use
Timer Lib
from schwicv import Timer
tmr = Timer(100) # Makes Instance of Timer class with 100ms init time
tmr.remaining_time_ms # Output of remaining time, 0 if over
tmr.execution_time_ms # Output of execution time from last start
tmr.remaining_percent # Output of remaining time in percent
tmr.time_over # True if code needed more or equal 100 ms
tmr.start_ms(1000) # Restart timer with 1000ms init time, if re-use instance
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
schwicv-0.0.6.tar.gz
(3.2 kB
view details)
File details
Details for the file schwicv-0.0.6.tar.gz.
File metadata
- Download URL: schwicv-0.0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cebd2b10da654e85e215f4e045d93a25664f2c855cfb872734c6099c89f9c51
|
|
| MD5 |
43f13fddf1a967ae3a03099bd5147ee8
|
|
| BLAKE2b-256 |
d43901d09d74bca24ec3d6717e54e6345c0e5e2b4912a9fdd28cedad49c5a2da
|