A simple progress bar for simple projects
SimpleTextProgressBar - A simple progress bar for simple projects
This Text Progress Bar is made for projects that don't need great, big, confusing, etc. progress bars. It's code is only 3 KB, and It provides any progress bar relative size, with any relative value, with any prefix before the Progress Bar.
How to Install?
pip install simpletextprogressbar
Or use the .whl provided on GitHub
How to use?
This imports the Progress Bar into your code
This function sends a unfinished line to the console.
simpletextprogressbar.change_position(position, size, optional_prefix, writeTheSameLineWhenFinished)
This function sets a new progress bar in the relative position from the relative size, and also prints a text before the progress bar, If specified.
Imagine a example file:
import time import simpletextprogressbar simpletextprogressbar.set_progress_bar() for x in range(10): simpletextprogressbar.change_position(x+1, 10, "Filling 10% in 500 ms") time.sleep(0.5)
It Will return this:
- Added argument "writeTheSameLineWhenFinished", as a solution for writing after the line when the progressbar is at the same position as the size.
- Bug fixings
- Bug fixing (not released, as I had the idea for 1.1.2)
- Initial release
Bug Fixing or Suggestions
If you find any bugs or want anything to be on the code, you are encouraged to use GitHub to tell me :)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for simpletextprogressbar-1.1.2.tar.gz
Hashes for simpletextprogressbar-1.1.2-py3-none-any.whl