- Fixes and issue where newlines appeared everywhere on certain machines.
- Fixes issue where new lines are printed upon iterating over a completed progress bar object.
- Flushes both
stdout
andstderr
prior toProgressBar
initialization to avoid cluttering environments with previously cached print statements.
- Use only 1 line to print the progress bar (instead of the previous too lines)
- Fixes an issue with Jupyter Notebook 4.3.1 when the
ETA
got printed on new lines
- added PyCharm support
- raise
ValueError
ifmonitor
is set toTrue
andpsutils
is not installed
- requirements.txt for
psutil
, now supportspip install pyprind -r requirements.txt
- new
update_interval
parameter to control the update frequency in seconds - new
force_flush
parameter to print the progress after every iteration
- new time formatting in hh:mm:ss format (by Divyanshu Sharma, https://github.com/Div44)
- permissive new BSD license
- some PEP8 adjustments and code cleanup
- new
bar
argument for ProgressBar to use your favorite bar style (by Konstantin Tolstikhin)
- support for psutil >= 2.0 and < 2.0.
- removed psutil from the setup requirements and made it's installation optional via "pip install pyprind -r requirements.txt"
- Minor reorganization of the generator interface.
- Minor changes to the code documentation.
- Added new test files.
-
New generator functions for progress bar and percentage indicators via:
for i in pyprind.prog_bar(range(n)): # do something pass
for i in pyprind.prog_percent(range(n)): # do something pass
(by Olaf Gladis, https://github.com/hwmrocker)
- A new
.stop()
method to stop the progress bar / percentage indicator early. .update()
method accepts anitem_id
argument now in order to display which item is currently processed next to the progress bar / percentage indicator. E.g., Job1 0% 100% [####################] | ETA[sec]: 0.000 | Item ID: file_xyz.csv
- Version intentionally skipped to not cause confusion that this is a tool exclusively for Python 2.7.
- Fixed bug that the report was squeezed after the bar and before the "time elapsed" string if printed immediately after the progress bar has reached 100%.
- Small bugfix on some system a warning was printed although a valid output string was provided.
- Added IPython Notebook support
- Fixed to work with most recent psutil v. 0.6 for monitoring CPU and memory usage
- New default argument
monitor=False
was added toProgBar()
andProgPercent()
objects to monitor memory and CPU usage (viapsutil
) ifmonitor
is set to True.
- Default argument for
.update(iterations=1)
methods to increment the count by more than 1 per iteration.
- Minor fix of the output formatting.
- Added native print() support prints title and elapsed time of an tracked object after loop completed.
- Data member self.end stores elapsed time when loop completed.
- Data member self.title saves title of the tracking objects.
- added ETA (estimated time until arrival) tracking to progress bar
(by Taylan Aydinli). - better support for Python 2.x.
- Changed visuals of the printed progress for percentage indicators.
- added ETA (estimated time until arrival) tracking to percentage indicator
(by Taylan Aydinli, https://github.com/taylan)
- Accepts a given outputstream for the
stream
parameter.
- Fixed bug that occurred for some Python 3.3.3 users
specifically on Linux Red Hat 4.4.7-1, GCC v. 4.4.7
that self.max_iter was cast to a float when
ProgBar()
object was seeded with n=48.
- Fixed packaging of example files.
-
ProgBar and ProgPerc inherit data members from parent class Prog
-
Added ProgBar and ProgPerc default argument
stream=2
to write to stderr by default. Setstream=1
to write to stdout.my_prbar = pyprind.ProgBar(n, stream=1) # writes to stdout my_prbar = pyprind.ProgBar(n, stream=2) # writes to stderr, default
-
Does not redirect data to the standard output or error stream if program is not outputting to a terminal.
- Fixed problem with packaging of example scripts.
- Added live time tracking to percentage indicator
- progress bar and percentage indicator complete automatically, .finish() was removed
- Added boundary that .update() can't print over the right progress bar limit.
- Prints warning when ProgBar seed exits the number of iterations in the loop.
- Reformatting of README files.
- Minor updates in setup.py file.
- Corrected errors in the README files.
- Added docstring to the init.py
- Added more README formats.
- Added class descriptions.
- Added example scripts to the distribution.