This is an attempt to create a Python library to communicate with QSYS QSC Cores or the QSYS Designer in emulation mode over their QRC (JSONRPC 2.0) protocol. The aim of this project is to provide a high level interface while also exposing the bare QRC methods.
- Bare QRC methods
- High level interface
pip install jsonrpcclient pyqsys
Create a Core object and just call the methods with the correct arguments.
from pyqsys import Core
core = Core("192.168.0.135")
core.connect()
# If you need to log on to your QSC core use
core.logon("username", "password")
# Request status message
core.status_get()
# Get a names and values of all controls of a component
core.Component.get_controls(component_name)
# Load snapshot
core.Snapshot.load(bank_name, bank_number, ramp)- QRC API Reference
- Inspired by https://github.com/gagehelton/qsys