pyxargs VS clamshell

Compare pyxargs vs clamshell and see what are their differences.

pyxargs

Command line Python scripting with an xargs-like interface and AWK-like capabilities for data processing and task automation (by elesiuta)

clamshell

experimenting with a python based shell (by benrutter)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
pyxargs clamshell
4 8
4 58
- -
8.6 0.9
about 2 months ago about 1 year ago
Python Python
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

pyxargs

Posts with mentions or reviews of pyxargs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-23.
  • Modern Linux Tools vs. Unix Classics: Which Would I Choose?
    5 projects | news.ycombinator.com | 23 Sep 2023
    > I too can never remember jq syntax when I need to. I usually just end up writing a Python script

    Same here! That's why for small things I made pyxargs [1] to use python in the shell. In another thread I also just learned of pyp [2] which I haven't tried yet but looks like it'd be even better for this use case.

    [1] https://github.com/elesiuta/pyxargs

    [2] https://github.com/hauntsaninja/pyp

  • Alternative Shells
    2 projects | news.ycombinator.com | 23 Aug 2023
    I personally use fish, but mostly for the out of the box auto completions and highlighting, I don't use it for actual scripting, nor have it set as the login shell due to the 2nd reason you mentioned.

    I mostly use python as well, and for some short commands I made pyxargs [1] which lets you run python code on stdin, or a walk of your current directory.

    [1] https://github.com/elesiuta/pyxargs

  • Ask HN: Share a shell script you like
    17 projects | news.ycombinator.com | 13 Aug 2023
    pyxargs --py "print('{}') if os.path.ismount('{}') else ''" | pyxargs fusermount -u {}

    My primary use case was using this with ffmpeg due to the encoding problem with xargs [2].

    It can also run commands in parallel using a terminal multiplexer so outputs don't get mixed up or if they require user input.

    [1] https://github.com/elesiuta/pyxargs

  • Show HN: Clamshell- an experimental Python based shell
    5 projects | news.ycombinator.com | 28 Jan 2023

clamshell

Posts with mentions or reviews of clamshell. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-08.
  • Shells Are Two Things
    11 projects | news.ycombinator.com | 8 Feb 2023
    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
    5 projects | dev.to | 3 Feb 2023
    clamshell – experimenting with a python based shell
  • FLiP Stack Weekly 28 Jan 2023
    20 projects | dev.to | 30 Jan 2023
  • FLiP Stack Weekly 28-Jan-2023
    20 projects | dev.to | 29 Jan 2023
  • Show HN: Clamshell- an experimental Python based shell
    1 project | /r/hypeurls | 28 Jan 2023
    5 projects | news.ycombinator.com | 28 Jan 2023
  • Clamshell- an experimental, interactive shell
    1 project | /r/Python | 28 Jan 2023
    Check it out here!
  • Clamshell- an experimental, interactive daily shell
    1 project | /r/Python | 28 Jan 2023

What are some alternatives?

When comparing pyxargs and clamshell you can also consider the following projects:

fuz - Fuzzy search text / notes in the terminal, for any collection of text files

shell-genie - Your wishes are my commands

spellbook - 🪄 Shell and Powershell scripts registry

logs-benchmark - Logs performance benchmark repo: Comparing Elastic, Loki and SigNoz

pyp - Easily run Python at the shell! Magical, but never mysterious.

streamnative-rest-stocks

dotfiles

xontrib-pipeliner - Let your pipe lines flow thru the Python code in xonsh.

gron - Make JSON greppable!

sematic - An open-source ML pipeline development platform

bf.jq - Brainfuck interpreter written in jq -- This is the proof that jq is turing-complete!

python-functown - Helper library for Azure Function programming