Simulacrum Python SDK
Simulacrum projects your time series into realistic futures so you can reason about demand, risk, and opportunity with confidence. This documentation walks you through the Python SDK, the underlying HTTP API, and the practices we recommend when you embed forecasting into products or internal workflows.
Install the SDK with pip install simulacrum-sdk and follow the quickstart to generate your first forecast in under five minutes.
What you can ship with Simulacrum
- Fast forecasts backed by Simulacrum’s production API.
- Guard rails for quota, authentication, and model selection errors.
- Patterns for backtesting, batched inference, and governance in production.
First look
from simulacrum import Simulacrum
client = Simulacrum(api_key="sim-key_id-secret")
forecast = client.forecast(series=[128.5, 131.7, 133.0, 137.9], horizon=4, model="tempo")
print(forecast.tolist())
The guides tab contains end-to-end walkthroughs, while the reference tab documents every class, model, and endpoint exposed by the SDK.
Need a hand? Reach out via the support link in the navigation bar or open an issue on GitHub.