26 Commits

Author SHA1 Message Date
Don Spaulding a1808173d9 Added an expected_size parameter to progress.bar and progress.mill.
Some objects you might want to show progress on while iterating over
do not support calling len().  In these cases you can now pass
`expected_size` in to the progress.bar and progress.mill functions
to avoid the len() call on the iterable.
2012-06-14 12:23:05 -05:00
Kenneth Reitz a7e2d21273 Merge pull request #51 from kracekumar/develop
Develop
2012-05-09 11:19:39 -07:00
kracekumar afd410125d added an example get_each_args.py 2012-05-09 01:05:32 +05:30
Kenneth Reitz 43b152cf0e Merge branch 'develop' of github.com:kennethreitz/clint into develop 2012-01-16 09:22:05 -05:00
Collin Watson 1d1bb71203 Added unicode file and input examples 2012-01-14 12:17:46 -08:00
Alejandro Gómez a95e803268 Add a mill progress indicator to progress.py
I've created a progress indicator that outputs a "mill" and added it to
the `progress.py` file.

Very simple stuff but its more compact than the other progress bars and
it can be useful when using long labels.
2012-01-14 19:01:23 +01:00
Collin Watson ec46d65bd2 Added support for colored unicode 2012-01-14 00:59:44 -08:00
Thomas Kluyver b16b2ce723 All examples work on Python 3. 2012-01-06 00:11:51 +00:00
Kenneth Reitz 0855525fca added eng.join example 2011-04-18 12:49:37 -04:00
star:Kenneth Reitz c226b6b736 progress bar examples 2011-03-31 14:52:44 -04:00
Will Thames cf0c0bda70 Moved from __future__ line closer to the top of the file to prevent
File "piped.py", line 7
    from __future__ import with_statement
SyntaxError: from __future__ imports must occur at the beginning of the file
2011-03-31 12:21:57 +01:00
star:Kenneth Reitz bf7b5d0930 2.5 with_statement support! 2011-03-24 05:06:23 -04:00
star:Kenneth Reitz 61225d90e6 fix all colors example 2011-03-24 03:40:42 -04:00
star:Kenneth Reitz dda561387c RELASE v0.2.0 2011-03-23 08:52:41 -04:00
star:Kenneth Reitz 83bf2288dd text_width example 2011-03-22 08:44:00 -04:00
star:Kenneth Reitz 2cd9bd5263 min/max widths in textui core
configurable newlines
2011-03-22 04:36:06 -04:00
Kenneth Reitz 1f46ad6d9d new line indent example 2011-03-20 16:34:26 -04:00
Kenneth Reitz ae955083e2 new not_files support. 2011-03-20 15:39:23 -04:00
Kenneth Reitz 81294725e9 only_flags in example 2011-03-20 15:31:15 -04:00
Kenneth Reitz 76044837a8 added resources example 2011-03-20 15:26:08 -04:00
Kenneth Reitz 327ab4f36d added progressbar example 2011-03-20 15:19:14 -04:00
Kenneth Reitz ba6f7b87a3 Added arguments example. 2011-03-20 15:17:32 -04:00
Kenneth Reitz 5b4cafa533 piped example 2011-03-20 15:07:53 -04:00
Kenneth Reitz 152ac62226 colored indents example 2011-03-20 14:54:53 -04:00
Kenneth Reitz 023b3aa7d2 indents example. 2011-03-20 14:54:47 -04:00
Kenneth Reitz 920b8da7b7 added colors example 2011-03-20 14:44:46 -04:00