FastAPI server scaffolding for the ARP Standard (v1).
Project description
ARP Standard Python Server (arp-standard-server)
FastAPI server scaffolding for implementing ARP components with spec-aligned request/response types.
Install
python3 -m pip install arp-standard-server
Usage
from arp_standard_server.daemon import BaseDaemonServer
from arp_standard_model import DaemonCreateInstancesRequest, InstanceCreateRequestBody
class MyDaemon(BaseDaemonServer):
async def create_instances(self, request: DaemonCreateInstancesRequest):
body = request.body
# business logic here
return ...
app = MyDaemon().create_app()
Service base classes
BaseRuntimeServerBaseToolRegistryServerBaseDaemonServer
Request objects
All server methods accept a single request object from arp_standard_model:
*Paramsfor path/query parameters*RequestBodyfor JSON bodies*Requestwrappers withparamsand/orbody
Abstract method enforcement
Base server classes use ABC + @abstractmethod. Instantiating a class that does not implement all required endpoints raises a TypeError before the app is created.
Authentication (API key)
app = MyDaemon().create_app(api_key="your-api-key")
Streaming (NDJSON)
NDJSON endpoints currently use plain text payloads. Streaming helpers are planned but not implemented yet.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arp_standard_server-0.2.2.tar.gz.
File metadata
- Download URL: arp_standard_server-0.2.2.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e58014785d6ae8712d116aa61aa9c18a74462b9f5376d086d5c9f25b68d0c1f0
|
|
| MD5 |
f3109e5b1a0b8e3444b5318f06026ccd
|
|
| BLAKE2b-256 |
9a6a6b99b7a6cd300c7355e09881564697574f15c7189c9a92728917c4098004
|
Provenance
The following attestation bundles were made for arp_standard_server-0.2.2.tar.gz:
Publisher:
release.yml on AgentRuntimeProtocol/ARP_Standard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arp_standard_server-0.2.2.tar.gz -
Subject digest:
e58014785d6ae8712d116aa61aa9c18a74462b9f5376d086d5c9f25b68d0c1f0 - Sigstore transparency entry: 774605587
- Sigstore integration time:
-
Permalink:
AgentRuntimeProtocol/ARP_Standard@e643a44d8c3fe2255d2a9c6f3bd57115fb56b930 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/AgentRuntimeProtocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e643a44d8c3fe2255d2a9c6f3bd57115fb56b930 -
Trigger Event:
push
-
Statement type:
File details
Details for the file arp_standard_server-0.2.2-py3-none-any.whl.
File metadata
- Download URL: arp_standard_server-0.2.2-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f66c5f621912e879a227f66eb5e49f7da8b1dd12b485bd8c258ffc8f3648775
|
|
| MD5 |
75f847d2835f71176343dbb2cdb8b990
|
|
| BLAKE2b-256 |
e3a3f9b97f7fac65371a27c6b87ddb173fd5a18ad97c82a043324da8c8e565e0
|
Provenance
The following attestation bundles were made for arp_standard_server-0.2.2-py3-none-any.whl:
Publisher:
release.yml on AgentRuntimeProtocol/ARP_Standard
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
arp_standard_server-0.2.2-py3-none-any.whl -
Subject digest:
4f66c5f621912e879a227f66eb5e49f7da8b1dd12b485bd8c258ffc8f3648775 - Sigstore transparency entry: 774605590
- Sigstore integration time:
-
Permalink:
AgentRuntimeProtocol/ARP_Standard@e643a44d8c3fe2255d2a9c6f3bd57115fb56b930 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/AgentRuntimeProtocol
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e643a44d8c3fe2255d2a9c6f3bd57115fb56b930 -
Trigger Event:
push
-
Statement type: