3 ms·
That's some more indirection, besides putting a disconnected python file in the project directory. I'm not sure whether it's suggested to install it globally,
by benatkin 3y ago
That's some more indirection, besides putting a disconnected python file in the project directory.
I'm not sure whether it's suggested to install it globally, as a development dependency with poetry/similar, or with pipx https://pypa.github.io/pipx/ https://pypa.github.io/pipx/
The "import sh" thing could have some users installing this package https://pypi.org/project/sh/ https://pypi.org/project/sh/
This in addition to it being known as "j". It has at least 3 names, jeeves, j, and sh.
- yeti-sh 3y agoFor a Python project, I'd recommend doing this as a dev dependency. * jeeves is the name of the project which I'm advertising, which converts a Python file to a set of commands; * `j` is the name of executable which aformentioned project exposes; * and `sh` is the library (the correct link to which you have provided) which is an optional dependency of `jeeves` and provides a more convenient interface to calling processes and executing commands from Python than `subprocess.run()`.