Python SDK for the Voidstone API.
Project description
Voidstone - Python
Python SDK for the Voidstone API.
Install
pip install voidstone
Quick Start
from voidstone import Driftstone
client = Driftstone(api_key="your-api-key")
app = client.app.init("typedef-app",
type="claude",
version_path=".openclaw"
)
channel = app.channel.init("my-api",
type="api"
)
stream = channel.run(
session_id="my-custom-session-id",
user_id="stephen@pickaxe.co",
input="hello world"
)
for event in stream:
if event.done:
break
print(event)
Using A Context Manager
from voidstone import Driftstone
with Driftstone(api_key="your-api-key") as client:
app = client.app.init("typedef-app",
type="claude",
version_path=".openclaw"
)
channel = app.channel.init("my-api",
type="api"
)
stream = channel.run(
session_id="my-custom-session-id",
user_id="stephen@pickaxe.co",
input="hello world"
)
for event in stream:
if event.done:
break
print(event)
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
voidstone-0.1.0.tar.gz
(22.5 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
voidstone-0.1.0-py3-none-any.whl
(28.1 kB
view details)
File details
Details for the file voidstone-0.1.0.tar.gz.
File metadata
- Download URL: voidstone-0.1.0.tar.gz
- Upload date:
- Size: 22.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e5e90afc1a30aa2ceb36f568a8925b60c8ae183652052d54cdb1b8708d57d9f
|
|
| MD5 |
2c3dea2fabe08237a5094ca4fc0a2730
|
|
| BLAKE2b-256 |
a26d34f1530777d8f075f6381723ac455e214fc3a2f13eab83c54028f7106d01
|
File details
Details for the file voidstone-0.1.0-py3-none-any.whl.
File metadata
- Download URL: voidstone-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf8208a01cfc37d84f5e15bc5ef1c764c77c427cd2356ed45485345f03ef6ad6
|
|
| MD5 |
f9caf42e2b1d21ab310e464a0e3617ad
|
|
| BLAKE2b-256 |
5e7b787c064ee5ee9d5f90bb052fc197490f3a4746f43b57dacd3623ad65dbeb
|