computil

Utilities for long-running computations
Download

computil Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Other/Proprietary Li...
  • Price:
  • FREE
  • Publisher Name:
  • Konrad Delong
  • Publisher web site:
  • http://konryd.blogspot.com

computil Tags


computil Description

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 thisfor url in all_urls: urllib.retrieve(url)... into this:for url in track(all_urls): urllib.retrieve(url)... in order to get output like this2/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 ... Requirements: · Python


computil Related Software