Skip to main content
A flat, scannable reference for everything in 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

Documented on the Search page.

Series

Documented on the Series page.

Conventions

  • Mutating methods return bytes. The SDK returns the raw API response body for initialize_columns, upload_data_from_*, delete, processes, process, and get_connector_run. Decode and json.loads(...) if you need a dict.
  • Read methods return parsed JSON. read_all, read_by_id, metadata, get_column_definitions, and search.datasets return Python dicts/lists directly.
  • download_data is special. Its return type depends on format: bytes for CSV/XLSX/TSV, list of dicts for JSON, pandas.DataFrame for pandas.
  • All methods raise Exception on HTTP errors (status not OK). The message includes the status code and any server-provided error message.

Source

The SDK is open source. Full source: github.com/Alphacastio/alphacast-python-sdk/blob/main/alphacast/alphacast.py.