Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cheez_sdk-0.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

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

Hashes for cheez-sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6f87e5c65890b85fb70ae93e069e68413ff114b64d636d33789824a9d2d99a3a
MD5 e6e402b6170199480848cf96623bce9c
BLAKE2b-256 c0891f50affa840e0d429953979f9eadd68edfc00ca66337af40a39e53ca072c

See more details on using hashes here.

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

Hashes for cheez_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54ad70ea198a76132737276febfba7a673b1589d2d3fdecdc3474db73df3e208
MD5 cfcf17326870b251a065d161319bc6d6
BLAKE2b-256 29094d13b7e9104587723ab3717719400b673f48189d9928dd59293d7d540d9d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page