Skip to main content

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.

Download files

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

Source Distribution

yostlabs-2026.7.24.tar.gz (436.8 kB view details)

Uploaded Source

Built Distribution

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

yostlabs-2026.7.24-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

File details

Details for the file yostlabs-2026.7.24.tar.gz.

File metadata

  • Download URL: yostlabs-2026.7.24.tar.gz
  • Upload date:
  • Size: 436.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for yostlabs-2026.7.24.tar.gz
Algorithm Hash digest
SHA256 7086e2860a002b94a48ff224dc17053ebfdffb24945df94a9deaf813c166da93
MD5 3d437f5e8ee747a7ebbdd9a5d59547c6
BLAKE2b-256 8bfd766866139de58cc24a406db5dd429f4b8fd9ead5e3f59e37587d28d929c0

See more details on using hashes here.

File details

Details for the file yostlabs-2026.7.24-py3-none-any.whl.

File metadata

  • Download URL: yostlabs-2026.7.24-py3-none-any.whl
  • Upload date:
  • Size: 92.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for yostlabs-2026.7.24-py3-none-any.whl
Algorithm Hash digest
SHA256 4dee6a8c775ed054cf86aa139275412390a0849cfd506c3fc9eeb79d6e0ff567
MD5 9b7807d1218f1b3a3a577f1e2553a2a0
BLAKE2b-256 9974fb4005abba57b381dd6d0a4d8dda70f13d71ea6dc5517ce7b418afe29145

See more details on using hashes here.

Release history Release notifications | RSS feed

2026.8.26

2 files

2026.8.11

2 files

2026.8.10

2 files

2026.7.29

2 files

2026.7.27

2 files

This release

2026.7.24 This release

2 files

2026.7.8

2 files

2026.6.26

2 files

2026.6.17

2 files

2026.6.8

2 files

2026.6.2

2 files

2026.4.24

2 files

2026.4.13

2 files

2026.4.10

2 files

2026.3.16

2 files

2026.2.26

2 files

2026.2.23

2 files

2026.2.4

2 files

2025.10.29.2

2 files

2025.10.29.1

2 files

2025.10.29

2 files

2025.10.24

2 files

2025.10.6

2 files

2025.9.18

2 files

2025.9.17

2 files

2025.5.14

2 files

2025.4.30

2 files

2025.4.28

2 files

2025.3.6

2 files

2025.2.17

2 files

2025.2.11

2 files

2025.2.10

2 files

2025.1.16

2 files

2025.1.10

2 files

2025.1.9

2 files

2025.1.3.4

2 files

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