clamshell
xonsh
clamshell | xonsh | |
---|---|---|
8 | 112 | |
58 | 8,023 | |
- | 1.3% | |
0.9 | 8.9 | |
about 1 year ago | 6 days ago | |
Python | Python | |
MIT 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.
clamshell
-
Shells Are Two Things
This is well made case - but I'm not sure I buy the central argument. Within some basic limits, I don't think terseness and readability have the contradiction made out here, because in programming we have abstraction, which gives us both.
To take the example command that's given:
beef.txt | grep "lasagna" | sort -n | uniq
Sure, writing the logic out for this in something like python straight out the bat with only the standard library might look messy, but with one basic convenience function it could quickly be:
search(for='lasagna', in='beef.txt', clear_duplicates=False).sorted()
Obviously you have to write the function in the first place, but I'd say if you're doing something like this often, it's easily worth spending that 2 minutes. And if you're not doing this often, you'll have a faster time writing more code, but keeping less heavy lifting of "how does bash pipe together" in your head.
I shared a project here a few weeks ago experimenting with what my dream shell might look like, what surprised me more than anything else, was how easy writing a repl environment actually is. I put a scrappy one together as one person in a few hours, so I don't understand why as developers we've reached general language models before being able to make a powerful, but new-user friendly shell.
Also, completely unrelated note, but posix only allows passing back strings - but isn't this true of web apis too which we use all the time? How come no json as a standard passback from programs?
Shameless plug for the project I mentioned earlier: https://github.com/benrutter/clamshell
-
This Week In Python
clamshell – experimenting with a python based shell
- FLiP Stack Weekly 28 Jan 2023
- FLiP Stack Weekly 28-Jan-2023
- Show HN: Clamshell- an experimental Python based shell
-
Clamshell- an experimental, interactive shell
Check it out here!
- Clamshell- an experimental, interactive daily shell
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
What are some alternatives?
shell-genie - Your wishes are my commands
nushell - A new type of shell
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
fish-shell - The user-friendly command line shell.
streamnative-rest-stocks
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
xontrib-pipeliner - Let your pipe lines flow thru the Python code in xonsh.
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
sematic - An open-source ML pipeline development platform
PowerShell - PowerShell for every system!
python-functown - Helper library for Azure Function programming
zx - A tool for writing better scripts