subb
mpb
subb | mpb | |
---|---|---|
2 | 3 | |
2 | 2,245 | |
- | - | |
0.0 | 8.8 | |
about 2 years ago | about 1 month ago | |
Python | Go | |
MIT License | The Unlicense |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
subb
-
Bashing the Bash – Replacing Shell Scripts with Python
I wrote this to simplify just that for my own tools; the subprocess module that comes with the batteries has a very general interface, i think that it is a bit complex for a quick script.
https://github.com/MoserMichael/subb
https://pypi.org/project/subb/
Python doesn't have the problem of shell scripting language, it doesn't get impractical, as the program is getting more complex. In bash you have arrays, and even maps, but these aren't pretty. Also the shell scripting language is being evaluated by an parse tree/AST interpreter, that's significantly slower than even python, in it's byte code interpreted form.
My objective was to get an abstraction, for a one line process run and extraction of the result, similar to what we had in Perl5 with the system library function. https://perldoc.perl.org/functions/system
Also the shell is impractical, when it comes to slightly more complex programs. There is a limit on what you can do with pipes. Maybe that's the reason why perl is that flexible, as they tried to bridge both realms: Perl had to be useful as a replacement for the quick shell like script, and to be useful as a general purpose programming language.
-
tqdm (Python)
i have a subprocess wrapper, might also be of help: https://github.com/MoserMichael/subb
mpb
-
Looking for a package that can show multi-lined, multiple progress bar
You might suggest using mpb but I don't think mpb would fit my desire, because it is mainly for 'one line for one progress bar'.
- Create multi-line loading bars?
-
tqdm (Python)
While not having all the tqdm features, i find mpb to be quite good actually.
https://github.com/vbauerster/mpb
What are some alternatives?
Task - A task runner / simpler Make alternative written in Go
go-isatty
Bash-web-server - A purely bash web server, no socat, netcat, etc...
uiprogress - A go library to render progress bars in terminal applications
textual - The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.
chalk - Intuitive package for prettifying terminal/console output. http://godoc.org/github.com/ttacon/chalk
chime - 🎵 Python sound notifications made easy
frep - Generate file using template from environment, arguments, json/yaml/toml config files
sh - Python process launching
termui - Golang terminal dashboard
bashttpd - A web server written in bash
termenv - Advanced ANSI style & color support for your terminal applications