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)
| File | Size | Uploaded | |
|---|---|---|---|
| brokkr_client_generated-0.10.0.tar.gz | 75.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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