API and Resources for Yost Labs 3.0 Threespace sensors.
YostLabs Namespace Package System
This package is part of the YostLabs namespace package environment for working with Yost Labs sensors. Available packages include:
- yostlabs - Sensor communication and API for 3Space sensors
- yostlabs-math - Math utilities for quaternions, vectors, and coordinate transformations
- yostlabs-graphics - Graphic API for sensor data visualization
Installation
python -m pip install yostlabs
⚠️ Important Upgrade Notice: If you are upgrading from a previous version, the namespace structure has changed and may cause installation conflicts. If you encounter issues during the upgrade, uninstall all existing yostlabs packages first and then reinstall the newest versions:
python -m pip uninstall yostlabs yostlabs-math yostlabs-graphics
python -m pip install yostlabs
Basic Usage
USB
from yostlabs.tss3.api import ThreespaceSensor
#Will auto detect a 3-Space sensor connected to the machine via a USB connection
sensor = ThreespaceSensor()
result = sensor.getPrimaryCorrectedAccelVec()
print(result)
sensor.cleanup()
BLE
from yostlabs.tss3.api import ThreespaceSensor
from yostlabs.communication.ble import ThreespaceBLEComClass
#PUT YOUR SENSORS BLE_NAME HERE
ble_name = "YL-TSS-####" #Defaults to the lowest 4 hex digits of the sensors serial number
com_class = ThreespaceBLEComClass(ble_name)
sensor = ThreespaceSensor(com_class)
#sensor = ThreespaceSensor(ThreespaceBLEComClass) #Attempt to auto discover nearby sensor
result = sensor.getPrimaryCorrectedAccelVec()
print(result)
sensor.cleanup()
Click here for more examples.
Communication
The ThreespaceSensor class utilizes a ThreespaceComClass to define the hardware communication interface between the device utlizing this API and the Threespace Sensor. Currently only the ThreespaceSerialComClass is available for use with the API. New ComClasses for different interfaces will be added to the communication package in the future.
To create your own ThreespaceComClass, take a look at the necessary interface definitions here and the Serial implementation here.
Documentation
WIP. Please review the example scripts. For further assistance contact techsupport@yostlabs.com.
Metadata
Release files for yostlabs 2026.8.26
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 | |
|---|---|---|---|---|
| yostlabs-2026.8.26.tar.gz | 399.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yostlabs-2026.8.26-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 496.0 kB
Release files / yostlabs-2026.8.26.tar.gz
| Download URL | yostlabs-2026.8.26.tar.gz |
|---|---|
| Size | 399.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ae1780c5480de13352935bb3365db5ae73548f191ff9cd23c9820589cd43517c
|
|
BLAKE2b-256 checksum How to use checksums |
05602e953c3b150a66120ba04689e36a22d41d05bb5cf88a4fb4315a1528e1bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / yostlabs-2026.8.26-py3-none-any.whl
| Download URL | yostlabs-2026.8.26-py3-none-any.whl |
|---|---|
| Size | 96.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85eec881bf3439220614518eaf0d9679c1d1e8d75ceee79a2069bd4a9a91d26c
|
|
BLAKE2b-256 checksum How to use checksums |
8bccf21654e9f4bbbbb1688953ae7d7065ad3bfbb87afb19b5e8e5d3f0a8cbc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Security for yostlabs 2026.8.26
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.