clamshell
FLiPStackWeekly
clamshell | FLiPStackWeekly | |
---|---|---|
8 | 81 | |
58 | 14 | |
- | - | |
0.9 | 9.9 | |
about 1 year ago | 4 days ago | |
Python | ||
MIT License | Apache License 2.0 |
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
FLiPStackWeekly
What are some alternatives?
shell-genie - Your wishes are my commands
gorilla-cli - LLMs for your CLI
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
awk-raycaster - Pseudo-3D shooter written completely in gawk using raycasting technique
streamnative-rest-stocks
litellm - Call all LLM APIs using the OpenAI format. Use Bedrock, Azure, OpenAI, Cohere, Anthropic, Ollama, Sagemaker, HuggingFace, Replicate (100+ LLMs)
xontrib-pipeliner - Let your pipe lines flow thru the Python code in xonsh.
modelscope - ModelScope: bring the notion of Model-as-a-Service to life.
sematic - An open-source ML pipeline development platform
create-nifi-pulsar-flink-apps - How to create a real-time scalable streaming app using Apache NiFi, Apache Pulsar and Apache Flink SQL
python-functown - Helper library for Azure Function programming
FLiP-PulsarSummit2022Asia - FLiP-PulsarSummit2022Asia: Pulsar Summit Asia 2022