Python library for SystemNexa2 device integration
Project description
python-sn2
Python library for SystemNexa2 device integration.
Installation
pip install python-sn2
Usage
from sn2.device import Device
# Create a device instance
device = Device(ip="192.168.1.100")
# Initialize the device
await device.initialize()
# Connect to the device
await device.connect()
# Set brightness
await device.set_brightness(0.75)
# Get device information
info = await device.get_info()
print(f"Device: {info.information.name}")
# Disconnect
await device.disconnect()
Development
Install development dependencies:
pip install -e ".[dev]"
Run tests:
pytest
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_sn2-0.1.0.tar.gz
(10.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_sn2-0.1.0.tar.gz.
File metadata
- Download URL: python_sn2-0.1.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ee272aba749ab3b01daf12d89593c8deef4b269780d46e7a40a491be11d103b
|
|
| MD5 |
6a7cbe18f04f59433d8400e36f59a7f5
|
|
| BLAKE2b-256 |
04483d5aaccd2846a673a9c17b7f363ac640c350fc041cff138ef03370e45ef9
|
File details
Details for the file python_sn2-0.1.0-py3-none-any.whl.
File metadata
- Download URL: python_sn2-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45b506c639b3344b202a25872229524315a0eda7b2852ca1657680806004892d
|
|
| MD5 |
f312c769e476a131266877142b37fd38
|
|
| BLAKE2b-256 |
d56524fcdd8bdd874d98720006f10fa56d85f9d7e74a08419046310822b0fa72
|