Skip to main content

brokkr-client-generated

brokkr-client-generated is the low-level Python client for the Brokkr broker API. openapi-python-client generates it from the broker's OpenAPI specification (openapi/brokkr-v1.json). The import name is brokkr_broker_client.

Most users want the brokkr-client package instead (from brokkr import BrokkrClient). That wrapper adds one-step authentication, typed errors, a retry helper, and apply for a folder of manifests. It installs this package for you. See the Python SDK guide.

Version

The package version matches the broker version. Use the release that has the same version as your broker. See the releases page.

Use the raw client

This client does not change the base URL. Give it the broker URL with the /api/v1 prefix. Each operation is a module under brokkr_broker_client.api.<tag>. Each module has the functions sync, sync_detailed, asyncio and asyncio_detailed.

from brokkr_broker_client import AuthenticatedClient
from brokkr_broker_client.api.auth import verify_pak
from brokkr_broker_client.api.stacks import list_stacks

client = AuthenticatedClient(
    base_url="http://localhost:3000/api/v1",  # this client needs the prefix
    token="<generator PAK>",
)

with client as c:
    identity = verify_pak.sync(client=c)
    print("generator:", identity.generator)

    response = list_stacks.sync_detailed(client=c)
    print("status:", response.status_code)
    for stack in response.parsed:
        print(stack.name, stack.id)

A documented error status (for example 401 or 404) does not raise an exception. The call returns an ErrorResponse in place of the model. Use the *_detailed functions to read the HTTP status.

Regeneration

Do not edit the generated code by hand. Run angreal openapi gen-python from the repository root. That task also copies this README from .angreal/files/python-client-generated-README.md. Edit the README there.

Metadata

Release files for brokkr-client-generated 0.10.0

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

Source distribution (sdist)

Source distribution for brokkr-client-generated 0.10.0
File Size Uploaded
brokkr_client_generated-0.10.0.tar.gz 75.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for brokkr-client-generated 0.10.0
File Interpreter ABI Platform
brokkr_client_generated-0.10.0-py3-none-any.whl Python 3 none any Details

Total release size: 312.7 kB

Release files / brokkr_client_generated-0.10.0.tar.gz

Download URL brokkr_client_generated-0.10.0.tar.gz
Size 75.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a8ad721c93923fbdb25e7d41c2c68ad336f0106843ef48ddeb107171a066676
BLAKE2b-256 checksum
How to use checksums
4b16e394aecfef9a29b9dd1fd78b58f68c614cbd1d2cbd98e0405e2dca25f56b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release files / brokkr_client_generated-0.10.0-py3-none-any.whl

Download URL brokkr_client_generated-0.10.0-py3-none-any.whl
Size 236.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3fa744375c3b726fdc7cb4f4963ddc2e889a03ecaa1e4d3f88e08ce8879190f5
BLAKE2b-256 checksum
How to use checksums
17d38a6b04c67e6ab4c6048e3f9f0a4eefbcc0cb229c7244fc286eafeea82fc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 13, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.10.0 This release

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

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