Nowy protocol WebSocket client SDK with generated capability types
Project description
nowy-sdk
Python client for the Nowy protocol — WebSocket Node Agent, Supabase auth helpers, and generated capability types.
Install
pip install nowy-sdk
Quick start
import asyncio
from nowy_sdk import NowyClient
from nowy_sdk.auth import resolve_auth_token
async def main():
token = resolve_auth_token() # NOWY_EMAIL/PASSWORD in .env
client = NowyClient()
await client.connect(auth_token=token)
req = await client.send_text("hola nowy")
await client.wait_for_request(req)
print(client.last_response_text)
await client.close()
asyncio.run(main())
Types
Generated from specs/capabilities/*.yaml:
from nowy_sdk import ReminderCreateInput, CAPABILITY_IDS
Regenerate locally: python scripts/codegen_capabilities.py (from repo root).
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
nowy_sdk-0.1.0.tar.gz
(6.7 kB
view details)
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 nowy_sdk-0.1.0.tar.gz.
File metadata
- Download URL: nowy_sdk-0.1.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44c09b5442f1b6b1dfc985019c64829054e43021a76beeb351aa56b3eec9deb8
|
|
| MD5 |
f96cea5f7f3bb679deddf66f0abff440
|
|
| BLAKE2b-256 |
de80314a04a62d3a40b4910f585d9771f9a0958ce961057bd637b5a11f950147
|
File details
Details for the file nowy_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nowy_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e240e3208b88f0d7de1b4ea5bffe07e038576411f03bae09e62a545f9fb5ac40
|
|
| MD5 |
1ebb3c801a67fcd7e48dc1d9d390bf9c
|
|
| BLAKE2b-256 |
24bf5e78018db2b927f9ebc45a2a12c45c6c490124e64301a422598c00613d98
|