Skip to main content

Build status coverage Current version on PyPI Code style: Black

Just Another Beautiful progress BAR (some might replace Beautiful by Boring).

jabbar is a python package implementing a simple progress bar. The output looks like:

75% |█████████████████      | 750/1000

It is lightweight, easy to use and customizable. As a special feature, it gracefully deals with seeing more items than expected, e.g. 1100/1000. Also, it supports unicorns.

Animation of jabbar in use

For very serious work, you may want to try e.g. the slightly more professional tqdm package.

Install

jabbar can be installed from PyPI via your favorite shell:

$ pip install jabbar

or from the latest code on GitHub with:

$ pip install git+https://github.com/yannikschaelte/jabbar.git

Get started

jabbar is quite flexible and can operate in different modes.

jabbar can simply wrap around any iterable to make loops show a little progress bar:

from jabbar import jabbar
for _ in jabbar(range(1000)):
    pass

The updating scheme can also be individually specified:

from jabbar import jabbar
with jabbar(total=1000, width=30) as bar:
    for _ in range(50):
        bar.inc(20)

When usage of a context manager is undesirable, use jabbar.finish() to clean up the output.

Further examples can be found in the example/howto.ipynb notebook.

License

jabbar is available under an MIT license.

Metadata

Release files for jabbar 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jabbar 0.0.16
File Size Uploaded
jabbar-0.0.16.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jabbar 0.0.16
File Interpreter ABI Platform
jabbar-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 12.4 kB

Release files / jabbar-0.0.16.tar.gz

Download URL jabbar-0.0.16.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
522f29ca04e44a25fbc3ae0419f7d7bf96af1b9d131bbd8b58899224fc5eb0f5
BLAKE2b-256 checksum
How to use checksums
ebbb7b70526081d428e17d1fe2ac2c41e8ec068dcee12af6a87ea5ef581abf71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / jabbar-0.0.16-py3-none-any.whl

Download URL jabbar-0.0.16-py3-none-any.whl
Size 6.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50d4392202b32a3781a8626e6895b893acf54c5e1ac1c2340b70f3d71f707d04
BLAKE2b-256 checksum
How to use checksums
8437f073570895069e105fb9d26c978721ba26b80d211784e75ea7a4799b8878
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.10

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page