Production Python SDK for Dispersl API
Project description
Dispersl Python SDK
Production Python SDK for the Dispersl API.
Install
pip install dispersl-sdk
Quick Start
import asyncio
from dispersl import AgenticExecutor, AsyncDisperslClient
async def main() -> None:
client = AsyncDisperslClient(
base_url="https://api.dispersl.com/v1",
api_key=""
)
executor = AgenticExecutor(client)
out = await executor.run_plan_and_agent_loop(
prompt="Plan and implement SDK improvements",
agent_choices=["code", "test", "git"]
)
print(out["task_id"], len(out["events"]))
await client.aclose()
asyncio.run(main())
Development
python -m pip install -e ".[dev]"
ruff check src tests
ruff format --check src tests
mypy src
pytest -q
python -m build
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dispersl_sdk-0.1.2.tar.gz
(9.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 dispersl_sdk-0.1.2.tar.gz.
File metadata
- Download URL: dispersl_sdk-0.1.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e40dbdf74d8d6a6b2c5ab7066705de19ef54f1dbc79c45ba218a14f38a3c3ced
|
|
| MD5 |
7019241105ec1afbe779c3968c5ed7df
|
|
| BLAKE2b-256 |
d2f047c5c587ba33eb1ff4f5571bf93a132e3112f990da1c8293c9e526139ef2
|
File details
Details for the file dispersl_sdk-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dispersl_sdk-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42a4169e990d6583d89a6c93009b1bcd721387990ab73fc55abaee83fd333fc8
|
|
| MD5 |
731c90fd794e2fa0637cad14cb0e8b78
|
|
| BLAKE2b-256 |
05b9a41620075e2bd7ca25f560a798375655f6be6148c0f1ef149dceac68c79b
|