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-1.0.1.tar.gz (51.1 kB view details)

Uploaded Source

Built Distribution

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

capture2go-1.0.1-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for capture2go-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2fe5445db53733973e7ec9bd95ad631de11a8cf73adee6afc8b6de0e658cff7f
MD5 ce8e5ef432b27c30b53bed623c36faf3
BLAKE2b-256 c61b2635b986796312e143d8431d18ca17a97d728770f6b1615977b935493e1d

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for capture2go-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6e1194f44ee03727688023d1998bb673ab87fa9634fe84fcd442e221ceb14eb6
MD5 a11866a1ccd2982edb82c19724c3470f
BLAKE2b-256 d4aa6c9f722c54bcbc9923703e18611f71946f25588466e3fdb1236f9c0aaf29

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