Skip to main content

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


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.0.tar.gz (22.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voidstone-0.2.0-py3-none-any.whl (28.1 kB view details)

Uploaded Python 3

File details

Details for the file voidstone-0.2.0.tar.gz.

File metadata

  • Download URL: voidstone-0.2.0.tar.gz
  • Upload date:
  • Size: 22.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.6

File hashes

Hashes for voidstone-0.2.0.tar.gz
Algorithm Hash digest
SHA256 65ab13b79d4a43c7a800ef5f27dcca6d08467037d8c3602c5e63fd46c9573abd
MD5 956a406e7f7b87e12a5f0c43de3f5fa2
BLAKE2b-256 28f74554f664e7bbe6ef77b35d3c14c8b7617faf37fbd5bcfc04774dcb62f892

See more details on using hashes here.

File details

Details for the file voidstone-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: voidstone-0.2.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

Hashes for voidstone-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb39c6c1350cf36b337afb0e091b8ba7565a229bed07a71b9e1d078ef53f274e
MD5 b0fcc069c84b6ddf41924ff07e768357
BLAKE2b-256 c86fa954523706edf8ae66fcf0576096ce423f5cefcfd1b6d5a537c5983bd8f3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page