Skip to main content

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

Metadata

Release files for ryry-cli 7.34

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

Built distribution (wheel)

Table of built distributions (wheels) for ryry-cli 7.34
File Interpreter ABI Platform
ryry_cli-7.34-py3-none-any.whl Python 3 none any Details

Release files / ryry_cli-7.34-py3-none-any.whl

Download URL ryry_cli-7.34-py3-none-any.whl
Size 160.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d3b51ceced7aed004b9f779b869751352ffe4e77f9f0eab32b78edfa17c38fc
BLAKE2b-256 checksum
How to use checksums
bf80dbe5f1e7232d9827b8028782820e53fc067c0c7f39190b761a965eb6203d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

7.34 This release

1 release file

7.33

1 release file

7.32

1 release file

7.31

1 release file

7.30

1 release file

7.29

1 release file

7.28

1 release file

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