Python SDK for NEXUS AI OS — build apps against your local NEXUS instance.
Project description
nexus-ai-os-sdk
Python SDK for NEXUS AI OS. Build apps against your local NEXUS instance with a typed, async-friendly client.
Install
pip install nexus-ai-os-sdk
Quick start
import asyncio
from nexus_ai_sdk import NexusClient
async def main():
async with NexusClient("http://localhost:3000", api_key="your-key") as nexus:
response = await nexus.chat("Hello!")
print(response["content"])
asyncio.run(main())
Requirements
- Python 3.10+
httpx >= 0.27- A running NEXUS gateway (default:
http://localhost:3000)
Publish
The package ships from packages/sdk/python/:
cd packages/sdk/python
python -m pip install -e ".[dev]"
python -m build
python -m twine upload dist/*
CI publishing happens via .github/workflows/publish-sdk.yml when a maintainer dispatches the workflow with a version bump.
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 nexus_ai_os_sdk-0.1.0.tar.gz.
File metadata
- Download URL: nexus_ai_os_sdk-0.1.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1a0455835c3fc82fe010b26ffc5b979f5e6b6e4952f09de55ed7fdaf66560ab
|
|
| MD5 |
3e11a18a100120acebf4c18e4283b5bc
|
|
| BLAKE2b-256 |
13980c7b06250eedfc83e890f3267f626cb35c8203ac7d6dc2da00d551e39f1d
|
Provenance
The following attestation bundles were made for nexus_ai_os_sdk-0.1.0.tar.gz:
Publisher:
publish-sdk.yml on anthonymiles1/nexus-ai-os
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nexus_ai_os_sdk-0.1.0.tar.gz -
Subject digest:
a1a0455835c3fc82fe010b26ffc5b979f5e6b6e4952f09de55ed7fdaf66560ab - Sigstore transparency entry: 1340762212
- Sigstore integration time:
-
Permalink:
anthonymiles1/nexus-ai-os@a20d7a22dc44293e32c0d95ed6be5c5a28da407c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/anthonymiles1
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@a20d7a22dc44293e32c0d95ed6be5c5a28da407c -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file nexus_ai_os_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nexus_ai_os_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.3 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 |
be92b622d0d52a72a9da0da30d8271b034cac4c604b6336018b092941d8107c1
|
|
| MD5 |
72768747c71576d7f3551beff9744d9b
|
|
| BLAKE2b-256 |
8f1edfdb00d8bc9395e65eb6625c9cc63f35644ce3787ed6771a28c7d6c24bbc
|
Provenance
The following attestation bundles were made for nexus_ai_os_sdk-0.1.0-py3-none-any.whl:
Publisher:
publish-sdk.yml on anthonymiles1/nexus-ai-os
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nexus_ai_os_sdk-0.1.0-py3-none-any.whl -
Subject digest:
be92b622d0d52a72a9da0da30d8271b034cac4c604b6336018b092941d8107c1 - Sigstore transparency entry: 1340762213
- Sigstore integration time:
-
Permalink:
anthonymiles1/nexus-ai-os@a20d7a22dc44293e32c0d95ed6be5c5a28da407c -
Branch / Tag:
refs/heads/main - Owner: https://github.com/anthonymiles1
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@a20d7a22dc44293e32c0d95ed6be5c5a28da407c -
Trigger Event:
workflow_dispatch
-
Statement type: