Credal Python Library

fern shield

The Credal Python Library provides convenient access to the Credal API from applications written in Python.

Installation

pip install --upgrade credal

Usage

Docs for the API endpoints available through the SDK can be found here.

from credal.client import CredalApi

client = CredalApi(
    api_key="YOUR_API_KEY",
)

Async Client

from credal.client import AsyncCredalApi

client = AsyncCredalApi(
    api_key="YOUR_API_KEY",
)

Beta Status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version. This way, you can install the same version each time without breaking changes.