plac
xonsh
plac | xonsh | |
---|---|---|
1 | 112 | |
289 | 8,062 | |
- | 1.8% | |
5.8 | 8.9 | |
3 months ago | 4 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | GNU General Public License v3.0 or later |
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.
xonsh
-
This Week In Python
xonsh – Python-powered, cross-platform, Unix-gazing shell
- FLaNK Stack Weekly 19 Feb 2024
- Xonsh is a Python powered shell
-
Xonsh: Python-powered, cross-platform, Unix-gazing shell
You need to downgrade ptk version. Look here - https://github.com/xonsh/xonsh/issues/5241#issuecomment-1961...
-
Google ZX – A tool for writing better scripts
Friends, I'm not saying that tools like zx are not good. I do like to write some scripts using js/ts. I believe pythoners prefer https://xon.sh/ . Perl is also attractive and interesting. Fish is friendly.
However, I still believe that posix-shell has its own advantages. The balance among size, code length, and expressiveness. I think the only possible competitors are tcl and perl, maybe lua.
- Xonsh – A Python-Powered Shell
- Xonsh
-
Shh: Simple Shell Scripting from Haskell
Those of you who use (or used) this as your shell: care to share your experience?
It seems a lot less full-featured than https://xon.sh/, but maybe you don't need a lot of bells and whistles for regular usage. I mostly run build, execute, and install commands.
I'm somewhat enticed at the possibility of being able to wrap common executables into forms that are typed (like nushell or elvish) and manipulate them in a way that leverages the type checker.
-
Marcel the Shell
In that case, is it even more similar to xonsh?
https://xon.sh/
- Shshsh is a bridge connects Python and shell