Skip to main content

Standalone Python SDK for Caracal authority enforcement

Project description

Caracal Python SDK

This directory contains the canonical Python SDK implementation.

Installation

pip install caracal-sdk

Optional extras:

# Async helpers
pip install "caracal-sdk[async]"

# Integration with caracal-core runtime
pip install "caracal-sdk[core]"

Layout

  • src/caracal_sdk/: Open-source SDK surface and transport adapters
  • src/caracal_sdk/enterprise/: Enterprise-only extension points

Goals

  • Keep SDK surface area minimal and explicit
  • Preserve parity with the Node SDK in sdk/node-sdk/
  • Support CLI/TUI integrations with stable core abstractions
  • Ship as a standalone package independent of core internals

Runtime Endpoint

By default, the SDK targets http://localhost:${CARACAL_API_PORT:-8000}.

To target a different containerized runtime endpoint (broker or enterprise), set:

export CARACAL_API_PORT=8000
export CARACAL_API_URL=http://localhost:8000

or pass base_url directly when constructing CaracalClient.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

caracal_sdk-0.1.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

caracal_sdk-0.1.0-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file caracal_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: caracal_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for caracal_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b4048a455af09f663b1275858b0abec39c96c498b9505d77a4b9b5261167d20
MD5 91e594caf4e58a7d239788591826ad9a
BLAKE2b-256 0f8b891ef4da394646ad8e4a82c00b77f9a1d6f492b68f10cdcb49895cd2bc72

See more details on using hashes here.

File details

Details for the file caracal_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: caracal_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for caracal_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f54fefd011ea38530ca72f40b6e0af0bb4bf80fff33b59cac7b7b8900a7bb39
MD5 bd3b61ee01f8d7ad39149d836ca67bf0
BLAKE2b-256 bb63b3ac3d4d58ac11cfcf307889c8b0f9db223d4a6a97dd07fc72f453496eed

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page