platform
platform
Client for the TVBO platform REST API (load/push saved models & experiments).
This mirrors tvbo_platform shipped in the tvbo-platform repo (clients/python), bundled here so users with the tvbo package can simply::
from tvbo.platform import TVBOPlatform
tvbo = TVBOPlatform(base_url="https://platform.example", api_key="tvbo_…")
exp = tvbo.load_experiment(123) # -> SimulationExperiment
tvbo.push_experiment(exp, visibility="shared")
Mint an API key at <platform>/my/api-keys.
Classes
| Name | Description |
|---|---|
| TVBOPlatform | |
| TVBOPlatformError | Raised when the platform returns an error response. |
TVBOPlatform
platform.TVBOPlatform(base_url, api_key, timeout=60)TVBOPlatformError
platform.TVBOPlatformError()Raised when the platform returns an error response.