Skip to main content

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.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rishlib 0.2.0
File Size Uploaded Provenance
rishlib-0.2.0.tar.gz 2.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for rishlib 0.2.0
File Interpreter ABI Platform
rishlib-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.3 kB

Release files / rishlib-0.2.0.tar.gz

Download URL rishlib-0.2.0.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7b6c12d644b2888e29f90a29697428d634dcc0c725dd255c826e8e173c1317fc
BLAKE2b-256 checksum
How to use checksums
34b93d7bf88f60927e333c91d779640c975c775b24c52fe62a644d64e7976781
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.2.0-py3-none-any.whl

Download URL rishlib-0.2.0-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
19c1fbfff7b229a667160fadc2017d552bf3d1ec3a493085cce1eab345a85cc4
BLAKE2b-256 checksum
How to use checksums
e10476def11374d425d65fee75f387818f96567ba3300e6b5a99250a0c6e174b
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.2.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page