Skip to main content

Python client API for the Tempo simulation server. Generated gRPC wrappers with sync and async surfaces.

Project description

tempo-sim

Python client API for the Tempo simulation server.

This package provides generated gRPC wrappers (built on protobuf and grpcio) for interacting with Tempo simulation servers, exposing both synchronous and asynchronous surfaces.

Installation

pip install tempo-sim

Visualization helpers and the example clients need extra dependencies:

pip install tempo-sim[examples]

Quick start

import tempo_sim
import tempo_sim.TempoSensors  # generated protobuf modules nest under the package

# Point the client at a running Tempo server.
tempo_sim.set_server("localhost", 10001)

# Use the generated API modules, e.g. tempo_sensors, tempo_world.
from tempo_sim import tempo_sensors

The API is organized into per-service modules:

  • tempo_core / tempo_core_editor
  • tempo_agents / tempo_agents_editor
  • tempo_geographic
  • tempo_movement
  • tempo_sensors
  • tempo_world

Common helpers (set_server, run_async) are re-exported at the package root. Prefer brevity? import tempo_sim as tempo.

License

Licensed under the Apache License, Version 2.0.

Project details


Download files

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

Source Distribution

tempo_sim-0.1.1.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

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

tempo_sim-0.1.1-py3-none-any.whl (66.7 kB view details)

Uploaded Python 3

File details

Details for the file tempo_sim-0.1.1.tar.gz.

File metadata

  • Download URL: tempo_sim-0.1.1.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tempo_sim-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1d196c070d506a2d45fd68e36da46a5671b4913bac44e1f784cf22eafa540433
MD5 75cfde7777e59142c853287fba8d6836
BLAKE2b-256 9d15208d0e805d038b1e551b3a7d8e6452e44519e5877667e59a8c4765174312

See more details on using hashes here.

File details

Details for the file tempo_sim-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tempo_sim-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 66.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for tempo_sim-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3b06c3554b264ac98db1486380e2803d04053959cdbd7f0ce283e63a787c0462
MD5 ba1564391645f64c7512850b6ef88bf0
BLAKE2b-256 b00cfab607eb6af495e2d469c56347ab6602ba5a40a257400366a882d7d1c246

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page