Utility to save data to cvs as an easy (and very basic) to read and use alternative to tensorboard
Project description
stepTimer
small utility to measure time left after n step of a n equally long tasks, the time withing to tasks and the total time. The utility is a bit buggy though... please contribute :)
from stepTimer import Timer
timer = timer(nsteps = 1000)
# get the time after 200 steps. this is the total time from the beginning of the task
timer.elapsed(self, step = 200) #=> 2:30:55 in H:M:S
# function to preaty print time
timer.printTime(self, <certain ammount of secods>) #=> 2:30:55 in H:M:S
# total amount of time elapsed since timer was instantiated
elapsedTot() #=> 2:30:55 in H:M:S
# time left to the compleation of 1000 steps, the total time is calculated as nsteps*average time withing each step.
left(self, step = 300) #=> 5:30:55 in H:M:S
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
stepTimer-0.0.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for stepTimer-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f01d16ab00f4e2e5674a76646796295b45af067dee60bee3ab09e809c0bb2d6 |
|
MD5 | 9e38d91a31a315a8af067a695f3d9f88 |
|
BLAKE2b-256 | 3ff2a83247b73c3b3a68f58d4f3ec5458d8c16955379c4425886b7ae8a9a922f |