This release is a pre-release and may not be stable for production use.
III SDK for Python
Python SDK for the III Engine.
Installation
pip install iii-sdk
Usage
import asyncio
from iii import III
async def my_function(data):
return {"result": "success"}
iii = III("ws://localhost:49134")
iii.register_function("my.function", my_function)
async def main():
await iii.connect()
result = await iii.call("other.function", {"param": "value"})
print(result)
asyncio.run(main())
Register API trigger
import asyncio
from iii import III, ApiRequest, ApiResponse
iii = III("ws://localhost:49134")
async def create_todo(data):
req = ApiRequest(**data)
return ApiResponse(status=201, data={"id": "123", "title": req.body.get("title")})
iii.register_function("api.post.todo", create_todo)
async def main():
await iii.connect()
iii.register_trigger(
trigger_type="api",
function_id="api.post.todo",
config={
"api_path": "/todo",
"http_method": "POST",
"description": "Create a new todo"
}
)
asyncio.run(main())
Features
- WebSocket-based communication with III Engine
- Function registration and invocation
- Trigger registration
- Context-aware logging
- Async/await support
Metadata
Release files for iii-sdk 0.0.2a20260210174202
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iii_sdk-0.0.2a20260210174202.tar.gz | 49.2 kB | Without provenance | Details for iii_sdk-0.0.2a20260210174202.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iii_sdk-0.0.2a20260210174202-py3-none-any.whl | Python 3 | none | any | Details for iii_sdk-0.0.2a20260210174202-py3-none-any.whl |
Total release size: 61.5 kB
Release files / iii_sdk-0.0.2a20260210174202.tar.gz
| Download URL | iii_sdk-0.0.2a20260210174202.tar.gz |
|---|---|
| Size | 49.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
861f462e4da6f2de5eb3eb599dd32b1a652d41897b7e740d620778fe23650449
|
|
BLAKE2b-256 checksum How to use checksums |
9aa26cde17120bc318783020137c8a0aaebf7c212431e9080bf2fe9370c9653a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / iii_sdk-0.0.2a20260210174202-py3-none-any.whl
| Download URL | iii_sdk-0.0.2a20260210174202-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d65c895d9921d5f154e8bc2f263386684738958e690bad7c8429adec36f044ba
|
|
BLAKE2b-256 checksum How to use checksums |
bd76cdac0517faadefada66acdd5418b4ba89ba36c9c4113213e79309e8e298c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for iii-sdk 0.0.2a20260210174202
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.