sh
sucks
sh | sucks | |
---|---|---|
24 | 3 | |
6,862 | 254 | |
- | - | |
6.8 | 10.0 | |
about 2 months ago | almost 4 years ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 only |
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.
sh
- sh: Python Process Launching
-
Acme.sh runs arbitrary commands from a remote server
I usually replace shell scripts with python (using sh module: https://amoffat.github.io/sh/ for calling other scripts/programs).
-
The Right Way to Run Shell Commands from Python
> sh relies on various Unix system calls and only works on Unix-like operating systems - Linux, macOS, BSDs etc. Specifically, Windows is not supported.
from: https://amoffat.github.io/sh/
-
Anyone have any tips for developing on Windows?
You can even run interpreted languages as a shell. See plumbum or sh for ways to make it a more comfortable shell and ipython for a better version of the shell.
- Python “Sh” Module
-
Argbash – Bash Argument Parsing Code Generator
100% agree. There are some libraries like https://amoffat.github.io/sh/ that aim to make that easier, but they always have some quirks that, funnily enough, are often the corner cases you were hitting in your complicated Bash script in the first place.
-
Unix bash scripting versus Python - any resources out there for comparisons?
Another way to make Python scripts nicer is to use https://github.com/amoffat/sh
- Show HN: Clamshell- an experimental Python based shell
-
Useful Python Modules for us
pdbpp: Improved pdb boltons: assorted python addtions twisted: event driven networking framework sorcery: Dark magic in python, things know where+how they are being called, helps reducing boilerplate sh: Better alternative for subprocess module, much more pythonic taskipy: npm run scipt_name like functionality snoop: pdb lite, record+replay function steps birdseye: graphical debugger remote-pdb: easy pdb from inside containers typer: wrapper around click for simpler code for CLIs arrow: Always TZ aware datetimes, plus more features more-itertools: more functions for iterators pydantic: data validation + dataclasses loguru: better logging notifiers: sending notifications from python
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
Sh sh and outside python, watch watch
sucks
-
Ladybird: A new cross-platform browser project
This is correct, and it's why most open-source software will never have much in the way of users:
> They're written from the perspective of the developers
And I get it. A few years back I had an open-source project [1] get users and it was terrible. What had previously been a fun technical exercise became a pain in the ass that felt a lot like actual work. I was relieved when my hardware broke and I had an excuse to archive the project.
But that does create a huge gap that mostly gets filled by commercial interests.
[1] https://github.com/wpietri/sucks
-
Professional maintainers: a wake-up call
It seems like you haven't quite got the concept of open source. If everybody consumes and nobody contributes, how long will that last?
A while back I bought a cheap robot vacuum. Their scheduling feature didn't meet my needs, so I reverse-engineered the protocol and open-sourced a cron-friendly CLI tool and a library so people could do other things with it: https://github.com/wpietri/sucks
Honestly, this was a mistake on my part. It was a demanding audience of home-automation hobbyists mostly without programming skills. The company was thoroughly unhelpful. When my vacuum finally broke, I was relieved, as I had a good excuse for trying to hand off the project. Nobody stepped up, so I shut it down. I just ran out of interest in doing free work to support a company worth billions.
I really admire the community spirit of open source But it's not sustainable if companies making their money off it keep depending on the niceness and generosity of others without giving back enough to keep them happy, healthy, productive people.
-
XMPP, a Comeback Story: A Protocol for Robust, Private and Decentralized Comms
I reverse-engineered the comms for my cheap Ecovacs robot vacuum and was surprised to discover that, like some angsty teen, it spent all day hanging out in an XMPP chatroom waiting for somebody to talk to it: https://github.com/wpietri/sucks/blob/master/developing.md
What are some alternatives?
Delegator.py - Subprocesses for Humans 2.0.
cinny - Yet another matrix client
envoy
matrix-bifrost - General purpose bridging with a variety of backends including libpurple and xmpp.js
sarge
meshnet-lab - Emulate huge mobile ad-hoc mesh networks using Linux network namespaces.
tkterminal - Terminal widget for Tkinter library.
polyjuice_server
xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.
selling-partner-api - A PHP client library for Amazon's Selling Partner API
zx - A tool for writing better scripts
deon - DeObject Notation Format