https://github.com/tqdm/tqdm
Raw File
Tip revision: 5d9e820a7ce3b880a1c715ecec9e21587feb97f1 authored by Casper da Costa-Luis on 03 April 2018, 10:29:55 UTC
bump version, Merge branch 'chengs/aplavin-patch-2'
Tip revision: 5d9e820
tqdm.1.md
% TQDM(1) tqdm User Manuals
% tqdm developers <https://github.com/tqdm>
% 2015-2018

# NAME

tqdm - fast, extensible progress bar for Python and CLI

# SYNOPSIS

tqdm [*options*]

# DESCRIPTION

See <https://github.com/tqdm/tqdm>. Can be used as a pipe:

```sh
$ # count lines of code
$ cat *.py | tqdm | wc -l
327it [00:00, 981773.38it/s]
327

$ # find all files
$ find . -name "*.py" | tqdm | wc -l
432it [00:00, 833842.30it/s]
432

# ... and more info
$ find . -name '*.py' -exec wc -l \{} \; \
  | tqdm --total 432 --unit files --desc counting \
  | awk '{ sum += $1 }; END { print sum }'
counting: 100%|█████████| 432/432 [00:00<00:00, 794361.83files/s]
131998
```

# OPTIONS

back to top