rishlib
python library that can run cmds with rish!
how to install
pip install rishlib
How to use
from rishlib import Rish
env = Rish.setup(app="com.termux") #default = "com.termux"
output = Rish(cmd).run(env=env, pref="./rish", c=True, timeout=10)
# use setup() to setup your rish
# fill pref arg with "./rish" if your current directory is in rish directory, if not do not fill pref arg
# c is for "-c"
Features
| Function | Result |
|---|---|
Rish.setup() |
Setup your rish by setting the RISH_APPLICATION_ID and return the enviroment dict |
Rish(cmd).run(env, pref, c, timeout) |
Run program and return the results |
LISCENSE
MIT
Metadata
Release files for rishlib 0.1.1
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 | |
|---|---|---|---|---|
| rishlib-0.1.1.tar.gz | 1.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rishlib-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.9 kB
Release files / rishlib-0.1.1.tar.gz
| Download URL | rishlib-0.1.1.tar.gz |
|---|---|
| Size | 1.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
894b3a374893d8095424e9bdc3ad84a253c5fcef550647cf280858f14a7d7401
|
|
BLAKE2b-256 checksum How to use checksums |
b8f787c0955460ea38a59fb7badee0843203501f016d5f87395252f7a0775e50
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / rishlib-0.1.1-py3-none-any.whl
| Download URL | rishlib-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2abc3ee2847a04788a74b7923db5a42ebcab2a7919d143eacb7b331093d629a9
|
|
BLAKE2b-256 checksum How to use checksums |
3d7439620d80bcfc7a00d89ed6d2f803f02403c62edfef275fcfc5c564b28c6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for rishlib 0.1.1
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.