RunM
RunM is an opinionated version of subprocess, making it just that little bit more convenient to run shell commands from within Python code.
It is reasonably straightforward: ` import runm runm.run("echo it works") #=> returns 'it works\n' runm.run("echo 1 2 5 |cat") #=> returns '1 2 5\n' ` When a command that fails is run e.g. ` runm.run("cat /not_a_file") ` an exception is raised just like subprocess. However, the error message generated includes STDERR and STDOUT, which is more convenient for debugging.
Installation
commandeer can be installed by unzipping the source code in one directory and using this command:
sudo python setup.py install
You can also install it directly from the Python Package Index with this command:
sudo pip install runm
Licence
See file LICENCE.txt in this folder
Contribute
RunM is an open-source software. Everyone is welcome to contribute !
Metadata
Release files for runm 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| runm-0.0.2.tar.gz | 6.0 kB | Without provenance | Details for runm-0.0.2.tar.gz |
Release files / runm-0.0.2.tar.gz
| Download URL | runm-0.0.2.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
def316cc83b0a06046c19010532e519a93a3ca5828933365090cacbd3a56da94
|
|
BLAKE2b-256 checksum How to use checksums |
82672e1683ac062e9cb9ba4b0b9aad3103678dbb6126e1f0ff775dc5fe53f868
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for runm 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.