Skip to main content

Python SDK for the Roder app-server JSON-RPC API

Project description

roder-sdk

Python SDK for the Roder app-server JSON-RPC API.

Roder website: https://roder.sh

from roder_sdk import RoderAgent

Normal tests use in-memory fake transports. Live local and remote smoke checks are opt-in with RODER_SDK_LIVE=1.

For process-based automation, spawn roder exec --json and consume one JSON event per stdout line:

printf 'Reply with exactly: ok\n' | roder exec --json --profile eval --mode bypass -

See docs/roder-exec.md for the JSONL event contract.

Before building:

uv run pytest tests
uv run pyright src

Publishing

Publish from this directory after the release version is already reflected in pyproject.toml, CHANGELOG.md, and uv.lock:

uv build
uv publish

The package is published as roder-sdk; keep readme = "README.md" in pyproject.toml so PyPI shows this page on the project page.

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

roder_sdk-0.1.1.tar.gz (23.0 kB view details)

Uploaded Source

Built Distribution

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

roder_sdk-0.1.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file roder_sdk-0.1.1.tar.gz.

File metadata

  • Download URL: roder_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 23.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for roder_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d1a754ca29344b543511ddb048f33db6b69e6d881a09a0a7dd29f0307611e6b6
MD5 c1a610041cdb664f72ad87f50b89fcb2
BLAKE2b-256 2d428c70930d6441536cbe8fb64c1f69d37898ebe148999c9ce6bb088fee85ce

See more details on using hashes here.

File details

Details for the file roder_sdk-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: roder_sdk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for roder_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb874945b34551b7bb9dbc52e7fa8ee034281bb690e73c43e580999669bd29d9
MD5 883c4d4a013d2ab42fdd9e9230a3e903
BLAKE2b-256 6eb20bde4c12404b248f2a1cb0763cf664018c5c09ea5a283b33e31a9649397e

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