terminal/cli/python helpers for colour and pretty-printing
recording_1752064579.mp4
pbar.mp4
from laser_prynter import pbar
with pbar.PBar(100) as bar:
for i in range(100):
# do something
bar.update()recording_1752062696.mp4
from laser_prynter import bench
bench.bench(
tests=[
(
(range(2),), # args
{}, # kwargs
[0,1], # expected
)
],
func_groups=[ [list] ],
n=100
)