computil 0.01

Utilities for long-running computations
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, 13:05 GMT
price:
FREE!
developed by:
Konrad Delong
license type:
Other/Proprietary License
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT