DEV Community

Cover image for Python-Multibar
DenyS
DenyS

Posted on

Python-Multibar

Python-Multibar, flexible library for creating static progress bars.

Github: https://github.com/Animatea/python-multibar
Documentation: https://animatea.github.io/python-multibar/
PyPi: https://pypi.org/project/python-multibar/

~ Quickstart

>>> import multibar

>>> writer = multibar.ProgressbarWriter()
>>> progressbar = writer.write(10, 100)
# Using __str__() method, we get a progressbar
# with a default signature.
Out: '+-----'

# Writer returns progressbar object.
>>> type(progressbar)
Out: <class 'multibar.impl.progressbars.Progressbar'>
Enter fullscreen mode Exit fullscreen mode

For more examples see quickstart in documentation and github examples!

Example of discord leveling-bot, using python-multibar:

Top comments (0)