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.4.tar.gz (5.0 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.4-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ipgs-1.2.4.tar.gz
  • Upload date:
  • Size: 5.0 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.4.tar.gz
Algorithm Hash digest
SHA256 bd531b52b99aad1f88be0f1810584ba7fa1b9113d2382e80a40dfd43649b657a
MD5 270b0abf90fbef2e5518818cc6f44469
BLAKE2b-256 d78171e8d7fce6cbaceef6347a4bb0200730428384568b9749a7fbcde27ba0d6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ipgs-1.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 daac052c497e9761ee5fd3acb27c090284eb4b872458f90b5c96f5ddcba9abdd
MD5 f36c500caacf6ada9728b17d1e1a95e5
BLAKE2b-256 515762fa69cc107a15abc38f6e6c8410a45e0bd0abf94752d2462c75e99c7e79

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