Skip to main content

Mosaico Logo

Mosaico SDK

The Mosaico SDK is the primary interface for interacting with the Mosaico Data Platform, a high-performance system designed for the ingestion, storage, and retrieval of multi-modal sensor data (Robotics, IoT, and Computer Vision).

For full documentation, see the Mosaico SDK Documentation.

Installation

Install the SDK via pip:

pip install mosaicolabs

Infrastructure Prerequisite

Before running any mosaico service via SDK, ensure your Mosaico Infrastructure is active and running. The easiest way to follow the documentation.

from mosaicolabs import MosaicoClient

# Connect to the Mosaico server
with MosaicoClient.connect(host="localhost", port=6726) as client:
    # Simple is-alive check
    print(client.version())

Interactive Examples

We provide pre-built examples to help you explore the SDK capabilities. You can run them using the mosaicolabs.examples command:

# List all available examples and help
mosaicolabs.examples --help

# Run a specific example
mosaicolabs.examples data_inspection

Available Examples:

  • ros_injection: Demonstrates downloading a sample dataset and ingesting it.
  • data_inspection: Shows how to list sequences and inspect topic metadata.
  • query_catalogs: Advanced querying based on ontology tags and sensor values.
  • mujoco_vis: Advanced querying and result visualization.

ROS Data Injector

Inject ROS bags (MCAP or legacy) directly into the platform:

mosaicolabs.ros_injector --file path/to/your/data.mcap --sequence my_test_run

Quick Start (Python)

from mosaicolabs import MosaicoClient

# Connect to the Mosaico server
with MosaicoClient.connect(host="localhost", port=6726) as client:
    # List available sequences
    sequences = client.list_sequences()
    print(f"Connected! Found sequences: {sequences}")

    # Get a handle for a specific sequence
    if sequences:
        handler = client.sequence_handler(sequences[0])
        print(f"- Topics: {handler.topics}")
        print(f"- Created: {handler.created_timestamp}")
        print(f"- Updated: {handler.updated_timestamps}")

License

This project is licensed under the Apache-2.0 licence.

Contributing

We welcome contributions! Please refer to our Development Guide for instructions on how to set up your environment using Poetry.

Download files

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

Source Distribution

mosaicolabs-0.6.0.tar.gz (284.5 kB view details)

Uploaded Source

Built Distribution

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

mosaicolabs-0.6.0-py3-none-any.whl (384.2 kB view details)

Uploaded Python 3

File details

Details for the file mosaicolabs-0.6.0.tar.gz.

File metadata

  • Download URL: mosaicolabs-0.6.0.tar.gz
  • Upload date:
  • Size: 284.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/25.5.0

File hashes

Hashes for mosaicolabs-0.6.0.tar.gz
Algorithm Hash digest
SHA256 77eb0e47421282abc05fc731fb42405c5ba2fb5c7b3f749b089e795305f54d6d
MD5 ff756582b5d382b33e378ce731eded6f
BLAKE2b-256 77c6e8212d816cb8a943d4e50d146e70445775dfe64bb2ca5e60391ac236bb25

See more details on using hashes here.

File details

Details for the file mosaicolabs-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: mosaicolabs-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 384.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/25.5.0

File hashes

Hashes for mosaicolabs-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffbe86d02fe3fd14c602e955084c9df525e21fa3bd20cc8d525611b7b95a9428
MD5 1369d0e876bb0c168d072915880f6c29
BLAKE2b-256 bbbef3e409ffbc07ad7f53060bf83b3b22dea8493243a2a55997c11fa906f32a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.2

2 files

This release

0.6.0 This release

2 files

0.5.0

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.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