Name: python-timer
Owner: Datascope Analytics
Description: a wrapper for long-running tasks that iterate over many things, printing friendly 'percentage done' messages to standard error.
Created: 2015-11-12 22:06:36.0
Updated: 2015-11-12 22:06:37.0
Pushed: 2015-10-15 20:20:16.0
Homepage: null
Size: 184
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
a wrapper for long-running tasks that iterate over many things, printing friendly 'percentage done' messages to standard error.
rt timer
stuff in timer.show_progress(range(100)):
# .... analysis here
timer.sleep(.5)
prints (to standard error) :
1 min elapsed, 25.0 % done, ETA: 0.3 min
1 min elapsed, 45.0 % done, ETA: 0.3 min
2 min elapsed, 65.0 % done, ETA: 0.3 min
3 min elapsed, 85.0 % done, ETA: 0.3 min
Now available on the python-package-index. To install, just type pip install python-timer
from the command-line.