It&#x27;s only around 100 lines of code. Should be easy to replicate in language of choice:
<a href="https:&#x2F;&#x2F;github.com&#x2F;noamraph&#x2F;tqdm&#x2F;blob&#x2F;master&#x2F;tqdm.py" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;noamraph&#x2F;tqdm&#x2F;blob&#x2F;master&#x2F;tqdm.py</a>