alphacast. Every method is documented in detail on its own page; this page is for quick lookup.
Alphacast(api_key)
The top-level client. Holds your API key and exposes the four sub-clients.
Repository
Documented on the Repositories page.
Datasets
Documented on the Datasets page (collection-level methods) and Uploading data (create).
Dataset (per-dataset handle)
Returned by alphacast.datasets.dataset(id). Each call constructs a fresh handle bound to the given ID.
Read methods
Write methods
Process
Search
Documented on the Search page.
Series
Documented on the Series page.
Conventions
- Mutating methods return
bytes. The SDK returns the raw API response body forinitialize_columns,upload_data_from_*,delete,processes,process, andget_connector_run. Decode andjson.loads(...)if you need a dict. - Read methods return parsed JSON.
read_all,read_by_id,metadata,get_column_definitions, andsearch.datasetsreturn Python dicts/lists directly. download_datais special. Its return type depends onformat: bytes for CSV/XLSX/TSV, list of dicts for JSON,pandas.DataFrameforpandas.- All methods raise
Exceptionon HTTP errors (status not OK). The message includes the status code and any server-provided error message.