MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / TqdmProgress

Class TqdmProgress

python/collaboration/examples/multitool.py:265–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 from tqdm import tqdm
264
265 class TqdmProgress(tqdm):
266 def __init__(self, *args, **kwargs):
267 kwargs['total'] = 100
268 super(TqdmProgress, self).__init__(*args, **kwargs)
269
270 def progress(self, cur, max):
271 new_n = cur / max * self.total
272 self.update(new_n - self.n)
273 return True
274
275except ImportError:
276 # Stub class

Callers 2

mainFunction · 0.70
__enter__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected