Skip to main content
The Alphacast Python SDK is a Python client for Alphacast. Use it to:
  • Download datasets into a pandas.DataFrame.
  • Upload a DataFrame or CSV.
  • Create repositories and datasets, and check upload processes.
  • Search datasets.

Installation

The package installs requests, pandas, and python-dotenv. The source code is on GitHub.

Initialize the client

Find your API key in your settings. Next to API Key, click Show Key.
Catalog access and download volume depend on your plan. Creating datasets also requires a plan that lets you create assets.
Some write methods do not raise an exception when a request fails. See Check write results.

What’s in this section

Quickstart

Upload a DataFrame and download it again.

Authentication

Get and protect your API key.

Repositories

Manage repositories.

Datasets

Find and inspect datasets.

Uploading data

Upload from a DataFrame or CSV.

Downloading data

Get data with filters and formats.

Series

Read a single series.

Search

Search for datasets.

Beyond the SDK

The SDK does not cover the whole API. For data providers, call the REST API with the same key.