Skip to main content

SDK for Capture2Go, the wearable sensor platform by SensorStim Neurotechnology GmbH.

Project description

Read the Docs PyPI version Python versions License: MIT

Capture2Go Python SDK

Introduction

Capture2Go is the wearable sensor platform by SensorStim Neurotechnology GmbH. The main product is the Capture2Go IMU, a wireless motion sensor with advanced on-chip sensor fusion.

This Python SDK is meant for power users who want to integrate Capture2Go devices into their own application. It supports scanning for sensors over BLE, connecting to sensors over BLE and USB, and communicating with the sensors to record and stream sensor data.

The SDK is based on the bleak Bluetooth library, uses asyncio, and works on Linux, macOS, and Windows. Note that the performance depends on the Bluetooth hardware and the Bluetooth stack of the operating system.

If you want to integrate Capture2Go devices in your own application without using Python, please check the documentation of the communication protocol (see below).

If you only want to use the sensors to record data in a simple and efficient way, please take a look at our mobile measurement app.

Installation

The capture2go package can easily be installed from PyPI via pip:

pip install capture2go

To install the package from source, clone this repository and execute the following command in the root directory of this repository:

pip install .

In general, it is recommended to use a virtual environment. Depending on your setup, you might need to use pip instead of pip3 and/or use the --user flag. When developing this SDK itself, use the -e flag to install the package in editable mode.

Example Code

The folder examples/ contains example code that shows how to use the SDK. To understand what the code is doing, run the scripts with the --help flag and look at the source code.

Documentation

The documentation of the SDK is available on https://capture2go.readthedocs.io/.

Documentation of the Communication Protocol

The documentation of the communication protocol can be found in the documentation and in protocol/Capture2Go_Communication_Protocol.md.

License

The Capture2Go SDK is licensed under the terms of the MIT license.

Contact

support@capture2go.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capture2go-0.8.0.tar.gz (50.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capture2go-0.8.0-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file capture2go-0.8.0.tar.gz.

File metadata

  • Download URL: capture2go-0.8.0.tar.gz
  • Upload date:
  • Size: 50.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for capture2go-0.8.0.tar.gz
Algorithm Hash digest
SHA256 2431a8c5ca3f909cc06e87486efa1ef2e434d4e469b4bef2df86a8a6ec8504fd
MD5 82a247f32684249c65e2ba06eb25c037
BLAKE2b-256 568e422599bcd6f6932615635a8d6310bcdcdfe204b824a5ede2954aa4853ff9

See more details on using hashes here.

File details

Details for the file capture2go-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: capture2go-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for capture2go-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81adea5e3522b28145843dea1fe697edb58cfcb9e5474030545f33c04ee0a8d7
MD5 130c6983ad8818e3202340dbd8f7b143
BLAKE2b-256 6c8a3b3282bfdb48d60fef0c066f2218d2966b2779e258916ef08cd68ff10f40

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page