Official core data types and serialization utilities package for the Telekinesis SDK and APIs.
Project description
GitHub • LinkedIn • X • Discord
Telekinesis Datatypes
Telekinesis Datatypes is a core library providing canonical, strongly typed data structures for robotics and computer vision within the Telekinesis ecosystem. It includes:
- 3D data types: point clouds, meshes, transforms, and geometric primitives
- 2D data types: images, bounding boxes, masks, and pixel-space geometry
- Standardized representations for common perception and geometry formats
- Efficient serialization and deserialization for reliable data exchange
This library is used internally by the Telekinesis SDK as the foundation for data exchange across perception, planning, and learning components.
Telekinesis Datatypes is currently in its early development phase (pre-1.0). There will be continuous minor version updates that may introduce new data models and improvements. To ensure compatibility and have the latest features, please always install or upgrade to the latest version of the package..
Installation
-
Create an isolated environment so that there is no dependency conflicts. We recommend installing
Minicondaenvironment by following instructions from here. -
Create a new
condaenvironment calleddatatypes:conda create -n datatypes python=3.11
-
Activate the environment:
conda activate datatypes
-
Install the core SDK using
pip:We currently support Python versions - 3.11, 3.12. Ensure your environment is in the specified Python version.
pip install telekinesis-datatypes
Note: The Python module is called
datatypes, while the package published on PyPI istelekinesis-datatypes.
Example
Run a sample python code to quickly test your installation.
-
Create a
Pythonfile nameddatatypes_example.pyin a directory of your choice in your system, and copy paste the below:import numpy as np from datatypes import datatypes # Create Rgba32 colors for R, G, B red = datatypes.Rgba32([255, 0, 0, 255]) green = datatypes.Rgba32([0, 255, 0, 255]) blue = datatypes.Rgba32([0, 0, 255, 255]) print(f"Red color (packed uint32): {red.rgba}") print(f"Green color (packed uint32): {green.rgba}") print(f"Blue color (packed uint32): {blue.rgba}") # Use __int__() to convert to integer red_int = int(red) print(f"Red as int: {red_int}") print(f"Direct comparison: int(red) == red.rgba: {red_int == red.rgba}" )
-
On a terminal, navigate to the directory where the above file named
datatypes_example.pyhas been created, run the below command:python datatypes_example.pyExpected output:
Red color (packed uint32): 4278190335 Green color (packed uint32): 16711935 Blue color (packed uint32): 65535 Red as int: 4278190335 Direct comparison: int(red) == red.rgba: True
You are now set up with Telekinesis Datatypes.
Resources
-
Examples
Runnable usage examples for Telekinesis Datatypes: Telekinesis Examples (see examples/datatypes_examples.py) -
Documentation
Full SDK documentation and usage details: Telekinesis Documentation -
Sample Data
Datasets used across the examples: Telekinesis Data
Support
For issues and questions:
- Create an issue in the GitHub repository.
- Contact the Telekinesis development team at support@telekinesis.ai or on Discord.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telekinesis_datatypes-0.1.5.tar.gz.
File metadata
- Download URL: telekinesis_datatypes-0.1.5.tar.gz
- Upload date:
- Size: 52.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5adbbe741e367f11d04fe3d7c2e0bcbaf6463de155fbd22788762df92fecaae
|
|
| MD5 |
d8efd5230c26bdfd7a4c5e9fbe25ada8
|
|
| BLAKE2b-256 |
b23497904cc494b0bc925661c4e9c9fbc5f1e5cefbf50c251a0b09d5d01e362d
|
File details
Details for the file telekinesis_datatypes-0.1.5-py3-none-any.whl.
File metadata
- Download URL: telekinesis_datatypes-0.1.5-py3-none-any.whl
- Upload date:
- Size: 51.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a13d6d7b486c7a6329e8c84713de2168ba5d568167be28d69ac2c18e7292dc7
|
|
| MD5 |
90f186b7b95b90accab4af41333992e2
|
|
| BLAKE2b-256 |
ea248ce74969cea706a32795e6aaa840ae37d32cf0fc460cc27d0fc425268916
|