auto-tqdm-1.0.3
توضیحات
Wrapper over tqdm for automatically handle switch between jupyter and cli and tunes bar to my liking (automatic resizing, stronger smoothing and tuning for erratic iterations).
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | auto-tqdm-1.0.3 |
| نام | auto-tqdm |
| نسخه کتابخانه | 1.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Luca Cappelletti |
| ایمیل نویسنده | cappelletti.luca94@gmail.com |
| آدرس صفحه اصلی | https://github.com/LucaCappelletti94/auto_tqdm |
| آدرس اینترنتی | https://pypi.org/project/auto-tqdm/ |
| مجوز | MIT |
auto_tqdm
=========================================================================================
|travis| |sonar_quality| |sonar_maintainability| |codacy| |code_climate_maintainability| |pip|
Wrapper over tqdm for automatically handle switch between jupyter notebook and cli and tunes bar to my liking (automatic resizing, stronger smoothing and tuning for erratic iterations).
How do I install this package?
----------------------------------------------
As usual, just download it using pip:
.. code:: shell
pip install auto_tqdm
Tests Coverage
----------------------------------------------
Since some software handling coverages sometime get slightly different results, here's three of them:
|coveralls| |sonar_coverage| |code_climate_coverage|
Usage Example
----------------------------------------------
So basically, this is a tqdm with only a twist: it is tuned with both my preferred settings and allows for total remaining time prediction.
.. code:: python
from auto_tqdm import tqdm, remaining_time
for _ in tqdm(range(10)):
for _ in tqdm(range(10)):
for _ in tqdm(range(10)):
print(remaining_time())
.. |travis| image:: https://travis-ci.org/LucaCappelletti94/auto_tqdm.png
:target: https://travis-ci.org/LucaCappelletti94/auto_tqdm
:alt: Travis CI build
.. |sonar_quality| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_auto_tqdm&metric=alert_status
:target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_auto_tqdm
:alt: SonarCloud Quality
.. |sonar_maintainability| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_auto_tqdm&metric=sqale_rating
:target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_auto_tqdm
:alt: SonarCloud Maintainability
.. |sonar_coverage| image:: https://sonarcloud.io/api/project_badges/measure?project=LucaCappelletti94_auto_tqdm&metric=coverage
:target: https://sonarcloud.io/dashboard/index/LucaCappelletti94_auto_tqdm
:alt: SonarCloud Coverage
.. |coveralls| image:: https://coveralls.io/repos/github/LucaCappelletti94/auto_tqdm/badge.svg?branch=master
:target: https://coveralls.io/github/LucaCappelletti94/auto_tqdm?branch=master
:alt: Coveralls Coverage
.. |pip| image:: https://badge.fury.io/py/auto_tqdm.svg
:target: https://badge.fury.io/py/auto_tqdm
:alt: Pypi project
.. |downloads| image:: https://pepy.tech/badge/auto_tqdm
:target: https://pepy.tech/badge/auto_tqdm
:alt: Pypi total project downloads
.. |codacy| image:: https://api.codacy.com/project/badge/Grade/d5a99bf881ce4c45bf66b1b31c18a138
:target: https://www.codacy.com/app/LucaCappelletti94/auto_tqdm?utm_source=github.com&utm_medium=referral&utm_content=LucaCappelletti94/auto_tqdm&utm_campaign=Badge_Grade
:alt: Codacy Maintainability
.. |code_climate_maintainability| image:: https://api.codeclimate.com/v1/badges/d305725610c118108b64/maintainability
:target: https://codeclimate.com/github/LucaCappelletti94/auto_tqdm/maintainability
:alt: Maintainability
.. |code_climate_coverage| image:: https://api.codeclimate.com/v1/badges/d305725610c118108b64/test_coverage
:target: https://codeclimate.com/github/LucaCappelletti94/auto_tqdm/test_coverage
:alt: Code Climate Coverate
نحوه نصب
نصب پکیج whl auto-tqdm-1.0.3:
pip install auto-tqdm-1.0.3.whl
نصب پکیج tar.gz auto-tqdm-1.0.3:
pip install auto-tqdm-1.0.3.tar.gz