kernel.sdk
Python SDK for subscribing to telemetry from Kernel hardware via the kortex driver, and for commanding connected devices.
Installation
pip install kernel_sdk
Documentation
- sdk.html —
SdkClientreference: subscriptions, device control, probe geometry, and the online/offline recording workflows. - task.html —
TaskClientreference: emitting experiment, block, trial, and stimulus events from your task code. - syncbox.html — Syncbox reference: digital I/O, analog inputs, comparators, and the syncbox telemetry streams.
They also ship inside the package, under kernel/sdk/docs/.
Quick start
from kernel.sdk import SdkClient, MomentNumber, Wavelength
client = SdkClient()
def on_data(timestamps, data):
print(timestamps.shape, data.shape)
future = client.on_moments(MomentNumber.First, Wavelength.Red, on_data)
Commanding a syncbox on the same client:
client.syncbox.set_digital_output(0)
client.syncbox.set_digital_output_state(0, on=True)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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
File details
Details for the file kernel_sdk-6.13.0-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: kernel_sdk-6.13.0-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 2.4 MB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 |
805bd47850d8c9f649b7be7797c9a05ebdf94aea0b0b6367bdc4a55e99ce7e7b
|
|
| MD5 |
043045550e73c8dafac259e950136398
|
|
| BLAKE2b-256 |
a6846ed0019ae27212b0f60ebd0c2afe764ae1c8b28d780db7d14b109e44cadb
|
File details
Details for the file kernel_sdk-6.13.0-cp311-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: kernel_sdk-6.13.0-cp311-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 2.6 MB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 |
8be2c4a469420aea2e22bdce600ce6fa5d3e4f8ecc621fcb452ece2485b1a605
|
|
| MD5 |
4a139637aad95f7ccacccd82b47b1857
|
|
| BLAKE2b-256 |
86e4b1cb96414bd5d79fa0d6566e8d9cc0b34728b16661a7372a929a24cf07e7
|
File details
Details for the file kernel_sdk-6.13.0-cp311-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: kernel_sdk-6.13.0-cp311-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 4.2 MB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 |
2a793cf05c0f63a321bf5dc6a92e57dda83d1c9163c2db214904e6a1b30da6fa
|
|
| MD5 |
7fa9b160670d66d6427b3e456cd8c105
|
|
| BLAKE2b-256 |
1c96eee7bb462f5acc3dc3c6757e0ef111f629f35fa93f5cd28ad1b4a1fc96cb
|
File details
Details for the file kernel_sdk-6.13.0-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: kernel_sdk-6.13.0-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 |
9046e33147154fae5f7de9a165d643e3757ed54a7a064323a27cd84734f2c57a
|
|
| MD5 |
f120e1f5f8f7768f06be36e3daebb26c
|
|
| BLAKE2b-256 |
4156d799def6e5cd3aee1cf66e6c54d8b0eba33f44e39f839b2c03a1aab9b608
|
File details
Details for the file kernel_sdk-6.13.0-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: kernel_sdk-6.13.0-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 2.3 MB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
uv/0.12.4 {"installer":{"name":"uv","version":"0.12.4","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 |
7aa797aa1eb77cb84cc59aca06f29cd526c0ea6f1fb2ef3bca1e6fddb3ace033
|
|
| MD5 |
d304989381b2cd255db1a9d938114c64
|
|
| BLAKE2b-256 |
a20774aa8761aab5c74e9cafb8bd7f69ab251cd5375b388ef447f066553ed254
|