Simulacrum client
The Simulacrum class is the primary entry point for the Python SDK. It wraps authentication, request routing, and response validation.
Constructor
The constructor validates both arguments and raises
TypeError when they are empty or not strings.
forecast
Returns a numpy array ordered chronologically. The method converts sequences to floats, enforces one-dimensionality, and raises
TypeError or ValueError before issuing the request when validation fails.
Exceptions
AuthError,ApiKeyExpiredError,ApiKeyInactiveError,ApiKeyInvalidErrorInvalidRequestError,ForecastAlreadyRunningError,QuotaExceededErrorApiErrorfor all other non-2xx responses
validate
GET request to /{modelName}/v1/validate (e.g., /tempo/v1/validate) and returns a typed response with key metadata.