Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
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.
I would use Python much less often if it weren’t for Poetry [1], but with it I’ve never had a colleague fail to get a script running.
[1] https://python-poetry.org/
It is now the niche of Next Generation Shell. Totally not humble and biased opinion... maybe. You are very welcome to make your own judgement - https://ngs-lang.org/
Not sure if someone mentioned it already, but for such use cases Xonsh[1] is amazing.
It allows you to use shell stuff in a python script. Basically it allows you to use the best of both worlds, i. e. you can use python for the logic flow while retaining all your quick shell oneliners when neede. And it makes this interaction of python and shell super convenient, i. e. run your oneliner but process its output with python. Much faster than coding everything in python or in shell.
[1]: https://xon.sh/
That's cool. I'm curious how it differs from e.g. ABS...
https://www.abs-lang.org/
It was enjoyable to use for a project recently.
And if you're conflicted between thinking both they and "but go is nice and static and free of runtime", you can look at https://crystal-lang.org/ Ruby syntax with static compilation for your tools.
Has anyone else used https://github.com/google/zx here?
I've started using that instead of bash script and js/node/deno scripts. it's kind of a nice combination of things.
the only pain with this is writing to files. > doesn't just work.
That's easily solved with http://www.shellcheck.net/
I loathe nearly all man pages, they are written in a manner that is as over the top and an absolute chore to digest. I believe it is a form on programmer one-upmanship, it is largely unnecessary and stalls common usage massively.
I made this recently and tried very hard to make it so that the vast majority of people that could use the command line could grasp what it did, usage is trivial:
https://github.com/tux2bsd/freebsd-update-probe
I guess what I'm saying is I like documentation written for humans (which you do).