ryry Python Tool
The ryry Python Tool is a official tool, you can use it to Register device to ryry server, other person can use ryry Application assign tasks to you for implementation
Installation
The ryry requires Python 3.10.6 or later.
Installing
pip install ryry-cli
Uninstalling
pip uninstall ryry-cli
Use
1. Running
$ ryry service start
start a process to wait for the server to issue tasks. Please do not close it
Module Developer
$ ryry widget init
in empty folder, use above command craete a ryry module, structure is like
[widget folder]
|-- config.json //*required, do not change*
|-- main.py //*required, do not change*
|-- run.py
if other person share widget code to you , you can add widget path in your computer to ryry environment
$ ryry widget add [path_with_widget_code]
you can modify script and h5 file yourself, then publish to ryry sever
$ ryry widget publish
get ryry status $ ryry services status
Installation temporary files
Widget dependency installation and CLI self-upgrades run pip with a 30-minute
execution timeout. Each run selects a usable temporary location from TMPDIR,
TEMP, and TMP, in that order, falling back to Python's default temporary
directory. It creates an owned ryry-pip-<uid>/run-* workspace there on Unix
(ryry-pip/run-* on Windows), then sets all three variables to that workspace
for pip and its children only. No writable home directory is required. The
runner removes the workspace after success, failure, or timeout. On timeout it
terminates pip and its build child processes before removing temporary files.
On macOS/Linux, the next pip run also removes abandoned owned workspaces older
than 24 hours. A file lock inherited by pip protects workspaces still in use.
Windows performs per-run cleanup but does not perform the abandoned-workspace
sweep. These rules do not delete historical pip-* directories elsewhere or
pip's shared download/wheel cache.
Automatic widget updates and deployments persist a 30-minute cooldown after
failure under ryry/_runtime/widget-updates/. A different target version can be
attempted immediately; manual installation is not subject to this cooldown.
Wheel updates verify the installed version and, when available, the active
widget configuration before reporting success.
Run the offline regression tests with:
python -m unittest discover -s tests -v
TLS certificates
WSS verifies both the certificate chain and hostname. By default it retains
system trust and adds the CA bundle used by Requests, so fresh python.org macOS
installs with an empty default CA store can connect securely. Explicit
WEBSOCKET_CLIENT_CA_BUNDLE, SSL_CERT_FILE, and SSL_CERT_DIR settings keep
their existing behavior. Otherwise, REQUESTS_CA_BUNDLE or CURL_CA_BUNDLE
can select a custom CA store. Invalid certificates are never accepted as a
fallback. HTTP, uploads, proxy nodes, and managed pip keep TLS verification.
On a Python 3.11 installation from python.org, that Python installation's certificate setup can also be completed by running:
/bin/bash "/Applications/Python 3.11/Install Certificates.command"
Restart the service after certificate setup or after installing the updated CLI.
Metadata
Release files for ryry-cli 7.36
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ryry_cli-7.36-py3-none-any.whl | Python 3 | none | any | Details for ryry_cli-7.36-py3-none-any.whl |
Release files / ryry_cli-7.36-py3-none-any.whl
| Download URL | ryry_cli-7.36-py3-none-any.whl |
|---|---|
| Size | 161.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2eaeb4c22a4969266375457f63f4090424a5680f036f410d20199d70a8f0028
|
|
BLAKE2b-256 checksum How to use checksums |
c1af051eb4ab615bdd3e8c35812b51ba54dec78c53ced1fb26ce6042517d586a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Security for ryry-cli 7.36
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.