cue-sdk-python
Intro
This repository is dedicated for a cuesdk package on PyPI
cuesdk package is a ctypes-based CUE SDK binding for Python 3
Requirements
cuesdk can be used on the following platforms:
- Windows 7 (x64);
- Windows 8, 8.1 (x64);
- Windows 10 (x64);
- Windows 11 (x64);
- macOS 10.13;
- macOS 10.14;
- macOS 10.15;
- macOS 11;
Prerequisites
- Python 3.9 or higher. Support for earlier versions of Python is not provided. Python 2.7 or lower is not supported.
Windows
- iCUE for Windows
- Microsoft Visual C++ Redistributable for Visual Studio 2019.
macOS
Installing
You can install the package from PyPI:
# Windows
$ py -3 -m pip install -U cuesdk
# macOS
$ python3 -m pip install -U cuesdk
Usage
from cuesdk import (CueSdk, CorsairDeviceFilter, CorsairDeviceType, CorsairError)
sdk = CueSdk()
def on_state_changed(evt):
print(evt.state)
err = sdk.connect(on_state_changed)
details, err = sdk.get_session_details()
print(details)
devices, err = sdk.get_devices(
CorsairDeviceFilter(device_type_mask=CorsairDeviceType.CDT_Keyboard))
if err == CorsairError.CE_Success:
for d in devices:
print(sdk.get_device_info(d.device_id))
Metadata
Release files for cuesdk 4.0.84
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cuesdk-4.0.84.tar.gz | 313.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cuesdk-4.0.84-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 628.2 kB
Release files / cuesdk-4.0.84.tar.gz
| Download URL | cuesdk-4.0.84.tar.gz |
|---|---|
| Size | 313.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a5c579557490c2fbe328167724ca541fff64c3e2f60679e8ce1702e5e9475b3
|
|
BLAKE2b-256 checksum How to use checksums |
6c17aa6af6e70dfbf0b32051d84d7a3393edb3d822f9377b421f60b22ad0d570
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|
Release files / cuesdk-4.0.84-py3-none-any.whl
| Download URL | cuesdk-4.0.84-py3-none-any.whl |
|---|---|
| Size | 314.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b079fa25eb1c0dd0a5618c1be4b586af0620ece697161536387bae01f46f9003
|
|
BLAKE2b-256 checksum How to use checksums |
a6a538725e09cfda81a04c60de15381baefa99e6b59c8222d1f667f2c3959ea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.12.0
|