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.9.tar.gz
(51.1 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.9-py3-none-any.whl
(10.5 kB
view details)
File details
Details for the file sok_ble-0.1.9.tar.gz.
File metadata
- Download URL: sok_ble-0.1.9.tar.gz
- Upload date:
- Size: 51.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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 |
fd386ab0649181bb8c107e5255cc7751c2104a0fdec74f5342dbf5f16b228857
|
|
| MD5 |
ef53de897cc313c233223889cdddb1e4
|
|
| BLAKE2b-256 |
12887ce14b0909c6b6645100fd0fc808e120ff7a2687ce281cf32395eb146da3
|
File details
Details for the file sok_ble-0.1.9-py3-none-any.whl.
File metadata
- Download URL: sok_ble-0.1.9-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","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 |
217c54203e32aae8525ba2c2e32b3afe0151ce64556c96b8b38a553f71e6e315
|
|
| MD5 |
a33dc56b29872bc21ee151e5c462a90e
|
|
| BLAKE2b-256 |
93a6fa8c5b32b749c42e403428941dfcbcc0c0b82ac43de565f4ac075c4937a9
|