SOK BLE battery interface library
Project description
SOK BLE
Python library for interacting with SOK Bluetooth-enabled batteries.
Quick Start
import asyncio
from bleak import BleakScanner
from sok_ble.sok_bluetooth_device import SokBluetoothDevice
async def main() -> None:
device = await BleakScanner.find_device_by_address("AA:BB:CC:DD:EE:FF")
sok = SokBluetoothDevice(device)
await sok.async_update()
print("Voltage:", sok.voltage)
asyncio.run(main())
References
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
sok_ble-0.1.9a5.tar.gz
(51.0 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
sok_ble-0.1.9a5-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file sok_ble-0.1.9a5.tar.gz.
File metadata
- Download URL: sok_ble-0.1.9a5.tar.gz
- Upload date:
- Size: 51.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5b0c9f5c5b3b7393097b3e7ee4dc07987e9c74b7e8f05e659cc69fec330315b
|
|
| MD5 |
1f2f1e7a5ea1c6db3a63af264d1a92c3
|
|
| BLAKE2b-256 |
6712631bf98d40468eae13535b055053bcdfdcf53db163e237bcc9ee203289f4
|
File details
Details for the file sok_ble-0.1.9a5-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.9a5-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11e74da6b6fb18a778c6f4aaf7a3b915d6d2242bdfb53fe4e2dfa5140abfc26b
|
|
| MD5 |
58342d2a0902431a009456f372511cc3
|
|
| BLAKE2b-256 |
8baf1626ea4dc91bfb1253138e9b61430b0e65ac83535a4a55f2c79a3a8e4870
|