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.2.1.tar.gz
(22.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
voidstone-0.2.1-py3-none-any.whl
(28.4 kB
view details)
File details
Details for the file voidstone-0.2.1.tar.gz.
File metadata
- Download URL: voidstone-0.2.1.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7650b71e4eb1cec84f38c58badd161173f4112b91689ee4b7787d9ce3442c5b6
|
|
| MD5 |
1fd3ca658abcc0bd8a46e86112549473
|
|
| BLAKE2b-256 |
c14e11f8e18f5843af9f237d270621ecf21365180d623aa69167692ffb030781
|
File details
Details for the file voidstone-0.2.1-py3-none-any.whl.
File metadata
- Download URL: voidstone-0.2.1-py3-none-any.whl
- Upload date:
- Size: 28.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76710b06c67435d82d3449cbff3e580dcb263ba774ed568b6d6f93c8adc26469
|
|
| MD5 |
d22bec725a52dedb399d2a3ee51d30da
|
|
| BLAKE2b-256 |
1409fba7e8058705891ed38eea0c6ccd3ffb2e739d98209a3f51348e79944a26
|