Skip to main content

Python SDK

Official Python client library for PDaaS.

Installation

pip install pdaas-sdk

Quick Start

User Authentication

from pdaas import Client

client = Client(
base_url="https://api.console.solucao42.com.br",
email="[email protected]",
password="password",
organization_slug="myorg"
)

# List accounts
accounts = client.accounts.list()

Service Account Authentication

from pdaas import Client

client = Client(
base_url="https://api.console.solucao42.com.br",
access_key="sa_myorg_acc123_xyz",
secret_key="your-secret-key"
)

# Create service account
sa = client.service_accounts.create(
name="CI/CD Bot",
account_id="acc-123"
)

Documentation