SDK for Cheez USB/BLE Devices
Project description
Cheez SDK
Installation
pip install cheez-sdk
Quick Start
from cheez_sdk import CheezSDK
# Initialize the SDK
sdk = CheezSDK()
# List available ports
ports = sdk.list_ports(verbose=True)
# Find specific devices
device_ports = sdk.find_devices("CheezUSB_VCP", "CheezBLE_VCP")
# Connect to a device
if device_ports:
decoder = sdk.connect(device_ports[0])
# Async data reading example
import asyncio
async def read_data():
while True:
data = await decoder.read_data()
if data:
print(f"Received data: {data}")
print(f"Current packet rate: {decoder.get_packet_rate()} packets/sec")
await asyncio.sleep(0.1)
asyncio.run(read_data())
Features
- Easy device port discovery
- Simple serial connection management
- Async data reading
- Configurable logging
- Error handling and validation
Configuration
Customize device VID/PID mappings in the config.json file.
License
[Your License Here]
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
cheez-sdk-0.1.0.tar.gz
(4.5 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 cheez-sdk-0.1.0.tar.gz.
File metadata
- Download URL: cheez-sdk-0.1.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f87e5c65890b85fb70ae93e069e68413ff114b64d636d33789824a9d2d99a3a
|
|
| MD5 |
e6e402b6170199480848cf96623bce9c
|
|
| BLAKE2b-256 |
c0891f50affa840e0d429953979f9eadd68edfc00ca66337af40a39e53ca072c
|
File details
Details for the file cheez_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: cheez_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54ad70ea198a76132737276febfba7a673b1589d2d3fdecdc3474db73df3e208
|
|
| MD5 |
cfcf17326870b251a065d161319bc6d6
|
|
| BLAKE2b-256 |
29094d13b7e9104587723ab3717719400b673f48189d9928dd59293d7d540d9d
|