Skip to main content

burdenoff-sdk-libs

Modular SDK library shared across all Burdenoff product SDKs (Python).

Each module under src/burdenoff_sdk_libs/modules/<name>/ exports an SdkModule (a dataclass with attach(ctx) -> API). Product SDKs (vibecontrols-sdk-python, botlit-sdk-python, etc.) become thin shells that pick which modules to mount. Sister to @burdenoff/sdk-libs (Node) and @burdenoff/cli-sdk.

HeadshotMarketing social connection migration

Social account creation and updates use integration_connection_id (serialized as integrationConnectionId) to reference a connection owned by the integrations service. Complete the provider connection flow there first; do not send provider credentials to HeadshotMarketing. The retired access_token and refresh_token constructor arguments now raise TypeError. Dynamically attached legacy credential attributes, including camel-case spellings, raise the SDK's ValidationError before HTTP without including their values in the error.

Use delivery_mode (API, INTERNAL, or WEBHOOK) and webhook_url where the backend supports that delivery path. token_expires_at, metadata, profile fields and follower counts remain supported. The SDK's own session authentication token is separate and unchanged. This source change is not evidence of registry publication or deployed connection acceptance.

FluidGrids usage summary migration

fluidgrids.usage.billing_summary() and FluidgridsBillingSummary are removed; use fluidgrids.usage.workflow_usage_summary() and FluidgridsWorkflowUsageSummary (BOFF-5339). The workflow service removed the billingSummary query and its estimatedCost, which priced node minutes at a hard-coded example rate; usage charges belong to the billing service. The deprecated alias the previous release kept has been removed too. The replacement takes the same date range and returns the same counters, with no cost figure. Details: docs/fluidgrids.md.

Architecture

  • Core (src/burdenoff_sdk_libs/core/): SdkContext, SdkModule Protocol, dual-gateway BaseGraphQLClient (workspace + global), AuthStore with pluggable TokenStore (InMemoryTokenStore, FileTokenStore, EnvTokenStore), error hierarchy with token redaction, structured logger, ModuleRegistry.
  • Modules (src/burdenoff_sdk_libs/modules/<name>/): __init__.py exports SdkModule instance. operations.py holds hand-written GraphQL doc strings. api.py builds the API. Generated types land at src/burdenoff_sdk_libs/modules/<name>/__generated__/types.py (gitignored).
  • PEP 562 lazy imports: top-level __getattr__ defers module loading until first access (lambda/edge cold-start friendly).
  • Hard rules: Modules NEVER import each other directly — use ctx.modules.get('id'). Modules NEVER print, raise plain Exception, or log secrets unredacted.

Build & Commands

python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
pytest                            # unit tests
pytest --cov                      # with coverage
python scripts/codegen.py         # generate types from pinned supergraph
python scripts/parity_check.py    # cross-language manifest diff vs sdk-libs-node
python -m build                   # sdist + wheel

Adding a module

  1. mkdir src/burdenoff_sdk_libs/modules/<id> with __init__.py, operations.py, api.py, types.py.
  2. Export SdkModule instance from __init__.py (e.g. auth_module = AuthModule()).
  3. Add to _LAZY_MODULES in top-level __init__.py if surfacing at package root.
  4. Add manifest entry to schema/modules.yaml.
  5. Mirror in ~/products/sdk-libs-node/ in the SAME PR pair.

Testing

  • Unit (tests/test_*.py): pure logic. No HTTP. pytest, <5s.
  • Integration: respx intercepts HTTP. Mock factories derived from __generated__/types.py.
  • E2E: real svc + state, run nightly.
  • Parity: same tests/parity/<scenario>.yaml run by node + python.

Reference

  • ~/products/sdk-libs-node/ — sister Node library.
  • ~/products/cli-sdk/ — sister CLI library.
  • ~/products/vibecontrols/vibecontrols-sdk-python/ — first consumer (thin shell).
  • ~/products/dev/audit/index/vibecontrols.md — 23-module ground-truth.
  • docs/fluidgrids.md — the FluidGrids module: authentication, errors and misses, retries, following a run live, paging, secrets, quirks.

Metadata

Release files for burdenoff-sdk-libs 2026.1115.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for burdenoff-sdk-libs 2026.1115.2
File Size Uploaded Provenance Actions
burdenoff_sdk_libs-2026.1115.2.tar.gz 1.2 MB Without provenance Details for burdenoff_sdk_libs-2026.1115.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for burdenoff-sdk-libs 2026.1115.2
File Interpreter ABI Platform Actions
burdenoff_sdk_libs-2026.1115.2-py3-none-any.whl Python 3 none any Details for burdenoff_sdk_libs-2026.1115.2-py3-none-any.whl

Total release size: 2.3 MB

Release files / burdenoff_sdk_libs-2026.1115.2.tar.gz

Download URL burdenoff_sdk_libs-2026.1115.2.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
06ed8c063d3913e6d09d0554cdddd49837110fdb1a7d8896d773eea792aacad2
BLAKE2b-256 checksum
How to use checksums
a22507e1ecf5bd8541f388dd8b4d8e6e15450afc6eabe22ac28e3a10c4b4776f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Release files / burdenoff_sdk_libs-2026.1115.2-py3-none-any.whl

Download URL burdenoff_sdk_libs-2026.1115.2-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
f4e84c90599d99992d9b75ad8346424a3e4b75c17288bbdee68fcc592137afb6
BLAKE2b-256 checksum
How to use checksums
ca448e4acb39687babdacb7f862e9a8b6de202bbd73f6a93a4ce260101faee6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.18

Security for burdenoff-sdk-libs 2026.1115.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.1115.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page