Openrgb-python

Latest version: v0.3.2

Safety actively analyzes 682361 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.1.0

0.0.7

Previously devices with zones with matrices (keyboards) would cause errors during initialization, but they now work! There is also an new example: `keyboard-test.py`. You are also now able to load and edit OpenRGB profiles without having the sdk connected.
For example:
python
from openrgb.utils import Profile
with open("/path/to/profile.orp", "rb") as f:
p = Profile.unpack(f)
p.controllers[0].active_mode = 3
with open("/path/to/new/profile.orp", "wb") as f:
f.write(p.pack())


Install with
bash
pip3 install openrgb-python

or if you use Arch Linux, you can use the new AUR package created by GabMus
bash
yay -S python-openrgb-git

0.0.5

0.0.4

This update allows you to save and load OpenRGB profiles. Saved profiles can be accessed by the OpenRGB gui application when placed in the ~/.config/OpenRGB directory. Also, now mode information will be more accurate because it now filters out garbage data by actually paying attention to the ModeFlags.

python
from openrgb import OpenRGBClient
cli = OpenRGBClient()

cli.load_profile("rainbow") "rainbow" could be any profile created either from the GUI or this client


python
from openrgb import OpenRGBClient
cli = OpenRGBClient()

cli.clear()
cli.save_profile("off") this profile can now be accessed from the GUI application once you restart it

0.0.3

In this update the ability to set a device's mode was added!
python
from openrgb import OpenRGBClient

cli = OpenRGBClient()
cli.devices[0].set_mode(0) by mode id
cli.devices[1].set_mode('spectrum cycle') by mode name
cli.devices[2].set_mode(cli.devices[2].modes[5]) by passing a ModeData object

0.0.2

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.