Skip to main content

Rpc User Interface for Twinleaf RPCS

Project description

RUI: Rpc User Interface

RUI is a multitool for controlling Twinleaf board RPCs, featuring fuzzy searching RPC names for easy command line use and a slider GUI popup.

RUI GUI

Usage:

rui [flags] [search terms]

RUI's default behaviour is a slider interface that launches in a popup window. Search terms, if given, will use the search/select CLI pre-populate` the control panel (see below); otherwise, it will open a blank window with a search bar to add sliders with. The minimum and maximum values of sliders can be changed with the text boxes to the left and right of the slider, and sliders can be removed from the view with the trash can button.

Flags

  • --restore will reinstate RUI GUI's previous open sliders
  • --all (-a) will select all matched RPCs instead of prompting for selection
  • --exact (-e) will search for exact strings instead of fuzzy-searching
  • --multisearch (-m) will search for RPCs that match any of the space-separated search terms
  • --root (-r) and --sensor (-s) will specify the URL and route to look for a board at respectively

RUI CLI

Usage:

rui cli [flags] [search terms] [argument] # in any order

For terminal input, use RUI CLI, which asks for search terms to select one or more RPCs, and then prompts values to call them with. If search terms and/or a numeric argument are given, RUI CLI will use them without asking, otherwise it will prompt for them.

  • Exit the RUI CLI with Ctrl+C (process interrupt signal) or by typing "quit" or "exit" in any prompt.
  • Select multiple search results by inputting their indices separated by spaces, or select all results by inputting * instead of an index.
  • All RUI GUI flags except --restore will have the same functionality in RUI CLI.
  • --peek (-p) will just check the value(s) of selected RPC(s) without prompting to change

Examples

$ rui cuotff #(sic)
[ 1. bar.data.cutoff(float)
[ 2. imu.data.cutoff(float)
[ 3. mcutemp.data.cutoff(float)
[ 4. sync.data.cutoff(float)
[ 5. vrail.data.cutoff(float)
[ Select rpc(s) by , or enter terms to narrow search:
>>> 2 3 4
# GUI opens
$ rui cli decim 1 --all
[ 1. bar.data.decimation(int)
[ 2. imu.data.decimation(int)
[ 3. mcutemp.data.decimation(int)
[ 4. sync.data.decimation(int)
[ 5. vrail.data.decimation(int)
[ 
[ bar.data.decimation(int)
[ Previous value: 5
[ Reply: 1
[ 
[ imu.data.decimation(int)
[ Previous value: 100
[ Reply: 1
[ 
[ mcutemp.data.decimation(int)
[ Previous value: 1
[ Reply: 1
[ 
[ sync.data.decimation(int)
[ Previous value: 1
[ Reply: 1
[ 
[ vrail.data.decimation(int)
[ Previous value: 1
[ Reply: 1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

twinleaf_rui-1.0.0.tar.gz (45.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

twinleaf_rui-1.0.0-py3-none-any.whl (49.9 kB view details)

Uploaded Python 3

File details

Details for the file twinleaf_rui-1.0.0.tar.gz.

File metadata

  • Download URL: twinleaf_rui-1.0.0.tar.gz
  • Upload date:
  • Size: 45.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for twinleaf_rui-1.0.0.tar.gz
Algorithm Hash digest
SHA256 7174516cabdceda9785664d630d90400ca5e5a0594f7c0244842f7ebb6cbcf6c
MD5 776e7f9b8ba9d7cfe6979b6325f6c961
BLAKE2b-256 8cc85fda7ae77c2954dc70c50240ffe9a2e1e3ce4f1d4d498851f8a9960cdcc5

See more details on using hashes here.

File details

Details for the file twinleaf_rui-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: twinleaf_rui-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 49.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for twinleaf_rui-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b32adbfabc7ea2f816a197ac47aef0d0ec55a60ad83fc1edc2394c73fb429821
MD5 3b17d4671c721bf11af0bb1317eada8e
BLAKE2b-256 d70f27d70106187f8cf849c25e90ee140003dbd2c86f3d3ecdea1624ff943973

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page