Skip to main content

GitHub  •  LinkedIn  •  X  •  Discord

Telekinesis Datatypes

Telekinesis Datatypes is a core library providing canonical, strongly typed data structures for robotics and computer vision applications within the Telekinesis ecosystem.

Features

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

Requirements

Current support for Python versions - 3.11, 3.12.

Note

  • Telekinesis Datatypes is currently in its early development phase (pre-1.0).
  • There will be continuous version updates which introduces new datatypes and optimization. To have the latest features, please always install or upgrade to the latest version of the package.

Installation

  1. Create an isolated environment so that there is no dependency conflicts. We recommend installing Miniconda environment by following instructions from here.

  2. Create a new conda environment called telekinesis-datatypes:

    conda create -n telekinesis-datatypes python=3.11
    
  3. Activate the environment:

    conda activate telekinesis-datatypes
    
  4. Install the core SDK using pip:

    pip install telekinesis-datatypes
    

    Note: The Python module is called datatypes, while the package published on PyPI is telekinesis-datatypes.

Example

Run a sample python code to quickly test your installation.

  1. Create a Python file named datatypes_example.py in 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}" )
    
  2. On a terminal, navigate to the directory where the above file named datatypes_example.py has been created, run the below command:

    python datatypes_example.py
    

    Expected 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

Support

For issues and questions:

Download files

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

Source Distribution

telekinesis_datatypes-0.3.1.tar.gz (216.4 kB view details)

Uploaded Source

Built Distribution

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

telekinesis_datatypes-0.3.1-py3-none-any.whl (223.6 kB view details)

Uploaded Python 3

File details

Details for the file telekinesis_datatypes-0.3.1.tar.gz.

File metadata

  • Download URL: telekinesis_datatypes-0.3.1.tar.gz
  • Upload date:
  • Size: 216.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for telekinesis_datatypes-0.3.1.tar.gz
Algorithm Hash digest
SHA256 b4dd361200e58777eedd39438f03db86884a53d5a7ad5950a35b772b36d3df07
MD5 b29fac3cdc79e35b9654b2fd9e9f37a6
BLAKE2b-256 1115327d25247c93255e3476dac63e75b01633e5c0e3f1d6ee3f76fede6eaa32

See more details on using hashes here.

File details

Details for the file telekinesis_datatypes-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for telekinesis_datatypes-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d1c9d6381b7d9c559c72e655883f6be3e22306a429fc886e7f0e839eb09b344
MD5 363d2b9799570f853041e773ca5a94ac
BLAKE2b-256 691ae1be2d1b80267fe741d67fdcb6bc499286473e198c8d8f58ebfaa01951ad

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.11

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

This release

0.3.1 This release

2 files

0.3.0

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.5

2 files

0.1.3

2 files

0.1.0

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