Autonoma SDK — automate the Autonoma Environment Factory endpoint
Project description
Autonoma Python SDK
Python implementation of the Autonoma Environment Factory SDK.
Package
| Package | Description |
|---|---|
autonoma-sdk |
Core protocol (HMAC, refs, templates, graph, handler) |
autonoma-sdk[sqlalchemy] |
SQLAlchemy ORM adapter |
autonoma-sdk[flask] |
Flask server adapter |
autonoma-sdk[fastapi] |
FastAPI server adapter |
Quick Start
Install
pip install autonoma-sdk
# With extras:
pip install "autonoma-sdk[sqlalchemy,fastapi]"
FastAPI + SQLAlchemy
from autonoma.handler import handle_request, PROTOCOL_VERSION
from autonoma.types import HandlerConfig, HandlerRequest
config = HandlerConfig(
shared_secret="your-shared-secret",
signing_secret="your-signing-secret",
adapter=my_adapter,
)
@app.post("/api/autonoma")
async def autonoma_endpoint(request: Request):
body = await request.body()
headers = dict(request.headers)
req = HandlerRequest(body=body.decode(), headers=headers)
result = handle_request(config, req)
return JSONResponse(content=result.body, status_code=result.status)
Status
The Python SDK core modules (graph, hmac, refs, fingerprint, template) are complete and pass the conformance test suite. ORM and server adapters are planned.
Commands
pip install -e ".[dev]" # install in development mode
pytest # run tests
Documentation
For protocol-level documentation, see the root protocol/ directory.
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 autonoma_ai-0.1.2.tar.gz.
File metadata
- Download URL: autonoma_ai-0.1.2.tar.gz
- Upload date:
- Size: 23.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f352260ca84cd6bc0db77728633768ec1a8af09c950ba661d9db832101dd2d5f
|
|
| MD5 |
73731b36e8f8eceafccba6c244fabed2
|
|
| BLAKE2b-256 |
e58d9cb7f483c0855e196d0047bf2bc09ca0853fb4b7a0c27740178f28263580
|
Provenance
The following attestation bundles were made for autonoma_ai-0.1.2.tar.gz:
Publisher:
publish.yml on Autonoma-AI/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autonoma_ai-0.1.2.tar.gz -
Subject digest:
f352260ca84cd6bc0db77728633768ec1a8af09c950ba661d9db832101dd2d5f - Sigstore transparency entry: 1249071904
- Sigstore integration time:
-
Permalink:
Autonoma-AI/sdk@ca8b5600c24cb6773d8041a42b9bc4d33c8ed07a -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/Autonoma-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ca8b5600c24cb6773d8041a42b9bc4d33c8ed07a -
Trigger Event:
push
-
Statement type:
File details
Details for the file autonoma_ai-0.1.2-py3-none-any.whl.
File metadata
- Download URL: autonoma_ai-0.1.2-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9c14edbfe4a847c53bb08bccf8fcc5ff645497702e2e0797932c594698da8f1
|
|
| MD5 |
41faf1126832e22a65a52d82fde57425
|
|
| BLAKE2b-256 |
5631055c995f3f8749d355588f152019d7b786ae6eba15f7e742dad4e95e47a3
|
Provenance
The following attestation bundles were made for autonoma_ai-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on Autonoma-AI/sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
autonoma_ai-0.1.2-py3-none-any.whl -
Subject digest:
f9c14edbfe4a847c53bb08bccf8fcc5ff645497702e2e0797932c594698da8f1 - Sigstore transparency entry: 1249072589
- Sigstore integration time:
-
Permalink:
Autonoma-AI/sdk@ca8b5600c24cb6773d8041a42b9bc4d33c8ed07a -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/Autonoma-AI
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ca8b5600c24cb6773d8041a42b9bc4d33c8ed07a -
Trigger Event:
push
-
Statement type: