Skip to main content

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)

# Or, for a server on this machine listening on a Unix domain socket (Linux/macOS):
tempo_sim.set_socket("sim-a.sock")

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

Metadata

Release files for tempo-sim 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tempo-sim 0.3.3
File Size Uploaded
tempo_sim-0.3.3.tar.gz 64.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tempo-sim 0.3.3
File Interpreter ABI Platform
tempo_sim-0.3.3-py3-none-any.whl Python 3 none any Details

Total release size: 145.8 kB

Release files / tempo_sim-0.3.3.tar.gz

Download URL tempo_sim-0.3.3.tar.gz
Size 64.4 kB
Tags Source
SHA-256 checksum
How to use checksums
36fd0b581327300c2e05644ae46d3a69e5a6603629673478251dbd82c06416a9
BLAKE2b-256 checksum
How to use checksums
965a042fa83b7ab976ce592b51aadf973605bfc2cf5e7e637de90e099f2c638b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / tempo_sim-0.3.3-py3-none-any.whl

Download URL tempo_sim-0.3.3-py3-none-any.whl
Size 81.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7072db4ec7c9995b78cea7d71bdf5e13da0d50568bef81e2cb78bf1fe0058272
BLAKE2b-256 checksum
How to use checksums
9986454b42a877691073394d7fdeb35bfaf488fc1374df5526e73251393f2dc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release 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