tqdm-ruby
subb
tqdm-ruby | subb | |
---|---|---|
1 | 2 | |
271 | 2 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 2 years ago | |
Ruby | Python | |
MIT License | MIT License |
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.
tqdm-ruby
-
tqdm (Python)
Big fan of tqdm in python, so I ported it to ruby 5 years ago:
https://github.com/powerpak/tqdm-ruby
(shameless plug and an invitation for pull requests)
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
What are some alternatives?
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
Task - A task runner / simpler Make alternative written in Go
pydantic - Data validation using Python type hints
Bash-web-server - A purely bash web server, no socat, netcat, etc...
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
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.
chime - 🎵 Python sound notifications made easy
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
sh - Python process launching
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
bashttpd - A web server written in bash