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.2.0.tar.gz (50.5 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.2.0-py3-none-any.whl (65.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tempo_sim-0.2.0.tar.gz
  • Upload date:
  • Size: 50.5 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.2.0.tar.gz
Algorithm Hash digest
SHA256 c1b187b6a374b8e514bcfc8a3dc51a497b79d682de671c851078525a95876346
MD5 923b0963ab4436e9a92b51cee1a6469d
BLAKE2b-256 935e6c72e4d4617925a7d7744e7c734ae9fd2c289de02035a1c6300aabc93288

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tempo_sim-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 65.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84c0cafe63f0bcf035e173e2f01d42a29152862fda0d132d1e66af9ba4ce9dc7
MD5 d97314790abde0919aacdc3a21b4cbc7
BLAKE2b-256 23ef738137c6d93e6bf98753e141e35d98c7c351fd7112c845e24d394f6a036c

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