🦊-progress-bar
A tiny terminal progress bar with a 🦊
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
chunk_size = total // 100
pb = ProgressBar(total_size=total)
for _ in range(100):
pb.update(chunk_size)
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
- Ensure venv is active and install test dependencies:
python -m venv .venv
source .venv/bin/activate
pip install -e .
pip install pytest
- Run tests with pytest:
pytest -q
Metadata
Release files for fox-progress-bar 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fox_progress_bar-0.1.3.tar.gz | 13.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fox_progress_bar-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.0 kB
Release files / fox_progress_bar-0.1.3.tar.gz
| Download URL | fox_progress_bar-0.1.3.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a90758e41588abd5c4bef59376ad5b532f7744239fdca170572c3e4127c7b093
|
|
BLAKE2b-256 checksum How to use checksums |
86aecb8a88423c062488102bd2f56d7beda0172c3dc5eb897b982730b480a1f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / fox_progress_bar-0.1.3-py3-none-any.whl
| Download URL | fox_progress_bar-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0755c087288ff339378f7f90cd5c063af00cd2624e02fae388cfd700d390aa87
|
|
BLAKE2b-256 checksum How to use checksums |
98a0127e631a1b7926b430748c3c41ae03521e6794155d3c35f1d0b8e57d0d27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|