Skip to main content

Interactive ANIMATED progress bar for Jupyter notebook projects

Project description

iPgs – Interactive Animated Progress Bar for Jupyter

iPgs provides an interactive and animated progress bar designed for Jupyter Notebook and Google Colab environments. It enables clear visualization of training or processing progress, including nested loops such as epochs and batches, with automatic computation of estimated completion time (ETA).

This package is framework-agnostic and dependency-free, making it lightweight and easy to integrate into any Python workflow.


Key Highlights

  • Interactive and Animated: Real-time visual feedback enhances comprehension of long-running tasks, making iterative processes like model training more intuitive.
  • Nested Progress Tracking: Simultaneously displays epoch-level (outer) and batch-level (inner) progress, providing a granular view of the workflow.
  • Automatic ETA Calculation: Continuously estimates remaining time for both epochs and batches, improving planning and monitoring.
  • Framework-Agnostic: Fully compatible with PyTorch, TensorFlow, Keras, NumPy arrays, Python lists, or any iterable—no modifications required.
  • Dependency-Free: Relies only on built-in Python libraries and IPython display functionality, ensuring easy installation and minimal overhead.
  • Flexible Usage: Works seamlessly with both DataLoader-style iterables and standard Python loops, supporting diverse workflows.

Installation

pip install ipgs

Usage Example

from ipgs import iPgs

for epoch_idx, batch_idx, batch in iPgs(loader, num_epochs=5, desc="Training"):
    bx, by = batch
    # training step

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

ipgs-1.2.6.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

ipgs-1.2.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file ipgs-1.2.6.tar.gz.

File metadata

  • Download URL: ipgs-1.2.6.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.12

File hashes

Hashes for ipgs-1.2.6.tar.gz
Algorithm Hash digest
SHA256 3b29c0cd4aa890c26f9a8b2fb69b81953838e86d4e8c3c0ff09ef307aaaf8e9c
MD5 5f3d236fe68a6fe3b4ff6c1f234e0832
BLAKE2b-256 a875a6735625ed6251e7b209b10e56318d127d815dc131634d835924feda831a

See more details on using hashes here.

File details

Details for the file ipgs-1.2.6-py3-none-any.whl.

File metadata

  • Download URL: ipgs-1.2.6-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.12

File hashes

Hashes for ipgs-1.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 ff2f6f5310772f376e6f3aa97a9e124fabeee9d8805365f33b360aa305b7f02c
MD5 1e4450af27617e054104a88ee4bfe1bb
BLAKE2b-256 d425d4c9415092e42603e368e5c03e813fa4d451ee91bca6ca03600fb1aa9ee5

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