Restora SDK
Python bindings for BrainCo Restora devices.
Installation
pip install restora-sdk
Quick Start
import asyncio
from restora_sdk import (
GattTransport,
RESTORA_SERVICE_UUID,
initialize_central_adapter,
start_scan_with_uuids,
)
async def main() -> None:
await initialize_central_adapter()
await start_scan_with_uuids(
[RESTORA_SERVICE_UUID],
GattTransport.Auto,
)
await asyncio.sleep(10)
asyncio.run(main())
GattTransport.Auto accepts either Bluetooth LE or GATT over BR/EDR. Use
GattTransport.Le or GattTransport.BrEdr to require a specific bearer. BR/EDR devices must be
paired first; platform support and prerequisites vary by operating system.
The package also provides connection and sensor streaming APIs (connect_ble, subscribe_eeg,
subscribe_imu, and subscribe_ppg), record decoding helpers, and protocol frame builders.
Examples
Example projects and integration guides are maintained in the source repository under
sdk/examples/python. Install this package first, then run the example that matches your device and
transport mode. OSS credentials used by the record upload example are read from environment
variables and are not included in the package.
Support
If you run into device connection or API issues, please share your package version, Python version, operating system, and device model with the SDK maintainer.
Metadata
Release files for restora_sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| restora_sdk-0.1.0-cp310-abi3-win_amd64.whl | CPython 3.10 | abi3 | Windows x86-64 | Details |
| restora_sdk-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl | CPython 3.10 | abi3 | Linux glibc 2.34+ x86-64 | Details |
| restora_sdk-0.1.0-cp310-abi3-manylinux_2_34_aarch64.whl | CPython 3.10 | abi3 | Linux glibc 2.34+ ARM64 | Details |
Total release size: 10.3 MB
Release files / restora_sdk-0.1.0-cp310-abi3-win_amd64.whl
| Download URL | restora_sdk-0.1.0-cp310-abi3-win_amd64.whl |
|---|---|
| Size | 2.2 MB |
| Tags | CPython 3.10 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
5dcc2b3f358ba730d2a06c5a48c792aa575583e395882cc6fdfc7b271a0d3dae
|
|
BLAKE2b-256 checksum How to use checksums |
27e0fc9794b016be2307461857a4d2c55504b333eb5a034eb7a2be19f70d2d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / restora_sdk-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl
| Download URL | restora_sdk-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 4.2 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
6c8478fcebaf6c12d3bee6efd6fcf601ae962b44859db5f9fd601f5f0a09a992
|
|
BLAKE2b-256 checksum How to use checksums |
731172b8d010fe1a34edb43ab6bb6e23ce0360b28b8c4840a9cc389c1832d6fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / restora_sdk-0.1.0-cp310-abi3-manylinux_2_34_aarch64.whl
| Download URL | restora_sdk-0.1.0-cp310-abi3-manylinux_2_34_aarch64.whl |
|---|---|
| Size | 4.0 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
68d44a419d9eda5f7f847f11e4b29aca10253ee0c73746d62a45e9640cea7eca
|
|
BLAKE2b-256 checksum How to use checksums |
4437127507589f93058045faeb4c2d1d97866e76788d7c16354bb8006f9e43fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|