Skip to main content

sensor-sdk

OYMotion sdk for Python

Brief

OYMotion SDK is the software development kit for developers to access OYMotion products.

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Installation

pip install sensor-sdk 

USB Bluetooth dongle (bumble backend)

When a USB Bluetooth HCI dongle is plugged in and usable by libusb (e.g. Actions 10d7:b012 or 33fa:0012; several dongles can be used at once, each serving one connection), the SDK automatically drives it directly with a bumble host-mode backend instead of the OS Bluetooth stack — no Bluetooth permission prompt, works even when the internal Bluetooth is off, and allows larger ATT MTU. The bleak-bumble backend is vendored into the SDK (sensor/bleak_bumble/, MIT license), and the bumble stack + libusb are declared as regular dependencies — a plain pip install sensor-sdk is all that is needed.

Behavior and controls:

  • With the dependencies installed and a usable dongle present, the backend is selected automatically on all platforms when the SDK starts (native bleak is used otherwise). "Usable" means libusb can open the device: on Windows the dongle must be bound to the WinUSB driver, on Linux the user needs udev permission, on macOS USB access is driverless. Check the active backend with SensorController.getBLEBackendName() ("bumble" / "bleak").
  • SensorController.checkSetupDongle() checks dongle readiness and, when no dongle is usable, runs the bundled setup script with elevation — UAC prompt on Windows (binds the WinUSB driver), sudo on Linux (installs udev rules; the password goes through the controlling terminal, or when there is none — e.g. a GUI app launched without a terminal — a terminal-emulator window is spawned to run the script, falling back to pkexec; a replug may still be required afterwards) — then re-checks and returns "OK: N" (N = number of usable dongles detected) on success or an "Error: ..." string with the system error detail on failure. macOS needs no setup and is check-only. The call blocks while waiting for the elevation prompt. The same logic also lives in sensor_utils.checkSetupDongle(), exported at package top level as sensor.checkSetupDongle() for use without a controller instance. The same scripts (setup_dongle_winusb.ps1, setup_dongle_udev.sh and their driver/rules files) ship inside the wheel under sensor/tools/ and can also be run manually.
  • SENSOR_SDK_BLE_BACKEND=bleak forces the native backend; SENSOR_SDK_BLE_BACKEND=bumble forces the dongle backend on any platform; SENSOR_SDK_BUMBLE_TRANSPORT overrides the bumble transport spec (e.g. usb:0).
  • With the bumble backend, each dongle serves one connection at a time: scanning uses a free dongle and is skipped while all dongles are connected; connections fail fast when no dongle is free. Connection timeout is raised to 25s automatically.

1. Permission

Application will obtain bluetooth permission by itself.

2. Import SDK

from sensor import *

SensorController methods

1. Initalize

SensorControllerInstance = SensorController()

# register scan listener
if not SensorControllerInstance.hasDeviceFoundCallback:
    def on_device_callback(deviceList: List[BLEDevice]):
        # return all devices doesn't connected
        pass
    SensorControllerInstance.onDeviceFoundCallback = on_device_callback

Use def getVersion() -> str to get the SDK version string.

version = SensorControllerInstance.getVersion()

2. Start scan

Use def startScan(period_in_ms: int) -> bool to start scan

success = SensorControllerInstance.startScan(6000)

returns true if start scan success, periodInMS means onDeviceCallback will be called every periodInMS

Use def scan(period_in_ms: int) -> list[BLEDevice] to scan once time

bleDevices = SensorControllerInstance.scan(6000)

The asynchronous variant is asyncScan(period_in_ms: int) -> list[BLEDevice].

3. Stop scan

Use def stopScan() -> None to stop scan

SensorControllerInstance.stopScan()

4. Check scaning

Use property isScanning: bool to check scanning status

isScanning = SensorControllerInstance.isScanning

5. Check if bluetooth is enabled

Use property isEnable: bool to check if bluetooth is enable

isEnable = SensorControllerInstance.isEnable

Use onEnableCallback to be notified when the bluetooth enable state changes:

SensorControllerInstance.onEnableCallback = lambda enabled: print("bluetooth on" if enabled else "bluetooth off")

6. Create SensorProfile

Use def requireSensor(device: BLEDevice) -> SensorProfile | None to create SensorProfile.

If bleDevice is invalid, result is None.

sensorProfile = SensorControllerInstance.requireSensor(bleDevice)

7. Get SensorProfile

Use def getSensor(deviceMac: str) -> SensorProfile | None to get SensorProfile.

If SensorProfile didn't created, result is None.

sensorProfile = SensorControllerInstance.getSensor(bleDevice.Address)

8. Get Connected SensorProfiles

Use def getConnectedSensors() -> list[SensorProfile] to get connected SensorProfiles.

sensorProfiles = SensorControllerInstance.getConnectedSensors()

9. Get Connected BLE Devices

Use def getConnectedDevices() -> list[BLEDevice] to get connected BLE Devices.

bleDevices = SensorControllerInstance.getConnectedDevices()

10. Terminate

Use def terminate() to terminate sdk

def terminate():
    SensorControllerInstance.terminate()
    exit()
    
def main():
    signal.signal(signal.SIGINT, lambda signal, frame: terminate())
    time.sleep(30)
    SensorControllerInstance.terminate()
    
Please MAKE SURE to call terminate when exit main() or press Ctrl+C

SensorProfile methods

11. Initalize

Please register callbacks for SensorProfile

from typing import List
from sensor import SensorProfile, SensorData, DeviceStateEx

sensorProfile = SensorControllerInstance.requireSensor(bleDevice)

# register callbacks
def on_state_changed(sensor: SensorProfile, newState: DeviceStateEx):
    # device state transitions (Connecting/Connected/Ready/Disconnected/...)
    # called synchronously on the SDK state machine; return quickly
    # please do logic when device disconnected unexpected
    pass

def on_error_callback(sensor: SensorProfile, reason: str):
    # called when error occurs (dongle unplugged, reconnect budget exhausted, ...)
    pass

def on_power_changed(sensor: SensorProfile, power: int):
    # callback for get battery level of device, power from 0 - 100
    # (invalid -1 readings are never reported here; getBatteryLevel() may
    # still return -1 when no valid reading is available yet)
    # the reported value is stabilized with a hysteresis band (±2%): it only
    # changes when a new reading differs from the current value by 2 or more,
    # so ±1 jitter is filtered while real drain/charge trends are still tracked
    pass

def on_data_callback(sensor: SensorProfile, data_list: List[SensorData]):
    # called after start data transfer; each invocation delivers the whole
    # batch of SensorData objects parsed together (loop over it to process
    # each one)
    for data in data_list:
        pass

sensorProfile.onStateChanged = on_state_changed
sensorProfile.onErrorCallback = on_error_callback
sensorProfile.onPowerChanged = on_power_changed
sensorProfile.onDataCallback = on_data_callback

Callback threading model:

  • onDataCallback runs on a dedicated single-worker thread pool per profile, so batches are delivered strictly in arrival order.
  • onPowerChanged and onErrorCallback share a multi-worker thread pool.
  • onStateChanged is invoked synchronously.
  • Keep callbacks short or thread-safe; update UI through your framework's main-thread mechanism (e.g. Qt signals).

A fifth callback, onAutoReconnect, customizes stream recovery after an abnormal disconnect — see section 15.1.

12. Connect device

Use def connect() -> bool to connect.

success = sensorProfile.connect()

13. Disconnect

Use def disconnect() -> bool to disconnect.

If data notification is currently active, disconnect() will automatically stop it first before closing the BLE connection.

success = sensorProfile.disconnect()

14. Get device status

Use property deviceState: DeviceStateEx to get device status.

Please send command in 'Ready' state, should be after connect() return True.

deviceStateEx = sensorProfile.deviceState

# deviceStateEx has define:
# class DeviceStateEx(Enum):
#     Disconnected = 0
#     Connecting = 1
#     Connected = 2
#     Ready = 3
#     Disconnecting = 4
#     Invalid = 5

Use property isReady: bool as a shortcut for deviceState == DeviceStateEx.Ready.

if sensorProfile.isReady:
    pass

15. Get BLE device of SensorProfile

Use property BLEDevice: BLEDevice to get BLE device of SensorProfile.

bleDevice = sensorProfile.BLEDevice

15.1 Auto reconnect and resume data stream

Use property autoReconnect: bool (default True) to control automatic recovery. While True and the device is streaming, an abnormal disconnect — remote link loss or a long no-data (half-dead link) disconnect — is followed by automatic reconnect → init() with the previous init arguments → re-applying the setParam parameters from the previous streaming session (in the order they were set) → startDataNotification(). Recovery retries on the next successful reconnect if a step fails. Explicit user calls (connect(), disconnect(), stopDataNotification()) cancel the pending resume, and setting autoReconnect = False disables the behavior entirely.

sensorProfile.autoReconnect = True   # default; set False to opt out

Custom recovery via onAutoReconnect (default None): when the auto-reconnect finds the disconnected device again (back in Ready, about to resume), this callback is invoked instead of the default flow.

def on_reconnect(sensor, restore: bool) -> bool:
    # restore=True  -> a previous session exists (init args + setParam values can be
    #                  preserved and restored); restore=False -> fresh-init case
    # return True   -> the app handled recovery itself (fresh init or custom flow);
    #                  the SDK skips the default recovery
    # return False  -> fall back to the default flow (connect -> init -> replay
    #                  setParam values -> startDataNotification)
    sensor.init(32, 60000)
    sensor.startDataNotification()
    return True

sensorProfile.onAutoReconnect = on_reconnect

Callback exceptions are logged and treated as False (fall back). The callback runs on the SDK recovery thread, so blocking calls (init(), setParam(), startDataNotification()) are allowed inside it.

16. Get device info of SensorProfile

Use def getDeviceInfo() -> DeviceInfo | None to get device info of SensorProfile.

Please call after device in 'Ready' state and init() has succeeded, returns None otherwise.

    deviceInfo = sensorProfile.getDeviceInfo()

# deviceInfo is a DeviceInfo object with attributes:
#   DeviceName, ModelName, HardwareVersion, FirmwareVersion, MTUSize
#   plus a ChannelCount / SampleRate attribute pair for each modality:
#   Ppg, Spo2, Impe, Emg, Eeg, Ecg, Acc, Gyro, Brth, MagAngle, Euler, Quat
#   plus EmgMaxSampleRate / EegMaxSampleRate / EcgMaxSampleRate: the maximum
#   sample rate reported by the device capability query (0 = not reported).
#   plus ImuChannelCount / ImuSampleRate: the aggregated NTF_IMU stream
#   (new-EMG devices only; 0 = no aggregated stream, use the four separate
#   ACC/GYRO/EULER/QUAT streams instead).
#   plus ConnectionIntervalMs / PeripheralLatency / SupervisionTimeoutMs:
#   the negotiated BLE link parameters (bumble USB-dongle backend only;
#   0 / -1 / 0 = unknown).
# e.g. deviceInfo.EmgChannelCount, deviceInfo.EegSampleRate

Use onDeviceInfoUpdate to get notified when the DeviceInfo changes after init — e.g. the link parameters are updated by the peripheral shortly after connect (bumble backend), or EEG_SAMPLE_RATE changes the reported rates. The profile patches its cached DeviceInfo in place before firing the callback.

def on_device_info_update(sensor: SensorProfile, info: DeviceInfo):
    pass

sensorProfile.onDeviceInfoUpdate = on_device_info_update

17. Init data transfer

Use def init(packageSampleCount: int, powerRefreshInterval: int) -> bool.

Please call after device in 'Ready' state, return True if init succeed.

success = sensorProfile.init(5, 60*1000)

packageSampleCount: set sample counts of SensorData.channelSamples per batch in onDataCallback() powerRefreshInterval: callback period for onPowerChanged()

18. Check if init data transfer succeed

Use property hasInited: bool to check if init data transfer succeed.

hasInited = sensorProfile.hasInited

19. DataNotify

Use def startDataNotification() -> bool to start data notification.

Please call if hasInited return True

19.1 Start data transfer

success = sensorProfile.startDataNotification()

19.2 Synchronized start on multiple devices

Use def multiStartDataNotification(sensors: list[SensorProfile], timeout: float = 30.0, maxDelayDispersionMs: int = 5, maxAttempts: int = 3) -> dict[str, bool] on SensorController (async variant: asyncMultiStartDataNotification) to start data notification on several devices at once. Every sensor must be Ready and hasInited; the result maps each device MAC to its success flag — devices that fail validation do not prevent the others from starting.

On the bumble (USB dongle) backend, the start-streaming writes of all devices (the CCCD write on OYM devices, the set_subscription command write on RFSTAR devices) wait on a shared SyncWriteGate at the bumble send layer and are released together, so all dongles emit the start command at virtually the same time. On the native bleak backend the starts are simply issued concurrently (no low-level alignment).

After each start round the SDK validates the dispersion (max − min) of the devices' first-packet delays; if it exceeds maxDelayDispersionMs (default 5 ms; pass -1 to skip the dispersion check entirely — devices only need to start and produce a first packet), any device produces no first packet within 2 s, or any start fails, all devices are stopped and the round retries (up to maxAttempts, default 3). If still not within tolerance, the streams are stopped and the call reports failure.

results = SensorControllerInstance.multiStartDataNotification([sensor1, sensor2])
# {"AA-BB-CC-DD-EE-01": True, "AA-BB-CC-DD-EE-02": False}

# relax the first-packet delay dispersion tolerance to 10 ms:
results = SensorControllerInstance.multiStartDataNotification([sensor1, sensor2], maxDelayDispersionMs=10)

19.3 Synchronized stop on multiple devices

def multiStopDataNotification(sensors: list[SensorProfile], timeout: float = 10.0) -> dict[str, bool] (async variant: asyncMultiStopDataNotification) is the stop counterpart of multiStartDataNotification: on the bumble backend the stop-streaming writes of all devices (the CCCD write on OYM devices, the set_subscription(0) command write on RFSTAR devices) wait on the same kind of shared SyncWriteGate and go out at virtually the same time; on the native bleak backend the stops are issued concurrently. Devices that are not streaming count as successful (nothing to stop); invalid devices do not affect the others.

results = SensorControllerInstance.multiStopDataNotification([sensor1, sensor2])

Data type list:

class DataType(Enum):
    NTF_ACC = 0x1            # acceleration, unit is g
    NTF_GYRO = 0x2           # gyroscope, unit is degree/s
    NTF_EULER_DATA = 0x4     # euler angle, unit is degree
    NTF_QUATERNION = 0x5     # quaternion (w, x, y, z)
    NTF_GEST = 0x07          # gesture id
    NTF_EMG = 0x8            # unit is uV
    NTF_MAG_ANGLE_DATA = 0x0D
    NTF_EEG = 0x10           # unit is uV
    NTF_ECG = 0x11           # unit is uV
    NTF_IMPEDANCE = 0x12     # electrode impedance
    NTF_IMU = 0x13           # aggregated IMU batch (acc 0-2 / gyro 3-5 / euler 6-8 / quat 9-12;
                             # new-EMG devices only, see DeviceInfo.ImuChannelCount)
    NTF_ADS = 0x14
    NTF_BRTH = 0x15          # respiration, unit is uV
    NTF_IMPEDANCE_EXT = 0x16
    NTF_SPO2 = 0x17          # SpO2 percentage
    NTF_PPG = 0x18           # PPG raw samples

Process data in onDataCallback. Each invocation delivers a list of SensorData batches parsed together; loop over the list to process each batch. SensorData's public interface mirrors the C++ SDK (include/SensorData.hpp):

  • metadata: getDeviceMac() / getDataType() / getSampleRate() / getChannelCount() / getSampleCount() / getChannelMask() / getLostPackageCount() / getStartTimeStamp() / getStartTimeSec() (wall-clock stream-start anchor in LSL-style Unix seconds, 0.0 when unknown) / getDelay() / isDataValid() (always True in Python)
  • whole batch: read-only channelSamples / startSampleIndex properties, clone() for a deep copy
  • single-point accessors (ci = channel index, si = sample index): getChannelSample(ci, si) returns the Sample; getData(ci, si) / getRawData(ci, si) / getImpedance(ci, si) / getSaturation(ci, si) / getSampleIndex(ci, si) / getTimeStampInMs(ci, si) (computed: sampleIndex * 1000 / sampleRate, 0 when the rate is unknown) / getAbsTimeStampInSec(ci, si) (absolute LSL-style timestamp in seconds, 0.0 when the stream-start anchor is unknown) / isLost(ci, si) return the individual field
  • Sample fields (data, rawData, impedance, saturation, sampleIndex, channelIndex, absTimeStampInSec, isLost) are read-only properties.
def on_data_callback(sensor: SensorProfile, data_list: List[SensorData]):
    for data in data_list:
        if data.getDataType() == DataType.NTF_EEG:
            pass
        elif data.getDataType() == DataType.NTF_ECG:
            pass

        # process data as you wish
        for oneChannelSamples in data.channelSamples:
            for sample in oneChannelSamples:
                if sample.isLost:
                    # do some logic
                    pass
                else:
                    # draw with sample.data & sample.channelIndex
                    # print(f"{sample.channelIndex} | {sample.sampleIndex} | {sample.data} | {sample.impedance}")
                    pass

sensorProfile.onDataCallback = on_data_callback

19.2 Stop data transfer

Use def stopDataNotification() -> bool to stop data transfer.

success = sensorProfile.stopDataNotification()

19.3 Check if it's data transfering

Use property isDataTransfering: bool to check if it's data transfering.

isDataTransfering = sensorProfile.isDataTransfering

20. Get battery level

Use def getBatteryLevel() -> int to get battery level. Please call after device in 'Ready' state.

batteryPower = sensorProfile.getBatteryLevel()

# batteryPower is battery level returned, value ranges from 0 to 100, 0 means out of battery, while 100 means full;
# -1 means no valid reading is available yet (onPowerChanged never reports -1).

Please check console.py in examples directory

Async methods

All methods starting with async are async methods; they have the same params and return result as the sync methods:

  • SensorController: asyncScan, asyncMultiStartDataNotification, asyncMultiStopDataNotification
  • SensorProfile: asyncConnect, asyncDisconnect, asyncInit, asyncStartDataNotification, asyncStopDataNotification, asyncSetParam, asyncGetParam, asyncGetBatteryLevel

Please check async_console.py in examples directory

setParam method

Use def setParam(self, key: str, value: str) -> str to set parameter of sensor profile. Please call after device in 'Ready' state.

The asynchronous variant is asyncSetParam(self, key: str, value: str) -> str.

If the device is already streaming when you change an NTF_* or FILTER_* key, the SDK will stop and restart the data notification so the new setting takes effect immediately.

Below is available key and value:

# Data stream toggles
result = sensorProfile.setParam("NTF_GEST", "ON")
result = sensorProfile.setParam("NTF_EMG", "ON")
result = sensorProfile.setParam("NTF_EEG", "ON")
result = sensorProfile.setParam("NTF_ECG", "ON")
result = sensorProfile.setParam("NTF_IMU", "ON")
result = sensorProfile.setParam("NTF_BRTH", "ON")
result = sensorProfile.setParam("NTF_IMPEDANCE", "ON")
result = sensorProfile.setParam("NTF_MAG_ANGLE", "ON")
result = sensorProfile.setParam("NTF_PPG", "ON")
result = sensorProfile.setParam("NTF_PPG_RAW", "ON")   # alias of NTF_PPG
result = sensorProfile.setParam("NTF_SPO2", "ON")
result = sensorProfile.setParam("NTF_GFORCE_EULER", "ON")
result = sensorProfile.setParam("NTF_GFORCE_QUAT", "ON")
result = sensorProfile.setParam("NTF_GFORCE_ACC", "ON")
result = sensorProfile.setParam("NTF_GFORCE_GYRO", "ON")
# set data stream to ON or OFF, result is "OK" if succeed
# NTF_IMU is the master switch of the four NTF_GFORCE_* streams: toggling it
# updates all four, and toggling any of the four updates the aggregated NTF_IMU state.
# Note: on legacy (non-new) EMG devices, NTF_GEST and NTF_EMG are mutually exclusive.

# Firmware filter toggles
result = sensorProfile.setParam("FILTER_50HZ", "ON")
# set 50Hz notch filter to ON or OFF, result is "OK" if succeed

# EEG/ECG sample rate (bound together on devices that have both)
result = sensorProfile.setParam("EEG_SAMPLE_RATE", "500")
# The value is validated against the device-reported capability list (see
# getParam("EEG_SAMPLE_RATE_LIST")); an unsupported value returns
# "Error: unsupported sample rate ...". When the device has both EEG and ECG,
# both configs are written with the same rate. While streaming, the stream is
# restarted so the new rate takes effect.

result = sensorProfile.setParam("FILTER_60HZ", "ON")
# set 60Hz notch filter to ON or OFF, result is "OK" if succeed

result = sensorProfile.setParam("FILTER_HPF", "ON")
# set 0.5Hz hpf filter to ON or OFF, result is "OK" if succeed

result = sensorProfile.setParam("FILTER_LPF", "ON")
# set 80Hz lpf filter to ON or OFF, result is "OK" if succeed

# NeuCir remote control (NeuCir devices only)
result = sensorProfile.setParam("NEUCIR_SET_MODE", "APP_REMOTE")
result = sensorProfile.setParam("NEUCIR_APP_CONTROL", "OPEN")   # OPEN / CLOSE / STOP

result = sensorProfile.setParam("DEBUG_BLE_DATA_PATH", "d:/temp/test.bin")
# set the bin export path: the session's raw BLE capture is recorded in the system
# temp directory and copied to this location on stopDataNotification / disconnect;
# "True" exports to {DeviceName}_data_YYYYMMDD_HHMMSS.bin in the SDK log directory
# (see setLogPath; disabled when file output is off), "False" or "" disables
# export (the temp bin is just deleted).
# please give an absolute path and make sure it is valid and writeable by yourself

result = sensorProfile.setParam("DEBUG_LOG_PATH", "True")
# enable this profile's log file: {DeviceName}_log_YYYYMMDD_HHMMSS.txt in the SDK
# log directory (see setLogPath), or pass an absolute custom path instead of "True";
# "False" or "" disables it. The profile log contains only this profile's logs plus
# the bleak/bumble logs related to its current connection; all other (common) logs
# go to the controller log.
# getParam("DEBUG_LOG_PATH") returns the current log file path ("" when disabled).

getParam method

Use def getParam(self, key: str) -> str to query the current parameter state of a sensor profile. Please call after the device reaches the 'Ready' state.

The asynchronous variant is asyncGetParam(self, key: str) -> str.

Supported aggregate query keys:

result = sensorProfile.getParam("FILTER")
# Returns a pipe-separated string of all filter states, e.g.:
# "FILTER_50HZ|ON|FILTER_60HZ|ON|FILTER_HPF|ON|FILTER_LPF|ON"

result = sensorProfile.getParam("NTF")
# Returns a pipe-separated string of all notification states, e.g.:
# "NTF_BRTH|ON|NTF_ECG|ON|NTF_EEG|ON|NTF_EMG|ON|..."

result = sensorProfile.getParam("EEG_SAMPLE_RATE")
# Returns the current EEG/ECG sample rate in Hz, e.g. "250"

result = sensorProfile.getParam("EEG_SAMPLE_RATE_LIST")
# Returns the device-reported selectable sample rates (EEG/ECG bound, pipe-
# separated), e.g. "250|500"; "Error: Not supported" when the device did not
# report a capability

If the key is not supported, the result starts with "Error".

Bin file recording and replay

On every successful connect, the SDK records all raw BLE packets of the session into a .bin file in the SDK log directory (~/Documents/sensorsdklog by default, or the directory of the configured log file), named {DeviceName}_{MAC}_{YYYYMMDD_HHMMSS}.bin. Recording is always on; it is skipped or stopped with a warning when free disk space is below 100MB or a disk error occurs, without affecting live streaming. Bin files can be replayed offline for debugging and packet-loss analysis.

Get bin file info

Use def getBinFileInfo(self, file_path: str) -> Optional[dict] to read the config record of a bin file:

info = SensorControllerInstance.getBinFileInfo("path/to/session.bin")
# Returns a dict:
#   device_mac, device_name, chip_type, is_universal_stream, feature_map,
#   device_info, sensor_datas (per data-type parse config),
#   replay_duration (recording seconds, written into the header record at close;
#                    older bins without a header fall back to a full-file estimate)
# Returns None if the file does not exist or has no config record.

Replay a bin file

Use def replayBinFile(self, file_path: str, sensor: Optional[SensorProfile] = None, realtime: bool = True, timeout: Optional[float] = None) -> Optional[SensorProfile] to replay a bin file through the normal parsing pipeline. Parsed results arrive via onDataCallback on the returned SensorProfile, same as live data.

# Simplest form: controller creates the profile from the bin config record
sensor = SensorControllerInstance.replayBinFile("path/to/session.bin")

# Recommended: reuse an existing profile with callbacks registered
sensor = SensorControllerInstance.requireSensor(device)
sensor.onDataCallback = on_data
SensorControllerInstance.replayBinFile("path/to/session.bin", sensor, realtime=True)
  • sensor: an existing SensorProfile to replay through. When None, the controller creates (or reuses) a profile from the bin config record; in that mode the profile is returned only after replay finishes, so register callbacks on an existing profile to receive data.
  • realtime: True replays at the recorded pace; False replays as fast as possible.
  • timeout: seconds to wait for completion. None auto-estimates from the bin duration in realtime mode (duration + 30s, min 60s), or 600s otherwise. On timeout the call returns while replay may still be running in the background.
  • Replay is rejected while the target sensor is streaming live data.

Pause / resume / stop replay

result = SensorControllerInstance.pauseBinReplay(sensor)   # pause feeding
result = SensorControllerInstance.resumeBinReplay(sensor)  # resume feeding
result = SensorControllerInstance.stopBinReplay(sensor)    # abort; the blocking replayBinFile call returns
# Each returns "OK" on success or an error string otherwise.

Parse a bin file to CSV

Use def parseBinToCsv(self, bin_path: str, csv_path: Optional[str] = None) -> str to convert a recorded bin file to CSV offline (parsing runs through the real pipeline; row timestamps come from the bin records):

csv_path = SensorControllerInstance.parseBinToCsv("d:/temp/test.bin")
# or with an explicit output path:
csv_path = SensorControllerInstance.parseBinToCsv("d:/temp/test.bin", "d:/temp/test.csv")
# Returns the CSV file path.

CSV format — header row:

timestamp,mac,type,raw_hex,data_type,sample_rate,channel_count,lost_count,samples_info,first_sample

Row kinds in record order (config records produce no rows; a bin without a config record yields raw rows only):

  • raw rows — one per data record: timestamp = ISO 8601 (local time) of the bin record timestamp, mac (empty for records before the first config record), type = raw, raw_hex = raw packet bytes as hex; remaining columns empty.
  • cmd_send / cmd_recv rows — one per command record: type = cmd_send / cmd_recv, raw_hex = command bytes as hex, data_type = decoded command name (cmd_send, e.g. NTF_DATA_START) or NAME:CODE (cmd_recv, e.g. GET_FEATURE_MAP:SUCCESS); remaining columns empty. These rows are analysis-only and are not fed into parsing.
  • event rows — one per BLE event record: type = event, raw_hex = event name as hex, data_type = event name (connect / disconnect / stream_start / stream_stop); remaining columns empty.
  • parsed rows — one per parsed batch emitted by the real parsing pipeline (raw_hex empty):
Column Meaning
timestamp ISO 8601 (local time) of the bin record being fed when the batch completed
mac Device MAC from the config record
type parsed
data_type DataType enum name of the batch, e.g. NTF_EMG, NTF_EEG, NTF_ACC
sample_rate Batch sample rate (Hz)
channel_count Batch channel count
lost_count lostPackageCount of the batch (non-zero only for new-EMG devices)
samples_info Per-channel sample counts as a Python list string, e.g. [32, 32, 32]
first_sample First sample of the first non-empty channel: data=<v>|raw=<raw>|imp=<impedance>|sat=<saturation>|idx=<sampleIndex>|ts=<computed ms timestamp>|ch=<channelIndex>|lost=<isLost>

Logging controls

setLogPath sets the SDK log directory (it must be a directory). All default file outputs live in it: the controller log, the default per-profile logs (DEBUG_LOG_PATH=True) and the default bin exports (DEBUG_BLE_DATA_PATH=True).

The controller log (sensor_controller_log_YYYYMMDD_HHMMSS.txt) holds all common logs (scan, connection management, dongle/backend, and logs of profiles whose profile log is not enabled). It is created automatically in the log directory when setDebugEnabled(True) is called, and closed on setDebugEnabled(False). Each profile log ({DeviceName}_log_YYYYMMDD_HHMMSS.txt, enabled per profile via setParam("DEBUG_LOG_PATH", ...)) contains only that profile's logs plus the bleak/bumble logs related to its current connection.

Records emitted before a log file is first created are held in a bounded memory buffer and replayed into the file on creation, so early (scan/connect) logs are not lost. The log directory and debug switch are automatically shared with the BLE subprocess, so both sides append to the same files.

SensorControllerInstance.setDebugEnabled(True)
# enable SDK debug logs; automatically creates the controller log in the log
# directory. setDebugEnabled(False) closes it.

SensorControllerInstance.setLogPath(True, "d:/temp/sdklogs")
# set the log directory (must be a directory; created if missing, rejected if
# it points to an existing file). setLogPath(False) disables file output
# (controller log, default profile logs and default bin exports).

SensorControllerInstance.setLogPath(True)
# reset to the default log directory (~/Documents/sensorsdklog)

Application log entries

Applications can write their own events (user actions, business state, etc.) into the same SDK log files, keeping one shared timeline with the SDK's internal logs:

SensorControllerInstance.log("User clicked start", "I")
# written to the controller log (common channel)

sensor.log("User toggled filter 50Hz", "I")
# SensorProfile.log: routed to that profile's log file when enabled,
# otherwise falls back to the controller log

level accepts "D" / "I" / "W" / "E" (case-insensitive, default "I"); "D" follows the setDebugEnabled switch, the other levels are always emitted. Entries are tagged [App] in the log files.

Metadata

Release files for sensor-sdk 0.9.1

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 sensor-sdk 0.9.1
File Actions
sensor_sdk-0.9.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for sensor_sdk-0.9.1-cp314-cp314-win_amd64.whl
sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64 Details for sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_x86_64.whl
sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ ARM64 Details for sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_aarch64.whl
sensor_sdk-0.9.1-cp314-cp314-macosx_12_0_arm64.whl CPython 3.14 CPython 3.14 macOS 12.0+ ARM64 Details for sensor_sdk-0.9.1-cp314-cp314-macosx_12_0_arm64.whl
sensor_sdk-0.9.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for sensor_sdk-0.9.1-cp313-cp313-win_amd64.whl
sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64 Details for sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl
sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64 Details for sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_aarch64.whl
sensor_sdk-0.9.1-cp313-cp313-macosx_12_0_arm64.whl CPython 3.13 CPython 3.13 macOS 12.0+ ARM64 Details for sensor_sdk-0.9.1-cp313-cp313-macosx_12_0_arm64.whl
sensor_sdk-0.9.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for sensor_sdk-0.9.1-cp312-cp312-win_amd64.whl
sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64 Details for sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl
sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64 Details for sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_aarch64.whl
sensor_sdk-0.9.1-cp312-cp312-macosx_12_0_arm64.whl CPython 3.12 CPython 3.12 macOS 12.0+ ARM64 Details for sensor_sdk-0.9.1-cp312-cp312-macosx_12_0_arm64.whl
sensor_sdk-0.9.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for sensor_sdk-0.9.1-cp311-cp311-win_amd64.whl
sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64 Details for sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl
sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details for sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_aarch64.whl
sensor_sdk-0.9.1-cp311-cp311-macosx_12_0_arm64.whl CPython 3.11 CPython 3.11 macOS 12.0+ ARM64 Details for sensor_sdk-0.9.1-cp311-cp311-macosx_12_0_arm64.whl
sensor_sdk-0.9.1-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for sensor_sdk-0.9.1-cp310-cp310-win_amd64.whl
sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64 Details for sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl
sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details for sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_aarch64.whl
sensor_sdk-0.9.1-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details for sensor_sdk-0.9.1-cp310-cp310-macosx_12_0_arm64.whl

Total release size: 198.6 MB

Release files / sensor_sdk-0.9.1-cp314-cp314-win_amd64.whl

Download URL sensor_sdk-0.9.1-cp314-cp314-win_amd64.whl
Size 2.1 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
c4ca1ef221e45cd21cc786a377b62292d768534b473e6896fe9dd0fe11cc1250
BLAKE2b-256 checksum
How to use checksums
8614821da9aecbd6b00e61fc1487de2a6fc9957bc3eab2392a701c566e4453ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_x86_64.whl

Download URL sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_x86_64.whl
Size 17.5 MB
Tags CPython 3.14 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
541063edc104a5d191d58b57af83edd7065e3d04567b995e96aaef2d249713c5
BLAKE2b-256 checksum
How to use checksums
02947c5f2ba2b8414aa324a2e04a72115c985692e64ec8013d42a483686d8ea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_aarch64.whl

Download URL sensor_sdk-0.9.1-cp314-cp314-manylinux_2_28_aarch64.whl
Size 17.2 MB
Tags CPython 3.14 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
c804a785c7f2cf23d8c3e4a29c390eee2730d01c7703c2aa94d894b304e5a6d5
BLAKE2b-256 checksum
How to use checksums
f016d50bfa6e4b346aae1f4fd07af89202e9e533dcedb729c21e93fb6c5d28ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp314-cp314-macosx_12_0_arm64.whl

Download URL sensor_sdk-0.9.1-cp314-cp314-macosx_12_0_arm64.whl
Size 2.2 MB
Tags CPython 3.14 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
6056cd794e9d3715204234a6be8c5ca90dcd72db25c09e971edcdf4631050c86
BLAKE2b-256 checksum
How to use checksums
5368fb36480b40aa538e13f21c316a2dd99dd4444fb19e6f4b5d1424d5885eac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp313-cp313-win_amd64.whl

Download URL sensor_sdk-0.9.1-cp313-cp313-win_amd64.whl
Size 2.1 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
78479b3c01029a174421b1bc81172acc4f9db144df58996fbe44e350f18da21e
BLAKE2b-256 checksum
How to use checksums
8e61fb10e9411bcd4f080f144c43370a2322f86eaeda9bbd84910c0a4cf8081b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl

Download URL sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_x86_64.whl
Size 17.8 MB
Tags CPython 3.13 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
92d161ae442fa785c2d65b0342975eba7c29fbb5592505128dc6e508174ab6e4
BLAKE2b-256 checksum
How to use checksums
88ebd30e212c95f359c0cc39a3fa057718236f40b1a69621834c7ca9dd21071e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_aarch64.whl

Download URL sensor_sdk-0.9.1-cp313-cp313-manylinux_2_28_aarch64.whl
Size 17.3 MB
Tags CPython 3.13 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
478aee1e0693e2b172ef17334e6930dedb31d44aee9be7b06c0aa0069f03aee4
BLAKE2b-256 checksum
How to use checksums
8f85e4d18f1a0d3cb41b2b904013a17e0c6cedb05ee4682b35f7e0ff64c7c025
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp313-cp313-macosx_12_0_arm64.whl

Download URL sensor_sdk-0.9.1-cp313-cp313-macosx_12_0_arm64.whl
Size 2.2 MB
Tags CPython 3.13 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
97a1d4f937704ef1b46fc349d95c3a5e1633c1a6c88a905e4e8b9219b9d58a72
BLAKE2b-256 checksum
How to use checksums
6963517e048c8a92eb10615b8d5c60a5d78c9607f6f01ab839347e9f8760128a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp312-cp312-win_amd64.whl

Download URL sensor_sdk-0.9.1-cp312-cp312-win_amd64.whl
Size 2.1 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
ba58c1eb7e6077c2bfeb1e2c47fb1af6df7c5c713b7fb499d040b19d62df7bd4
BLAKE2b-256 checksum
How to use checksums
3335f0d03b9184abaafe527b53ddccd0b3345942a3a6bcdbb1bc29535a53e90b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl

Download URL sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_x86_64.whl
Size 17.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
c0bb542e8b6860890f542e5a2f2dee6603f3d785682b40739ae327b1b39ec2b8
BLAKE2b-256 checksum
How to use checksums
1dabe8874c1b7b2572c115c3b105aef7556dfd946ad558657e981318a525ad5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_aarch64.whl

Download URL sensor_sdk-0.9.1-cp312-cp312-manylinux_2_28_aarch64.whl
Size 17.4 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
d988df8af4f3689728c5a8c742f234bdbd66fd84ff254fc3d381c10da2757052
BLAKE2b-256 checksum
How to use checksums
0ac9f0261a4232305983830268ef804e489745aecb6ce2658b2f107e4cdef5f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp312-cp312-macosx_12_0_arm64.whl

Download URL sensor_sdk-0.9.1-cp312-cp312-macosx_12_0_arm64.whl
Size 2.2 MB
Tags CPython 3.12 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
06b54d756d54cc973bf4aefbea79774a4282055264c0ae3422219217c2fd5b74
BLAKE2b-256 checksum
How to use checksums
a3450d1012519d8216a44510640359813f6bafc5d125ac4335c0f32203ac9837
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp311-cp311-win_amd64.whl

Download URL sensor_sdk-0.9.1-cp311-cp311-win_amd64.whl
Size 2.2 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
9b09a550da283d29bc1aace36a16a9bc7d6c3007388d4b9617eea370524122af
BLAKE2b-256 checksum
How to use checksums
d292043fa59e5f0715b2caf70f89e877c51867eb36bf40c1a6cce604580c9109
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl

Download URL sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_x86_64.whl
Size 18.5 MB
Tags CPython 3.11 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8d5404c29378472036e7ed94ec8701633ead3d9d98b2f1fc2d31624296623ef0
BLAKE2b-256 checksum
How to use checksums
b5ff7add48262cc97a7429fb128cbac2d3715f4b7af98928cc9641dd688607ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL sensor_sdk-0.9.1-cp311-cp311-manylinux_2_28_aarch64.whl
Size 18.2 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e5d81db36e56510c34cdf32fdf708f263803b32f742c36ee53047c120155a3a0
BLAKE2b-256 checksum
How to use checksums
2f78b83f7e107da11e92ed927d011b7bbe58ca1e99b9b17ab9a34684b59ffd44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp311-cp311-macosx_12_0_arm64.whl

Download URL sensor_sdk-0.9.1-cp311-cp311-macosx_12_0_arm64.whl
Size 2.3 MB
Tags CPython 3.11 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
08d721a0e778b13d1d0b0740a1a32388bd3708df04f83790cad08d5156628cd9
BLAKE2b-256 checksum
How to use checksums
b618e548b18b158886b21706bfe60a78e092171f3d1072a6089078f999b9de2b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp310-cp310-win_amd64.whl

Download URL sensor_sdk-0.9.1-cp310-cp310-win_amd64.whl
Size 2.2 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
68b9f9cf062e799c06c5363f8229fe575a2b81dfb8dc6cd182074782c4268038
BLAKE2b-256 checksum
How to use checksums
f08f0b158a625e6480569bbc80f9fa13142b0e42dd2284a15bf4bf63ddcc3769
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl

Download URL sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_x86_64.whl
Size 17.6 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
2cf2442054127fbaea52715808a2ecd7d62c3ada66aaad6c6820d71701aa9870
BLAKE2b-256 checksum
How to use checksums
98f558fa462ca7ee441a3240234cd874bf371358dfb58eb9f5b6fea87a874059
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL sensor_sdk-0.9.1-cp310-cp310-manylinux_2_28_aarch64.whl
Size 17.3 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fe261188062f3ae5fd5097b8bffd65baf6b70284fd71a83665e803f70bca7c0d
BLAKE2b-256 checksum
How to use checksums
066621bb69080fa299cd21fee44dfecd3daaa5f094fa2941d29758719ee28efd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / sensor_sdk-0.9.1-cp310-cp310-macosx_12_0_arm64.whl

Download URL sensor_sdk-0.9.1-cp310-cp310-macosx_12_0_arm64.whl
Size 2.3 MB
Tags CPython 3.10 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
e39e8fc989c00c61b3b292c198298d17b76b0b293ab722bd93c3c98e19eed7f0
BLAKE2b-256 checksum
How to use checksums
4bddd3a012e5530c323a802bce79ec5f610d4e0d9c4f0b7df53bd76ee104ea25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for sensor-sdk 0.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.1 This release

20 release files No provenance

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