Re:Ruby terminal apps toolkit
by PerusingAround on Sunday January 29, 2017 @12:45AM
(#13512421)
Is there something similar but for Python?
[ Parent
| on HN ]
Re:Ruby terminal apps toolkit
by throwawayish on Sunday January 29, 2017 @10:04AM
(#13514391)
I don't think anything is missing, but you don't get it all in one package.
click ( http://click.pocoo.org/6/ ) has a lot of this stuff in one package, but not everything, eg. composable command lines, progress bars, spinners, prompts, bash completion, colors, paging, launching common applications ($EDITOR) 'n stuff like that.
pyinvoke has a somewhat different focus, but also quite some stuff similar to this.
clint ( https://github.com/kennethreitz/clint ) is another bag of tools, with things like awesome tables, colors, progress bars, ...
The Cement CLI framework for python looks similar: http://builtoncement.com/
lots of cli frameworks around... but most arent as comprehensive or well documented as the OPs.
i personally like plumbum, but its definitely not the same. https://github.com/tomerfiliba/plumbum
Re:Ruby terminal apps toolkit
by general_ai on Sunday January 29, 2017 @04:15AM
(#13513242)
+1, would be great to have something like that as an integrated toolkit on the Python (more specifically, Python 3) side. I currently use tqdm for progress bar, but it'd be great to also have a spinner and the rest of the goodies.