Changelogs » Tqdm

PyUp Safety actively tracks 263,166 Python packages for vulnerabilities and notifies you when to upgrade.

Tqdm

4.50.0

- add bar `colour` option (1040 <- 450)
  + for `notebook` as well as `std`/CLI
  + plain text as well as hex (e.g. 'green' or '00ff00')
  - `notebook` improvements (1032 <- 1031)
  + split bar description into separate widget
  + improve `reset()` (handle width and colour)
  - fix exceptions when `file` is closed (1041, 1036 <- 1033)
  - add & update tests
  - minor documentation updates
  - move and configure issue/pr templates

4.49.0

- CLI: add `--tee` (1014 <- 1013)
  - CLI: add `--update` and `--update_to` (996 <- 975)
  - CLI: add `--null` (996)
  - CLI: accept `-` instead of `_` in options (e.g. `--update-to`)
  - make `update()` return `True` on `display` to ease efficient use of custom callbacks (845)
  - fix `py>=3` CLI `--delim` encoding error
  - fix `py>=3.5` version detection in `tqdm.auto` (1029 <- 1028)
  - fix final ETA when using `initial` (1021 <- 689)
  - update documentation
  + add & update custom callback examples
  + improve help formatting of boolean CLI options
  - add & update tests

4.48.2

- fix `notebook` formatting

4.48.1

- fix ANSI escape codes breaking `tqdm.write` (692, 777)
  - fix long-lived strongref (1007, https://bugs.python.org/issue39093)
  - fix cli `--version` crash on missing `git/refs/heads` (635)
  - fix `contrib.tenumerate` ignoring `total` (1017)
  - fix potential deep => shallow `kwargs` copy issues
  - improve `notebook` display for unknown `total` (1015)
  - make `asyncio` inherit from `std` rather than `auto`
  - make `auto` multi-inherit from `autonotebook`, `asyncio` on Python3.5+
  - misc documentation & examples updates
  + mention `docker-compose` requirements (771)
  - misc linting & tidy
  - misc minor testing framework updates

4.48.0

- add `tqdm.asyncio` (1004, 772, 91 <- 65)
  + supports async iterables (`async for row in tqdm(iterable)`)
  + supports iterables
  + supports `coroutine.send` (`tqdm(coroutine).send`)
  + add `as_completed` wrapper (`for f in tqdm.as_completed(fs)`)
  - reduce `contrib.discord` logging verbosity
  - fix potential `pandas()` modifying `**kwargs` bug
  - update documentation
  + add missing inline docstrings
  + update contributing notes
  + update readme
  + add to `examples/` folder
  * async_coroutines
  * coroutine_pipe
  + standardise variable naming
  - add tests
  + add benchmark tests against popular alternative libraries
  + test new functionality
  + more thorough `miniters` test (1003)
  - misc framework updates
  + tidy changelog helper
  + add helper bots
  * comment-bot `/tag`
  * post-release-bot
  - wiki updater
  - website updater
  * benchmark regressions
  - full/thorough test on schedule & release
  - quick test on PR

4.47.0

- add `contrib.discord` (similar to `contrib.telegram`) (976)
  - add `contrib.bells` to auto-enable all extras
  - add `contrib.utils_worker` for common slow tasks (e.g. web I/O)
  + fix lazy large memory usage & discard unsent messages (unprocessed tasks)
  - fix slow notebook imports (955 <- 709)
  - fix `gui` `TypeError` on unknown `len()` (971)
  - misc documentation/error message updates
  + more succinct ImportError on missing `ipywidgets` (872)
  + fix broken/deprecated link (981)
  + add inline usage for `contrib.discord` and `contrib.telegram`
  - misc framework updates
  + add official `py3.8` support (986)
  + fix `snap` builds
  
  ![contrib.discord](https://user-images.githubusercontent.com/10780059/82755091-62374c80-9dc9-11ea-88bb-fd8cafe854ff.png)
  
  ![contrib.telegram](https://github.com/ermakovpetr/tg_tqdm/blob/master/tg_tqdm_how_it_work.gif?raw=true)

4.46.1

- fix missing `sys.setcheckinterval` in py3.9 (978)
  - fix `keras.TqdmCallback` compatibility with `tensorflow==2.2.0` (979)
  - update documentation
  + correct `contrib.concurrent` correct `max_workers` (977)
  + drop prominent mention of `xrange` (965)
  - minor linting

4.46.0

- add `contrib.telegram` 949 <- 948
  - add `bash` tab completion and `--comppath` 946, 947 <- 858
  - fix exception safety in `external_write_mode` 940
  - add `requests` examples (242)
  - update documentation

4.45.0

- propagate and `close()` on exceptions (926 <- 548)
  - fix nested `clear()`
  - rework nested `close()` (930 <- 924 <- 918, 677)
  + reduces screen flicker/blank space at the cost of ordering
  - update all documentation & demos
  - add and update tests
  - dev framework: add pre-commit helper

4.44.1

- fix `_utils` `ImportError` => `DeprecationWarning` (928 <- 927)

4.44.0

- add automatic `nrows` and expose for manual override (918 -> 924)
  - expose and warn about small `chunksize` in `tqdm.contrib.concurrent.process_map` (912)
  - fix py2 file stream comparison (727 -> 730)
  - deprecate `utils._environ_cols_wrapper`
  - add and update tests
  - add documentation

4.43.0

- fix `notebook` exceptions (669 <- 650)
  + `set_description()` when `disable=True`
  - `contrib.concurrent`: avoid unnecessary `len(iterable)` (893)
  - update documentation
  + clarify etymology (895)
  + fix minor typo (890)
  + update contributors and years
  - update tests
  - fix CI tests for PRs

4.42.1

- support `pandas==1.0.0` (780, 555)
  - minor metadata updates
  - minor CI test update

4.42.0

- `notebook`: update `disable=None` behaviour (880)
  - `tqdm.keras`: support `tensorflow.keras` as well as `keras` (885)
  - add `contrib` (882)
  + `tenumerate` (840 <- 480, 402)
  + `tzip` <= `zip`
  + `tmap` <= `map`
  + add `concurrent` module
  * `thread_map` <= `concurrent.futures.ThreadPoolExecutor.map`
  * `process_map` <= `concurrent.futures.ProcessPoolExecutor.map`
  + add `itertools` module (225) stub
  * `product`
  - add & update tests
  - add & update documentation
  + [README](https://github.com/tqdm/tqdmtqdm)
  + [examples/](https://github.com/tqdm/tqdm/tree/master/examples)
  - update CI framework

4.41.1

- `keras` module tidy and fixes
  + fix `batch_size=None` (869)
  + add missing `pop('size')`

4.41.0

- trim on `ncols` overflow with ANSI handling (850, 716 <- 690)
  - add `notebook.reset()` (864)
  - add `keras.TqdmCallback` (867 <- 835)
  - documentation updates
  + document newly added features (above)
  + notebook `ncols` percentage/pixels (276)
  - test updates
  + test newly added features (above)
  + add CI for `win` and `osx` (841)
  + `py2` threading

4.40.2

- fix `pandas` unhashable func (862 -> 863)
  + add tests

4.40.1

- fix floating point imprecision raising errors (859)
  - fix auto gh releases ([travis-ci/dpl914](https://github.com/travis-ci/dpl/issues/914))
  - update CONTRIBUTING ([84 (comment)](https://github.com/tqdm/tqdm/issues/84issuecomment-167516992))

4.40.0

- officially support `float` for `n` and `total` (802)
  + `notebook`: use `FloatProgress` <= `IntProgress` (471, 456)
  + allow imprecision (`n <= total + epsilon`) (849)
  - fix unicode bar format arguments (803 -> 851)
  - add `contrib` submodule (815)
  - add `wrapattr`, `utils.CallbackIOWrapper`, `contrib.DummyTqdmFile` (84 -> 844)
  - update tests
  - update documentation
  - tidy automatic `snap` deployments
  - minor doc update (854)

4.39.0

- add `pandas` builtin operations check (843 <- 697)
  - avoid unnecessary `dedent` (837)
  - remove unneeded bar logic
  - misc code tidy
  - update documentation
  + document default argument overriding (370)
  + add missing `isatty()` (713)
  + update badges
  + add code of conduct
  - update framework
  + clean CI stages
  + update CI default `py3.6` => `py3.7`
  + automate snap releases (686 <- 685)

4.38.0

- support `lock_args` for e.g. non-blocking intermediate writes (838 -> 839)
  + use `self.refresh()` in more places
  + add and update performance tests
  + support args for `TqdmDefaultWriteLock.acquire()`
  - fix colorama on win (678, 764)
  - framework updates
  + CI cleanup
  * move to stages (check/test/deploy)
  * auto deploy notes
  * deploy only on parent repo
  * separate docker deploy
  + update documentation sync/generation
  - update examples
  - update documentation
  - add and update tests
  - misc tidy and linting

4.37.0

- potential future pandas fix (824)
  - better unicode widechar support (803 -> 410, 805)
  - fix example/tqdm_wget unknown total (826)
  - add `stacklevel=2` to warnings (821)
  - misc framework updates
  + snapcraft version fix
  + update issue/pr templates (830)
  + update unit tests
  - misc documentation updates
  + update parallel (multiprocessing, ThreadPoolExecutor) example (407)
  + add slides, video images
  + add CII Best Practices badge
  + add repology badge
  + update badge icons

4.36.1

- fix CLI entrypoint

4.36.0

- expose more custom format params
  - potential thread safety fix (548)
  - update submodule architecture (198 -> 800)
  + backward-compatibility
  + expose `utils`
  + rename `main` -> `cli`
  + add/fix tests
  + fix minor cached var optimisation
  + `gui` partial upgrade (790)
  + `notebook` upgrade (790)
  * support `{bar}` in `bar_format` (594)
  * inherit methods including `set_*(refresh)` (740 -> 741)
  + ready for `contrib` releases (252)
  - support custom `bar_format` with unknown `total`
  - fix `tqdm_notebook` red block on explicit `file=None` (791)
  - update notebook to fully support custom `bar_format` (594, 649)
  - misc tidy
  + warnings
  + linting
  + update submodule contribution guide (252)
  + parallel `(py)make test`
  + fix Zenodo metadata
  - update documentation
  + `pandas`, `notebook`, `gui` (245)
  + indentation
  + update multiprocessing and multithreading examples (796)

4.35.0

- add `{bar}` format specifier (623 -> 799)
  + `[width][type]`
  - add tests and documentation
  - update performance tests

4.34.0

- add `leave=None` convenience option for `leave = position == 0`
  - ensure nested completed bars respect `leave=True` (230)
  - ensure nested bars are cleared before being moved up (795)
  - support both ` ` and `=` syntax for CLI options (761 -> 774)
  - misc documentation updates (778, 782)
  - fix/update tests
  - update GitHub docker package deployment

4.33.0

- fix `pandas==0.25` API change (780)
  - add contributor badges (`sourcerer`)
  - fix py26 travis CI
  - metadata fixes
  + `.zenodo.json`
  + `CODEOWNERS`
  - GitHub package registry docker deployment
  - minor linting
  - documentation updates (773)

4.32.2

- fix 'Set changed size during iteration' (481 -> 700, 754)
  - add `tqdm.autonotebook` check for `$VSCODE_PID` (747 -> 751)
  - fix missing `multiprocessing` in Jython (698)
  - make `bool(tqdm(iter))` consistent with `bool(iter)` (353 -> 694)
  - add and update unit tests
  - add and update documentation & framework
  + update notable contributors list
  + update usage docstrings (714, 715)
  + add funding
  + add `awesome-python` badge
  + trove classifier update
  + update demo notebook badges
  + add JOSS DOI
  + add Zenodo metadata
  + move unnecessary root clutter

4.32.1

- fix `notebook` with unknown `total` (743)

4.32.0

- support `unit_scale` in `notebook`
  - support negative update (432, 545)
  - add `reset()` function (547, 545)
  - add `[python setup.py] make run`
  - add and update documentation
  - example of dynamic usage (735, 545, 547, 432, 374)
  - note writing issues (737)
  - update badges
  - add [PyData2019 slides link](https://tqdm.github.io/PyData2019/slides.html)
  - add [JOSS paper](https://github.com/openjournals/joss-papers/blob/joss.01277/joss.01277/10.21105.joss.01277.pdf)
  - update manpages
  - add docker install
  - add snapcraft install
  - notebooks: add binder, rename RMOTR => notebooks.ai (679)
  - prettify and unify contributors/maintainers/authors
  - CI and release framework updates
  - add snapcraft snaps (647)
  - add travis auto-deployment (685)
  + PyPI releases
  + docker devel/releases
  - update deployment dev docs
  - fix travis deploy pymake
  - update .gitinore
  - add & update unit tests
  - automate more documentation