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.0.tar.gz (49.3 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.0-py3-none-any.whl (65.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tempo_sim-0.1.0.tar.gz
  • Upload date:
  • Size: 49.3 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.0.tar.gz
Algorithm Hash digest
SHA256 42c81d6145e2bdc51d718f876690fc07e26e1d46383894626ed689f60dd10c85
MD5 6eeb644f018c9b40a4c6a150cbd77d72
BLAKE2b-256 a18cfe6ea31ceec5af484b151c1e7223ba82f99724a43fcd3426dab0f20d94dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tempo_sim-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 65.4 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9550aa55bcba0ba1d2a115d35ef266dfe6c6d8340ab14354470cfc8aa94ecc77
MD5 a60219b8438f78a02b07ad4c24d18786
BLAKE2b-256 f01cc1d84fb015473f1795b6c99f2bcb807691fa502e0efca8d3486f0519bbd2

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