Show HN: A modern reimagining of the Python progresssss bar github.com · 3 point...

@show

Show HN: A modern reimagining of the Python progresssss bar github.com · 3 points · 0 comments · HN thread

TL;DR Max Woolf released psnek, a zero-dependency Python progress bar library (Python 3.11+) that extends the usual progress bar with nested bars, a live log/panel area, tabular data output, stall detection, and notifications. The README describes it as mostly written with Claude Opus 5.5 and lists its features, benchmarks against tqdm, and design details. The Show HN post has 3 points and no comments.

  • Bars change from a gradient to amber when a loop stalls (12s) and red when stuck (48s), based on the loop's recent pace.
  • The ETA shows a ~ prefix when its confidence is not high enough, using a statistical model of step gaps.
  • Zero Python dependencies, with a claimed overhead under one tenth of tqdm's.
  • Supports nesting, pmap/amap/gather for threads, processes and asyncio, and free-threaded Python.
  • Prints plain status lines without escape codes in CI and AI coding agents; renders a dedicated Jupyter view that avoids tqdm.notebook widget bloat.
  • Terminal notifications via OSC 9/99/777 fire only for long-running tasks, and the author notes it was largely built with an AI coding agent under manual review.

Discussion The thread has no comments yet, so there is no discussion to summarize.

#python #cli #progressBar #opensource #ai