{"id":3219,"library":"progress","title":"Progress","description":"The `progress` library (current version 1.6.1) provides easy-to-use, text-based progress bars and spinners for command-line interfaces. It offers a straightforward API with several built-in styles and aims for minimalism and speed, without external dependencies.","status":"active","version":"1.6.1","language":"en","source_language":"en","source_url":"https://github.com/verigak/progress.git","tags":["progress bar","cli","terminal","display"],"install":[{"cmd":"pip install progress","lang":"bash","label":"Install stable version"}],"dependencies":[],"imports":[{"symbol":"Bar","correct":"from progress.bar import Bar"},{"symbol":"ChargingBar","correct":"from progress.bar import ChargingBar"},{"symbol":"IncrementalBar","correct":"from progress.bar import IncrementalBar"},{"symbol":"Spinner","correct":"from progress.spinner import Spinner"}],"quickstart":{"code":"import time\nfrom progress.bar import Bar\n\n# Example with a simple Bar\nwith Bar('Processing...') as bar:\n    for i in range(100):\n        # Simulate work\n        time.sleep(0.02)\n        bar.next()","lang":"python","description":"This quickstart demonstrates creating a basic progress bar using `progress.bar.Bar`. The `with` statement ensures the bar is properly finalized even if an error occurs. Call `bar.next()` in each iteration to advance the progress."},"warnings":[{"fix":"For Jupyter notebook support, consider alternatives like `tqdm` or `ipywidgets`.","message":"The `progress` library does not support Jupyter notebooks or similar interactive environments, as it is primarily designed for terminal-based applications.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Ensure the terminal window size is stable, or use libraries with dynamic resizing support if this is a critical requirement.","message":"Progress bars created with `progress` do not dynamically resize if the terminal window changes size during execution.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Verify your `pip install` command is `pip install progress` and your imports are from `progress.bar` or `progress.spinner`.","message":"This library (PyPI: `progress`) is often confused with `progressbar2` (PyPI: `progressbar2`). Ensure you install `progress` if you intend to use this specific library.","severity":"gotcha","affected_versions":"All versions"},{"fix":"Evaluate your customization needs; for advanced features or highly custom displays, explore `tqdm` or `progressbar2`.","message":"The `progress` library offers fewer customization options compared to more feature-rich progress bar libraries like `tqdm` or `progressbar2`.","severity":"gotcha","affected_versions":"All versions"}],"env_vars":null,"last_verified":"2026-04-11T00:00:00.000Z","next_check":"2026-07-10T00:00:00.000Z"}