ARP Standard Python Client (arp-standard-client)
Install
python3 -m pip install arp-standard-client
Usage
from arp_standard_client.run_gateway import RunGatewayClient
from arp_standard_model import (
NodeTypeRef,
RunGatewayHealthRequest,
RunGatewayStartRunRequest,
RunStartRequest,
)
client = RunGatewayClient(base_url="http://127.0.0.1:8080", bearer_token="your-jwt")
health = client.health(RunGatewayHealthRequest())
run = client.start_run(
RunGatewayStartRunRequest(
body=RunStartRequest(
root_node_type_ref=NodeTypeRef(
node_type_id="example.com/node-types/my-root",
version="1.0.0",
),
input={"goal": "Hello, ARP"},
)
)
)
Request objects
All facade methods require a single request object from arp_standard_model. These request objects wrap:
params: path/query parameters (if any)body: JSON request body (if any)
Request and params models are service-prefixed (e.g., RunGatewayGetRunRequest, NodeRegistryListNodeTypesRequest) to avoid collisions.
Request body models are also exported with a *RequestBody alias (e.g., RunStartRequestBody).
Response payloads
Client methods return the spec-defined payload objects directly (for example: Run, Health, VersionInfo) rather
than service-specific *Response wrappers. For forward-compatible additions, use extensions (and metadata where
available); arbitrary top-level fields are not allowed by the schemas (additionalProperties: false).
Wire format
Models use the exact JSON field names from the spec (no aliasing). When serializing manually, use model_dump(mode="json", exclude_none=True).
Authentication (JWT Bearer)
client = RunGatewayClient(
base_url="http://127.0.0.1:8080",
bearer_token="your-jwt",
)
Streaming (NDJSON)
Streaming endpoints currently return NDJSON as plain text. Helpers are planned but not implemented yet.
from arp_standard_client.run_gateway import RunGatewayClient
from arp_standard_model import RunGatewayStreamRunEventsParams, RunGatewayStreamRunEventsRequest
gateway = RunGatewayClient(base_url="http://127.0.0.1:8080", bearer_token="your-jwt")
text = gateway.stream_run_events(
RunGatewayStreamRunEventsRequest(params=RunGatewayStreamRunEventsParams(run_id=run_id))
)
for line in text.splitlines():
if not line:
continue
# json.loads(line)
Spec reference
arp_standard_client.SPEC_REF exposes the spec tag (for example, spec/v1@v0.3.7) used to generate the package.
See also
General Documentation
- Spec (normative):
spec/v1/ - Docs index:
docs/README.md - Security profiles (auth configuration):
docs/security-profiles.md - Repository README:
README.md
Python Specific Documentation
- Python client + models docs:
docs/python-client.md - Model package:
models/python/README.md - Codegen (developers):
tools/codegen/python/README.md
Metadata
Release files for arp-standard-client 0.3.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| arp_standard_client-0.3.7.tar.gz | 45.5 kB | With provenance | Details for arp_standard_client-0.3.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| arp_standard_client-0.3.7-py3-none-any.whl | Python 3 | none | any | Details for arp_standard_client-0.3.7-py3-none-any.whl |
Total release size: 134.8 kB
Release files / arp_standard_client-0.3.7.tar.gz
| Download URL | arp_standard_client-0.3.7.tar.gz |
|---|---|
| Size | 45.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79fee702197c841fdf5e3e13ba39479e946ced6b6d45c375ebbc254ce8f887ad
|
|
BLAKE2b-256 checksum How to use checksums |
3cb66c6eff19e7e4dfc8f49819c1a4f23396cbdb245c910262a8fb35b8a8772f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 3, 2026.
Transparency logRelease files / arp_standard_client-0.3.7-py3-none-any.whl
| Download URL | arp_standard_client-0.3.7-py3-none-any.whl |
|---|---|
| Size | 89.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d27d90b83aa017531d0d6cb0476d232f9ac4ed2de1be9ba71293dd2f2e503be
|
|
BLAKE2b-256 checksum How to use checksums |
f0e09cf104b12e69b9daff940ba5a7cffde4ac10ba38a733ba6408f6e5203c7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jan 3, 2026.
Transparency logSecurity for arp-standard-client 0.3.7
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for arp_standard_client-0.3.7.tar.gz
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 Jan 3, 2026.
Transparency logA 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.