معرفی شرکت ها


ezbar-1.6


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

A simple progress bar for loop progress measurement and time estimation.
ویژگی مقدار
سیستم عامل -
نام فایل ezbar-1.6
نام ezbar
نسخه کتابخانه 1.6
نگهدارنده []
ایمیل نگهدارنده []
نویسنده -
ایمیل نویسنده Paulo Sanchez <dev.szblzpaulo@gmail.com>, Carlos Puente <carlospuenteg@gmail.com>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/ezbar/
مجوز -
# EZ Bar [![PyPI release](https://github.com/erlete/ezbar/actions/workflows/python-publish.yml/badge.svg)](https://github.com/erlete/ezbar/actions/workflows/python-publish.yml) A simple progress bar for loop progress measurement and time estimation. _The original idea and base script for this repository was created by @carlospuenteg. I just decided to refactor the code and add some nice features such as remaining and elapsed time counting._ ## Features * Simple and easy to use (create a progress bar and update it) * Colorful output so that you always see how your loop is progressing * Estimated time of completion prediction. No need to stare at the screen for minutes! * Elapsed time display. Know the efficiency of your loops! https://user-images.githubusercontent.com/76848729/203905732-99d3c091-f375-499d-b990-0893130d106b.mp4 ## Installation The installation of this module is performed via the Python Package Index (PyPI). ### macOS / UNIX ```bash python3 -m pip install ezbar ``` ### Windows *This operating system is not supported yet.* ## Usage Just import the `ProgressBar` class and it will be ready to go! ```python from ezbar import ProgressBar ``` ## Example ```python from time import sleep from ezbar import ProgressBar ITERATIONS = 100 # Use default settings: pb = ProgressBar(ITERATIONS) for i in range(ITERATIONS): sleep(0.05) pb.update(i) # Or customize them all you want! pb = ProgressBar(ITERATIONS, text="Loading...", width=30) for i in range(ITERATIONS): sleep(0.05) pb.update(i) ``` ## Disclaimer This progress bar does not serve a performance counting purpose. It is only meant to be used for orientative loop progress measurement and time estimation. Do not use it for strict performance measurements.


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl ezbar-1.6:

    pip install ezbar-1.6.whl


نصب پکیج tar.gz ezbar-1.6:

    pip install ezbar-1.6.tar.gz