For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Python

Install and use the Python SDK for Data Product APIs.

Use the Python SDK when a Python application, notebook, or automation needs typed access to Data Product APIs.

The SDK wraps the API groups into a single VulcanClient.

Prerequisites

Python 3.9 or later. (Dependencies like pydantic, requests, and uplink are installed automatically with the SDK.)

Installation

Download the SDK package, then install it locally:

pip install vulcan_sdk-0.228.1.32-py3-none-any.whl

Create a client

from vulcan_sdk import VulcanClient

client = VulcanClient(
    fqdn="example.dataos.io",
    dp_name="b2b_saas",
    access_token="<your-dataos-api-token>",
    tenant="public",
)

The SDK builds the base URL automatically:

Constructor options

Parameter
Type
Required
Description

fqdn

str

Yes

DataOS FQDN, for example example.dataos.io.

dp_name

str

Yes

Data Product name, for example b2b_saas.

access_token

str

Yes

tenant

str

Yes

Tenant name, for example public.

timeout

float

No

Request timeout in seconds. Default: 30.0.

verify_ssl

bool

No

Whether to verify TLS certificates. Default: True.

See API tokens for how tokens work.

Query example

API groups

Group
Access via

Metadata

client.metadata

Query

client.query

Activity

client.activity

Data Quality

client.dq

Perspectives

client.perspectives

Notifications

client.notifications

Followers

client.followers

Troubleshooting

The SDK raises VulcanError for API failures, authentication failures, invalid requests, missing parameters, and unexpected API responses.

For the full method reference, see SDKs in References.

Last updated

Was this helpful?