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.9b2.tar.gz
(47.7 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.9b2-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file sok_ble-0.1.9b2.tar.gz.
File metadata
- Download URL: sok_ble-0.1.9b2.tar.gz
- Upload date:
- Size: 47.7 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 |
7fa895a3638f95d2a19c717c652448e0f7a710e9a00f734e0e85489e373e025e
|
|
| MD5 |
d02e2eb4d2408fa514e55eb4f9f57f7f
|
|
| BLAKE2b-256 |
cbb142379fc6efa9f7762b47a271f464fa214ec91d91b291a7d1335c6dd20f61
|
File details
Details for the file sok_ble-0.1.9b2-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.9b2-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 |
6575faa5541a5be1f49c9e3a312990c00ded1a6fd2ff0f39c8bb68991c18efa9
|
|
| MD5 |
e79f200bb867e2bf583b7d4cbb9f3450
|
|
| BLAKE2b-256 |
87691220abe85904b11cb8d8e7265999bc982d0c0dbe6e9b477c61a0b62cb288
|