clamshell
python-functown
clamshell | python-functown | |
---|---|---|
8 | 3 | |
58 | 8 | |
- | - | |
0.9 | 1.7 | |
about 1 year ago | about 1 year ago | |
Python | 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.
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
python-functown
-
This Week In Python
python-functown – Helper library for Azure Function programming
- Show HN: Remove technical debt from Python Azure Functions
-
[Library] Library to remove boilerplate from Python Azure Functions
I recently got annoyed by all the boilerplate in my Functions, so created a little library to remove make them leaner and more streamlined. Thought that others in this community might benefit from that as well (hope that it is according to share libraries in this forum): https://github.com/felixnext/python-functown
What are some alternatives?
shell-genie - Your wishes are my commands
sematic - An open-source ML pipeline development platform
logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz
gracy - Gracy helps you handle failures, logging, retries, throttling, and tracking for all your HTTP interactions.
streamnative-rest-stocks
django-prose - Wonderful rich-text editing for your Django project
xontrib-pipeliner - Let your pipe lines flow thru the Python code in xonsh.
carbonyl - Chromium running inside your terminal
AppsList - A list of apps to build
runlike - Given an existing docker container, prints the command line necessary to run a copy of it.
click - Python composable command line interface toolkit