@@ -255,7 +255,7 @@ This can be beautified further:
255255
256256.. code :: sh
257257
258- $ BYTES=" $( du -sb docs/ | cut -f1) "
258+ $ BYTES=$( du -sb docs/ | cut -f1)
259259 $ tar -cf - docs/ \
260260 | tqdm --bytes --total " $BYTES " --desc Processing | gzip \
261261 | tqdm --bytes --total " $BYTES " --desc Compressed --position 1 \
@@ -332,6 +332,10 @@ of a neat one-line progress bar.
332332 buffering.
333333- `No intermediate output in docker-compose <https://github.com/tqdm/tqdm/issues/771 >`__:
334334 use ``docker-compose run `` instead of ``docker-compose up `` and ``tty: true ``.
335+ - Overriding defaults via environment variables:
336+ e.g. in CI jobs, ``export TQDM_MININTERVAL=5 `` to avoid log spam.
337+ This override logic is handled by the ``tqdm.utils.envwrap `` decorator
338+ (useful independent of ``tqdm ``).
335339
336340If you come across any other difficulties, browse and file |GitHub-Issues |.
337341
@@ -345,12 +349,14 @@ Documentation
345349 class tqdm ():
346350 """ {DOC_tqdm}"""
347351
352+ @envwrap (" TQDM_" , is_method = True ) # override defaults via env vars
348353 def __init__ (self , iterable = None , desc = None , total = None , leave = True ,
349354 file = None , ncols = None , mininterval = 0.1 ,
350355 maxinterval = 10.0 , miniters = None , ascii = None , disable = False ,
351356 unit = ' it' , unit_scale = False , dynamic_ncols = False ,
352357 smoothing = 0.3 , bar_format = None , initial = 0 , position = None ,
353- postfix = None , unit_divisor = 1000 ):
358+ postfix = None , unit_divisor = 1000 , write_bytes = False ,
359+ lock_args = None , nrows = None , colour = None , delay = 0 ):
354360
355361 Parameters
356362~~~~~~~~~~
@@ -1183,16 +1189,17 @@ are:
11831189==================== ======================================================== ==== ================================
11841190Name ID SLoC Notes
11851191==================== ======================================================== ==== ================================
1186- Casper da Costa-Luis `casperdcl <https://github.com/casperdcl >`__ ~78 % primary maintainer |Gift-Casper |
1187- Stephen Larroque `lrq3000 <https://github.com/lrq3000 >`__ ~10% team member
1188- Martin Zugnoni `martinzugnoni <https://github.com/martinzugnoni >`__ ~4 %
1192+ Casper da Costa-Luis `casperdcl <https://github.com/casperdcl >`__ ~80 % primary maintainer |Gift-Casper |
1193+ Stephen Larroque `lrq3000 <https://github.com/lrq3000 >`__ ~9% team member
1194+ Martin Zugnoni `martinzugnoni <https://github.com/martinzugnoni >`__ ~3 %
11891195Daniel Ecer `de-code <https://github.com/de-code >`__ ~2%
11901196Richard Sheridan `richardsheridan <https://github.com/richardsheridan >`__ ~1%
11911197Guangshuo Chen `chengs <https://github.com/chengs >`__ ~1%
1198+ Helio Machado `0x2b3bfa0 <https://github.com/0x2b3bfa0 >`__ ~1%
11921199Kyle Altendorf `altendky <https://github.com/altendky >`__ <1%
1200+ Noam Yorav-Raphael `noamraph <https://github.com/noamraph >`__ <1% original author
11931201Matthew Stevens `mjstevens777 <https://github.com/mjstevens777 >`__ <1%
11941202Hadrien Mary `hadim <https://github.com/hadim >`__ <1% team member
1195- Noam Yorav-Raphael `noamraph <https://github.com/noamraph >`__ <1% original author
11961203Mikhail Korobov `kmike <https://github.com/kmike >`__ <1% team member
11971204==================== ======================================================== ==== ================================
11981205
@@ -1212,13 +1219,13 @@ Citation information: |DOI|
12121219
12131220|README-Hits | (Since 19 May 2016)
12141221
1215- .. |Logo | image :: https://img. tqdm.ml /logo.gif
1216- .. |Screenshot | image :: https://img. tqdm.ml /tqdm.gif
1217- .. |Video | image :: https://img. tqdm.ml /video.jpg
1222+ .. |Logo | image :: https://tqdm.github.io/img /logo.gif
1223+ .. |Screenshot | image :: https://tqdm.github.io/img /tqdm.gif
1224+ .. |Video | image :: https://tqdm.github.io/img /video.jpg
12181225 :target: https://tqdm.github.io/video
1219- .. |Slides | image :: https://img. tqdm.ml /slides.jpg
1226+ .. |Slides | image :: https://tqdm.github.io/img /slides.jpg
12201227 :target: https://tqdm.github.io/PyData2019/slides.html
1221- .. |Merch | image :: https://img. tqdm.ml /merch.jpg
1228+ .. |Merch | image :: https://tqdm.github.io/img /merch.jpg
12221229 :target: https://tqdm.github.io/merch
12231230.. |Build-Status | image :: https://img.shields.io/github/actions/workflow/status/tqdm/tqdm/test.yml?branch=master&label=tqdm&logo=GitHub
12241231 :target: https://github.com/tqdm/tqdm/actions/workflows/test.yml
@@ -1274,8 +1281,8 @@ Citation information: |DOI|
12741281 :target: https://doi.org/10.5281/zenodo.595120
12751282.. |binder-demo | image :: https://mybinder.org/badge_logo.svg
12761283 :target: https://mybinder.org/v2/gh/tqdm/tqdm/master?filepath=DEMO.ipynb
1277- .. |Screenshot-Jupyter1 | image :: https://img. tqdm.ml /jupyter-1.gif
1278- .. |Screenshot-Jupyter2 | image :: https://img. tqdm.ml /jupyter-2.gif
1279- .. |Screenshot-Jupyter3 | image :: https://img. tqdm.ml /jupyter-3.gif
1280- .. |README-Hits | image :: https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&style=social&r=https://github.com/tqdm/tqdm&l=https://img. tqdm.ml/ favicon.png&f=https://img. tqdm.ml /logo.gif
1281- :target: https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&a=plot&r=https://github.com/tqdm/tqdm&l=https://img. tqdm.ml/ favicon.png&f=https://img. tqdm.ml /logo.gif&style=social
1284+ .. |Screenshot-Jupyter1 | image :: https://tqdm.github.io/img /jupyter-1.gif
1285+ .. |Screenshot-Jupyter2 | image :: https://tqdm.github.io/img /jupyter-2.gif
1286+ .. |Screenshot-Jupyter3 | image :: https://tqdm.github.io/img /jupyter-3.gif
1287+ .. |README-Hits | image :: https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&style=social&r=https://github.com/tqdm/tqdm&l=https://tqdm.github.io/img/ favicon.png&f=https://tqdm.github.io/img /logo.gif
1288+ :target: https://caspersci.uk.to/cgi-bin/hits.cgi?q=tqdm&a=plot&r=https://github.com/tqdm/tqdm&l=https://tqdm.github.io/img/ favicon.png&f=https://tqdm.github.io/img /logo.gif&style=social
0 commit comments