Skip to content

A simple progress bar library inspired by Python's tqdm.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Elinvynia/tqdm-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci-badge docs-badge crate-version

tqdm-rs

A simple progress bar library inspired by Python's tqdm.

Sample Usage

for _ in tqdm_rs::Tqdm::new(0..10) {
    tqdm_rs::write("Doing some work...\nOn multiple lines!");
    std::thread::sleep(std::time::Duration::from_millis(100));
    continue
}

// It is possible to use print, but it looks more clumsy!
for _ in tqdm_rs::Tqdm::new(0..10) {
    println!("Doing some work...\nOn multiple lines!");
    std::thread::sleep(std::time::Duration::from_millis(100));
    continue
}

let mut tq = tqdm_rs::Tqdm::manual(100);
for _ in 0..10 {
    println!("I am updated manually!");
    tq.update(10);
}

About

A simple progress bar library inspired by Python's tqdm.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages