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.2.tar.gz
(2.0 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 stepTimer-0.0.2.tar.gz.
File metadata
- Download URL: stepTimer-0.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acf276d49d554a7b940980100f05531baa470fe81b225969a0fcd85129a727cc
|
|
| MD5 |
2bf1c04e04827865f818ecbfe39d9b20
|
|
| BLAKE2b-256 |
7d013d7b3248b1ca78055123617bf12135f345955cb895c4892ecc076651ff77
|
File details
Details for the file stepTimer-0.0.2-py3-none-any.whl.
File metadata
- Download URL: stepTimer-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bae2de726908e365170d794e715463bbf4cb98d151be747d3fbc9f442e36c56
|
|
| MD5 |
4cc1bf0dacb8cc0524a52b05aa7650db
|
|
| BLAKE2b-256 |
ddde3bf7a6941d28b85b9f487112d2d54ca3dcc26f40d59edf9aeb65b9e0bf28
|