Software Alternatives & Reviews

Write Posix Shell

acme.sh DoIt
  1. A pure Unix shell script implementing ACME client protocol and deploying SSL certificates.

    #Software Development #Security & Privacy #Web Servers 38 social mentions

  2. 2
    Task management & automation tool.
    Pricing:
    • Open Source
    If you code in Python, your probably should use the language as much as possible and avoid calling shell commands. E.G: - manipulate the file system with pathlib - do hashes with hashlib - zip with zipfile - set error code with sys.exit - use os.environ for env vars - print to stderr with print(..., file=...) - sometimes you'll need to install lib. Like, if you want to manipulate a git repo, instead of calling the git command, use gitpython (https://gitpython.readthedocs.io/en/stable/) But if you don't feel like installing a too many libs, or just really want to call commands because you know them well, then the "sh" lib is going to make things smoother: https://pypi.org/project/sh/ Also, enjoy the fact Python comes with argparse to parse script arguments (or if you feel like installing stuff, use typer). It sucks to do it in bash . If what you need is more build oriented, like something to replace "make", then I would instead recommend "doit": https://pydoit.org/ It's the only task runner that I haven't run away from yet. Remember to always to everything in a venv. But you can have a giant venv for all the scripts, and just she-bang the venv python executable so that it's transparent. Things don't have to be difficult.

    #Project Management #Hardware #Electronics 14 social mentions

Discuss: Write Posix Shell

Log in or Post with