skip to navigation
skip to content

Not Logged In

eta 0.9

ETA Progress bar for command-line utilities

Latest Version: 0.9.7

ETA
===

This is a python package that will create progress bars for command-line programs.

Example usage:

    from eta import ETA
    eta = ETA(ticks)
    for foo in bar:
        eta.print_status()
    eta.done()

Or, file based usage (calls tell() to get progress)

    fobj = open(fname)
    eta = ETA(os.stat(fname).st_size, fileobj=fobj)

    for line in fobj:
        eta.print_status(extra="extra message")
        ...
    eta.done()

The output is something similar to:

    20.0% - 0:04 [====>               ] ETA: 0:17 (Optional messages go here)
 
File Type Py Version Uploaded on Size
eta-0.9.tar.gz (md5) Source 2012-10-30 2KB
  • Downloads (All Versions):
  • 23 downloads in the last day
  • 150 downloads in the last week
  • 792 downloads in the last month