Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > ANN: progressbar 2.2 - Text mode progressbar for console applications

Reply
Thread Tools

ANN: progressbar 2.2 - Text mode progressbar for console applications

 
 
Nilton Volpato
Guest
Posts: n/a
 
      05-07-2006
Text progressbar library for python.
http://cheeseshop.python.org/pypi/progressbar

This library provides a text mode progressbar. This is tipically used to
display the progress of a long running operation, providing a visual clue
that processing is underway.

The ProgressBar class manages the progress, and the format of the line is
given by a number of widgets. A widget is an object that may display
diferently depending on the state of the progress. There are three types
of widget: - a string, which always shows itself; - a ProgressBarWidget,
which may return a diferent value every time it's update method is called;
and - a ProgressBarWidgetHFill, which is like ProgressBarWidget, except it
expands to fill the remaining width of the line.

The progressbar module is very easy to use, yet very powerful. And
automatically supports features like auto-resizing when the terminal size
is changed. It's also efficient, because the text is only updated if need,
with a minimum overhead in the case there is no need for updating.

It was tested and works under windows, linux and macosx. And should also
work in many other untested operating systems.

You may get it from pypi: http://cheeseshop.python.org/pypi/progressbar


Thanks, Nilton.

--
Nilton Volpato
email: "%s.%(E-Mail Removed)" % ('nilton', 'volpato')
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
re: mmm-mode, python-mode and doctest-mode? Edward Loper Python 0 08-07-2007 08:58 AM
wxPython and Py2exe crashes in "window" mode but not in "console" mode Jerry Python 3 08-29-2006 02:48 AM
ANN: progressbar 2.2 - Text mode progressbar for console applications Nilton Volpato Python 0 05-08-2006 05:28 AM
mmm-mode, python-mode and doctest-mode? John J Lee Python 3 12-01-2005 08:35 PM
Safe Mode (?) - It is meant to be normal mode but looks like safe mode English Patient Computer Support 3 10-03-2004 11:10 PM



Advertisments