aminnj / Cpptqdm
Licence: mit
(unofficial) tqdm-like single header c++ pretty progress bar
Stars: ✭ 109
Programming Languages
cpp
1120 projects
Labels
Projects that are alternatives of or similar to Cpptqdm
React Customizable Progressbar
Customizable circular progress bar component for React 🍩
Stars: ✭ 37 (-66.06%)
Mutual labels: progressbar
Segmentedarcview
Unique & beautiful segmented arc view with rich customisation options! RTL supported.
Stars: ✭ 67 (-38.53%)
Mutual labels: progressbar
Ruby Progressbar
Ruby/ProgressBar is a text progress bar library for Ruby.
Stars: ✭ 1,378 (+1164.22%)
Mutual labels: progressbar
Toothyprogress
A polyline determinated ProgressBar written in Kotlin
Stars: ✭ 56 (-48.62%)
Mutual labels: progressbar
Android Holocircularprogressbar
Holo Circular ProgressBar
Stars: ✭ 966 (+786.24%)
Mutual labels: progressbar
Spinner
Go (golang) package with 90 configurable terminal spinner/progress indicators.
Stars: ✭ 1,637 (+1401.83%)
Mutual labels: progressbar
Pictureprogressbar
a ProgressBar with Picture and Animation
Stars: ✭ 100 (-8.26%)
Mutual labels: progressbar
Progress Bar
Multiplatform netstandard 2.0 C# console progress bar, with support for single or multithreaded progress updates.
Stars: ✭ 53 (-51.38%)
Mutual labels: progressbar
Googleprogressbar
Android library to display progress like google does in some of his services.
Stars: ✭ 1,286 (+1079.82%)
Mutual labels: progressbar
Progressbar.js
Responsive and slick progress bars
Stars: ✭ 7,499 (+6779.82%)
Mutual labels: progressbar
Progressmeter
Measuring the progress with annotations 🔱
Stars: ✭ 107 (-1.83%)
Mutual labels: progressbar
Downloadprogressbutton
An awseome Download Progress Button with Progress.(带下载进度的按钮)
Stars: ✭ 106 (-2.75%)
Mutual labels: progressbar
Delayedprogress
ProgressDialog that waits a minimum time to be dismissed before showing. Once visible, the ProgressDialog will be visible for a minimum amount of time to avoid "flashes" in the UI.
Stars: ✭ 95 (-12.84%)
Mutual labels: progressbar
cpptqdm
Python tqdm
is nice. Need something similar for C++. That's this.
Simple usage
#include "tqdm.h"
tqdm bar;
for(int i = 0; i < N; i++) {
bar.progress(i, N);
// stuff
}
bar.finish();
Looks like
█████████████████▍ | 46.2% [4200000 | 103.66 kHz | 35s<47s]
See it live
g++ test.cpp -std=c++11 && ./a.out
FAQ
Won't this slow down my loops?
If your loops are faster than ~200MHz, then maybe!
Themes?
You bet. set_theme_basic(), set_theme_line(), set_theme_circles()
.
For fun, what if I wanted to use this in python?
If you have ROOT, you can do the following. Note that due to the fact it uses ROOT to call C++ code in Python, loops faster than 1kHz start to get slowed down by the overhead.
import time
import ROOT as r
r.gROOT.ProcessLine(".L tqdm.h")
bar = r.tqdm()
N = 10000
for i in range(N):
bar.progress(i,N)
time.sleep(0.001)
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].