Skip to main content

A progress bar for Python that brews beer while your code runs

Project description

🍺 brewbar

A progress bar for Python that brews beer while your code runs.

No configuration.
No dependencies.
Just beer.


🍻 Demo

from brewbar import bar
import time

for _ in bar(range(50)):
    time.sleep(0.05)

Output:

🍺🍺🍺🍺░░░░  50%  fermenting

As progress increases, the beer fills and the brew stage changes:

  • mashing
  • boiling
  • fermenting
  • conditioning
  • cheers 🍻

📦 Installation

pip install brewbar

🍺 Usage

from brewbar import bar

for _ in bar(range(100)):
    time.sleep(0.1)

✨ Features

  • 🍺 Beer-brewing themed progress bar
  • 🧠 Simple API (bar(iterable))
  • ⚡ Lightweight (no dependencies)
  • 🖥 Works in standard terminals
  • 🎭 Meme-friendly, screenshot-ready

🛠 Requirements

  • Python 3.8+

❓ Why brewbar?

Because sometimes you don't want:

  • 20 configuration options
  • nested progress bars
  • noisy output

You just want to know when your code is done…
and have a beer while waiting. 🍻

⏱ Timing Metrics (v1.0.0)

brewbar can optionally show:

  • ETA (estimated time remaining)
  • Elapsed runtime
  • Processing speed (items/sec)
  • ASCII fallback for CI / logs
from brewbar import bar

for _ in bar(
    range(200),
    eta=True,
    elapsed=True,
    rate=True,
    ascii=True
):
    work()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

brewbar-1.0.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brewbar-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file brewbar-1.0.0.tar.gz.

File metadata

  • Download URL: brewbar-1.0.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for brewbar-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b81cfa13462809831552dfe7c61a072e1665f9d6f9b0c9dfe114430857235a1d
MD5 d9a9f7b1eab7b6982e922acc5ee26239
BLAKE2b-256 ec2416a96653eccb165777a16b2c302791214e0bf7527d71165fb21e073f7450

See more details on using hashes here.

File details

Details for the file brewbar-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: brewbar-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for brewbar-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a85b1cc991767080cdd1e97522f96fddc330e835650457e9f16803655a151e57
MD5 dd14908e69fb691a379b19afacc236d9
BLAKE2b-256 5bd51c6822304682f1f7e40a097482aad1b3f21177ba47b8dda1db9346c996c9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page