Skip to main content

A tiny terminal progress bar with a fox emoji.

Project description

🦊-progress-bar

A tiny terminal progress bar with a 🦊

demo.gif

Installation

pip install fox-progress-bar

Demo

Run a demo with:

fox-progress-demo

Usage

from fox_progress_bar import ProgressBar
import time

total = 5_000_000
pb = ProgressBar(total_size=total)
for _ in range(100):
    pb.update(total // 100)
    time.sleep(0.03)
pb.finish()

Releasing (GitHub + PyPI)

Everytime you create a GitHub Release (use a tag like v0.1.0), GitHub Actions will automatically build and publish the package to PyPI. Make sure to bump version in pyproject.toml accordingly for each release. If needed, you can also trigger a release manually from the "Actions" tab in GitHub to bypass the version check (not recommended).

Tests

  1. Ensure venv is active and install test dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -e .
pip install pytest
  1. Run tests with pytest:
pytest -q

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

fox_progress_bar-0.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

fox_progress_bar-0.1.1-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file fox_progress_bar-0.1.1.tar.gz.

File metadata

  • Download URL: fox_progress_bar-0.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fox_progress_bar-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6b89eb0c59512fa5f105b7d63cc9f360666fb1ebc166815f398b00e8171878d8
MD5 df5e23eae688709190a4aa6ae8c7a91a
BLAKE2b-256 3a7d8ab6517482251446f9998625850afa007582fe4b565de8f07dad092d552f

See more details on using hashes here.

File details

Details for the file fox_progress_bar-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fox_progress_bar-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2701a5cd5d18279bf88f876c6f72001ebf2211df381eefb4e29c9a3966adc883
MD5 debed02d94d4cfa457a9aeed1a682871
BLAKE2b-256 f197b42ba03b57e17762bc8441151e9dc4196e0c235cbee76f0f9a290ca98321

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