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
Metadata
Release files for capture2go 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| capture2go-1.0.1.tar.gz | 51.1 kB | Without provenance | Details for capture2go-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| capture2go-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for capture2go-1.0.1-py3-none-any.whl |
Total release size: 108.6 kB
Release files / capture2go-1.0.1.tar.gz
| Download URL | capture2go-1.0.1.tar.gz |
|---|---|
| Size | 51.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2fe5445db53733973e7ec9bd95ad631de11a8cf73adee6afc8b6de0e658cff7f
|
|
BLAKE2b-256 checksum How to use checksums |
c61b2635b986796312e143d8431d18ca17a97d728770f6b1615977b935493e1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / capture2go-1.0.1-py3-none-any.whl
| Download URL | capture2go-1.0.1-py3-none-any.whl |
|---|---|
| Size | 57.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e1194f44ee03727688023d1998bb673ab87fa9634fe84fcd442e221ceb14eb6
|
|
BLAKE2b-256 checksum How to use checksums |
d4aa6c9f722c54bcbc9923703e18611f71946f25588466e3fdb1236f9c0aaf29
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for capture2go 1.0.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.