Skip to main content

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 — SdkClient reference: subscriptions, device control, probe geometry, and the online/offline recording workflows.
  • task.html — TaskClient reference: 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)

Metadata

Release files for kernel_sdk 7.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for kernel_sdk 7.0.0
File
kernel_sdk-7.0.0-cp311-abi3-win_arm64.whl CPython 3.11 abi3 Windows ARM64 Details
kernel_sdk-7.0.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details
kernel_sdk-7.0.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details
kernel_sdk-7.0.0-cp311-abi3-manylinux_2_28_aarch64.whl CPython 3.11 abi3 Linux glibc 2.28+ ARM64 Details
kernel_sdk-7.0.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details
kernel_sdk-7.0.0-cp311-abi3-macosx_10_12_x86_64.whl CPython 3.11 abi3 macOS 10.12+ x86-64 Details

Total release size: 13.3 MB

Release files / kernel_sdk-7.0.0-cp311-abi3-win_arm64.whl

Download URL kernel_sdk-7.0.0-cp311-abi3-win_arm64.whl
Size 1.7 MB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
f749e0ee82faeb837f77a3c12822dcb84e1426bc6044b693d5b5cfb4e3c30575
BLAKE2b-256 checksum
How to use checksums
d9a615ed111b908411ceb440ae121295d52622d46a7de667c9d351059a940856
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}

Release files / kernel_sdk-7.0.0-cp311-abi3-win_amd64.whl

Download URL kernel_sdk-7.0.0-cp311-abi3-win_amd64.whl
Size 2.0 MB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f838ba5a7458c836d107d7a66b928a1ae8bc2b4dff1340e1eb6ca0fffc924dbd
BLAKE2b-256 checksum
How to use checksums
4e4c18036771ed285077873c02e7197cadb950e5ff7664b584c991d483998759
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}

Release files / kernel_sdk-7.0.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL kernel_sdk-7.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 2.1 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
77f2861e1f2d0d02cedcc8a699b1529719adb4316ea47ca0bd10a06d67a5d0b6
BLAKE2b-256 checksum
How to use checksums
601bc50c4b476f869e84fe26b0de5f511975f1b7293b0092380d2183c4dd61af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}

Release files / kernel_sdk-7.0.0-cp311-abi3-manylinux_2_28_aarch64.whl

Download URL kernel_sdk-7.0.0-cp311-abi3-manylinux_2_28_aarch64.whl
Size 3.7 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
9c387baf0dfb0d62435e9d01070949514a9f66d42d0c68c7a4262ec891d6f2da
BLAKE2b-256 checksum
How to use checksums
f042a95d8904eb7be04e9330c70232038efe5e28f4a6703b4b9d32e368f6423d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}

Release files / kernel_sdk-7.0.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL kernel_sdk-7.0.0-cp311-abi3-macosx_11_0_arm64.whl
Size 1.8 MB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
981dcd6bf8529f0c80ff3d0ddfc8cb9963cec33c1595fad4d389133e70f2e828
BLAKE2b-256 checksum
How to use checksums
c2ea5761a99fd1b55b6aabb76baae4ab558abfa5f0fca8b294c9cbdc7e925a83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}

Release files / kernel_sdk-7.0.0-cp311-abi3-macosx_10_12_x86_64.whl

Download URL kernel_sdk-7.0.0-cp311-abi3-macosx_10_12_x86_64.whl
Size 1.9 MB
Tags CPython 3.11 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
8b9caa9a4e3e5f23e46091e7d81e742fb4c61222175453716118c863df3cde2e
BLAKE2b-256 checksum
How to use checksums
aa51360f01556ed8013ade3e65e229f7a36177ebee2472e229095a9b5882e5a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.22 {"installer":{"name":"uv","version":"0.12.22","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}

Release history Release notifications | RSS feed

This release

7.0.0 This release

6 release files

6.13.0

5 release files

6.10.0

5 release files

6.6.0

4 release files

6.5.0

5 release files

6.4.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page