Crate tqdm

Source
Expand description

Rust implementation of the popular Python command line progress bar tool tqdm.

The name “tqdm” derives from the Arabic word taqaddum (تقدّم) which can mean “progress”, and is an abbreviation for “I love you so much” in Spanish (te quiero demasiado). Instantly make your loops show a smart progress meter - just wrap any iterable with tqdm(iterable), and you’re done!

Re-exports§

pub use style::Style;
pub use lib_async::tqdm_async;

Modules§

lib_async
style
Progress bar style enumeration

Structs§

Pbar
Tqdm
Iterator wrapper that updates progress bar on next

Traits§

Iter
Trait that allows calling .tqdm(), equivalent to tqdm::tqdm(iter).

Functions§

pbar
Manually create a progress bar.
refresh
Manually refresh all bars.
tqdm
Wrap Iterator like it in Python. This function creates a default progress bar object and registers it to the global collection. The returned iterator Deref to the given one and will update its tqdm whenever next is called.