Skip to content

tqdm.contrib.itertools#

Thin wrappers around itertools.

chain#

[view source]

def chain(*iterables, total=None, tqdm_class=tqdm_auto, **kwargs)

Equivalent of itertools.chain.

product#

[view source]

def product(*iterables, repeat=1, total=None, tqdm_class=tqdm_auto, **kwargs)

Equivalent of itertools.product.

permutations#

[view source]

def permutations(iterable, r=None, total=None, tqdm_class=tqdm_auto, **kwargs)

Equivalent of itertools.permutations.

combinations#

[view source]

def combinations(iterable, r, total=None, tqdm_class=tqdm_auto, **kwargs)

Equivalent of itertools.combinations.

combinations_with_replacement#

[view source]

def combinations_with_replacement(iterable,
                                  r,
                                  total=None,
                                  tqdm_class=tqdm_auto,
                                  **kwargs)

Equivalent of itertools.combinations_with_replacement.

batched#

[view source]

def batched(iterable, n, total=None, tqdm_class=tqdm_auto, **kwargs)

Equivalent of itertools.batched.