nono Python SDK
A type-safe async Python SDK for the nono orchestrator server.
Features
- Fully async - Built on
httpxfor async HTTP requests - Type-safe - Full Pydantic models with type hints
- Kebab-case compatible - Handles both
snake_caseandkebab-casefield names - Auto-configuration - Reads
NONO_HOSTandNONO_PORTfrom environment variables - Comprehensive - Covers all nono API endpoints
Installation
# From the sdks/python directory
pip install -e .
# Or with uv
uv pip install -e .
Quick Start
import asyncio
from nono import NonoClient, CallingFrame, OperationPushValue
async def main():
# Client reads NONO_HOST and NONO_PORT from environment
async with NonoClient() as client:
# Read configuration
config = await client.config_read()
print(f"Config: {config.config}")
# Create a session
frame = CallingFrame(
calling_entity_id="my-entity",
data={"frame_data": "initial"},
value_stack=[],
op_stack=[],
handler_stack=[],
)
session_id = await client.session_create(
name="my-session",
data={"counter": 0},
frame=frame,
)
print(f"Created session: {session_id}")
# Execute operations
await client.frame_push_value(session_id, 42)
# Read session data
data = await client.session_get_data(session_id)
print(f"Session data: {data}")
# Clean up
await client.session_delete(session_id)
asyncio.run(main())
License
MIT
Metadata
Release files for nono 0.1.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 | |
|---|---|---|---|
| nono-0.1.0.tar.gz | 21.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nono-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.7 kB
Release files / nono-0.1.0.tar.gz
| Download URL | nono-0.1.0.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c1d984c725766270b5c367910e0627f9038463206aeb1a4e140d3687d6a6bb21
|
|
BLAKE2b-256 checksum How to use checksums |
14cdab6624dd31639008b3d21eae1b619b0cd8d5c5d71b12d49d61276d390bfb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nono-0.1.0-py3-none-any.whl
| Download URL | nono-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
792bbd327a663523ff657276cacdd017dd8ce66a76ad2cb31c88f439bda45d98
|
|
BLAKE2b-256 checksum How to use checksums |
e492c8d6a7dac0e02e639ae7e5d3cb1544ae3b8ebf1e96d8d63faf06284c6f4d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|