Skip to content

A simple process progress indicator (progress bar). It shows completion percentage and estimated time of completion.

License

Notifications You must be signed in to change notification settings

c-type/progress_printer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

progress_printer

The progress_printer package provides an easy way to output the progress and estimated finish time for a for loop.

To use, do:
>>> import progress_printer as pp
>>> import datetime
>>> t0 = datetime.datetime.now() # this sets the reference time
    >>> for i, list_item in enumerate(list):
    >>>     pp.ProgressStatus(i, len(list)) # here the progress printer is called and the command line is updated with current percentage and completion time
    >>>     # do something

About

A simple process progress indicator (progress bar). It shows completion percentage and estimated time of completion.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages