qtmd 0.1.1

better name for tqdm
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 2 items with examples
  • Size
  • Source code size: 10.34 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 2.63 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 22s Average build duration of successful builds.
  • all releases: 22s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • rn7s2/qtmd
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rn7s2

qtmd(qù tā mā de)

Instantly make your loops show a smart progress meter - just wrap any iterable with tqdm(iterable), and you're done!

tqdm, what a weird name! Oh wait, I have a better name for it: qtmd!

"qtmd" is the phonetic abbreviation of the Chinese "去他妈的" (qù tā mā de). The next time you meet your Chinese friends, greet them with "qù tā mā de", and you will definitely leave a lasting impression on them.

Usage

Wrap anything that implements the Iterator trait with qtmd

use qtmd::qtmd;
for _ in qtmd(0..10000) {
    ...
}
 76%|███████████████▉     | 7618/10000 [00:09<00:03, 782.14it/s]

Expose trait to allow method chaining

use qtmd::{Iter, Style};
for _ in (0..).take(10000).qtmd().style(Style::Balloon) {
    ...
}
 47%|**********.          | 4792/10000 [00:06<00:06, 783.39it/s]

Well...

Enough jokes, don't use this crate in your projects. And never say "qù tā mā de", it's rude.

For original crate: tqdm.