garmi-gui
GUI for the GARMI robot's face screen with remote control to show images, play videos and sounds, and render text.
Install
To install run
pip install garmi-gui
or if you're working with the code in a local clone of the repository
pip install -v -e .[dev]
Checkout the contribution guide for more details.
Run
The Python package installs executables for convenience. You can start the GUI
by simply running garmi-gui. This will start the GUI in fullscreen mode. For
development purposes it is convenient to run the GUI in windowed mode, you can
do so by executing garmi-gui --windowed.
Remote Control
The GUI is controlled remotely using xmlrpc. There is a convenience terminal
script to quickly execute GUI functions. You can run the tool by executing
garmi-gui-control --hostname <gui-hostname> where <gui-hostname> is the
hostname of the computer running the GUI.
To control the GUI from Python simply connect with an xmlrpc client and call the remote functions like this:
from xmlrpc import client
hostname = "localhost"
port = 8000
server_url = f"http://{hostname}:{port}"
proxy = client.ServerProxy(server_url)
proxy.show_image("happy.png")
proxy.play_sound("success.wav")
You may specify an absolute path to a file on the computer running the GUI, relative paths are evaluated relative to the resources directory. Checkout the documentation or the control script for a complete list of possible commands.
Requirements
To install this package you need pip >= 19.3 and SDL >= 2.0.8. You can upgrade
pip by running pip install --upgrade pip. SDL can be installed on Ubuntu
systems by executing sudo apt-get install libsdl-dev in a terminal.
Metadata
Release files for garmi-gui 1.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 | Actions |
|---|---|---|---|---|
| garmi_gui-1.1.1.tar.gz | 3.8 MB | Without provenance | Details for garmi_gui-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| garmi_gui-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for garmi_gui-1.1.1-py3-none-any.whl |
Total release size: 7.4 MB
Release files / garmi_gui-1.1.1.tar.gz
| Download URL | garmi_gui-1.1.1.tar.gz |
|---|---|
| Size | 3.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08b200d6db14edd2fe383a8289cca2cda5e1c2903992178689d93fd2fc2c5027
|
|
BLAKE2b-256 checksum How to use checksums |
3bc0934817478bd00b3d2c05930f32b0f2ca7a58e29e5658a76c982615f40940
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Release files / garmi_gui-1.1.1-py3-none-any.whl
| Download URL | garmi_gui-1.1.1-py3-none-any.whl |
|---|---|
| Size | 3.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3471475f06f9e5746b4b964f6bbee48c7fa8609be56ceb69e9f8a10ffa10cfa8
|
|
BLAKE2b-256 checksum How to use checksums |
f158f9de1d4229d1825990d9454b026a1771978b988026159dd1f07e3ba8053a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.4
|
Security for garmi-gui 1.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.