computil 0.01

Utilities for long-running computations

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
Other/Proprietary License
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Konrad Delong
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Utilities
computil is a Python module that contains currently a single generator: track. It's a drop in solution for getting regular updates on how long the iteration is going to take.

For example, change this

for url in all_urls:
 urllib.retrieve(url)

... into this:

for url in track(all_urls):
 urllib.retrieve(url)


... in order to get output like this

2/100 (estimated 10.00mins left)
7/100 (estimated 9.20mins left)
15/100 (estimated 8.63mins left)
20/100 (estimated 7.91mins left)
28/100 (estimated 7.04mins left)
# and so on ...

Last updated on June 14th, 2010

requirements

#long-running computations #Python utilities #long-running #computations #utilities #library

Add your review!

SUBMIT