plac
xontrib-pipeliner
plac | xontrib-pipeliner | |
---|---|---|
1 | 1 | |
289 | 56 | |
- | - | |
5.8 | 6.0 | |
3 months ago | 14 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" 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.
plac
-
Shells Are Two Things
The proposed solution of an API with a thinly wrapped auto-generated CLI is not terrible. I have heard it is common within Google, for example.
In the Python world, there are various solutions starting from https://github.com/ialbert/plac or https://argh.readthedocs.io/en/latest/ and moving on to https://github.com/pallets/click or https://github.com/Lucretiel/autocommand and probably N others.
Personally, I prefer Nim to Python which has https://github.com/c-blake/cligen. As mentioned in https://github.com/c-blake/cligen/blob/master/MOTIVATION.md, but not in the article, the overhead of dispatch to a program in shell REPLs can also be thousands to millions of times higher than an API call.
xontrib-pipeliner
-
Shells Are Two Things
There is a python-based shell https://xon.sh with a plugin that allows piping :)
https://github.com/anki-code/xontrib-pipeliner
What are some alternatives?
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
clamshell - experimenting with a python based shell
click - Python composable command line interface toolkit
cligen - Nim library to infer/generate command-line-interfaces / option / argument parsing; Docs at
mazzle - run server for building large and complicated consistent environments http://devops-pipeline.com
oil - Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
xontrib-prompt-starship - Starship cross-shell prompt in xonsh shell.