scitex_hub.sdk

SciTeX SDK — backward-compatible re-export from scitex-app.

All SDK code now lives in the standalone scitex-app package. This module re-exports for backward compatibility.

Usage (preferred):
>>> from scitex_app.sdk import data, files, jobs, scitex, external
Usage (legacy, still works):
>>> from scitex_hub.sdk import data, files, jobs, scitex, external
class scitex_hub.sdk.PlatformClient(token: str | None = None, base_url: str | None = None)[source]

Low-level HTTP client for Platform REST APIs.

__init__(token: str | None = None, base_url: str | None = None)[source]
request(method: str, endpoint: str, data: dict | None = None, params: dict | None = None, files: dict | None = None) dict[source]

Make authenticated HTTP request to Platform API.

scitex_hub.sdk.get_client() PlatformClient[source]

Get or create the default PlatformClient singleton.

scitex_hub.sdk.reset_client() None[source]

Reset the default client (useful after env var changes).