The Cecil SDK is a Python library that allows you to use our data platform. The SDK integrates with our internal API using standard HTTP methods, authentication, and response codes. Our data resources use RFC 3339 timestamps and universally unique identifiers (UUID v4).

Installation

Install the SDK in your project virtual environment. Python ≥ 3.8 is required.

pip install cecil

Authentication

Configure the SDK by setting the CECIL_API_KEY environment variable. Make sure to store your API key in an encrypted vault or secrets manager. Never store API keys in code or plain/text files.

# Linux and macOS
export CECIL_API_KEY="my-api-key"

# Windows
set CECIL_API_KEY=my-api-key

Usage

All SDK functions require authentication unless otherwise specified.

import cecil

client = cecil.Client()

client.*function_name*()

Default usage limits

Organisation settings

Organisation settings allow you to configure organisation-wide settings.

Available settings

Get organisation settings

Update organisation settings

Account management

Account management allows creating and viewing users in your organisation.

User

Create user