Metadata-Version: 2.1
Name: stepTimer
Version: 0.0.2
Summary: Utility to save data to cvs as an easy (and very basic) to read and use alternative to tensorboard
Home-page: https://github.com/Pensarfeo/stepTimer
Author: Pedro A. Favuzzi
Author-email: pa.favuzzi@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy

# 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 :)

```python
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
```

