Skip to main content

Runtime Python SDK and CLI

Project description

runtime-sdk

Python SDK and CLI for Runtime.

Install

uv tool install runtime-sdk

To upgrade an existing install:

uv tool upgrade runtime-sdk

Configure

The CLI talks to http://127.0.0.1:8080 by default. Override it with:

export RUNTIME_BASE_URL=https://runruntime.dev

Or pass --base-url per command.

Usage

runtime signup you@example.com --name "Your Name"
runtime verify 123456
runtime whoami
runtime logout

Python

from runtime_sdk import RuntimeClient

client = RuntimeClient(base_url="https://runruntime.dev")
result = client.signup("you@example.com", "Your Name")
print(result["flow_id"])

Development

Run the SDK tests through the backend project environment:

uv run python -m unittest scripts.tests.test_runtime_sdk

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

runtime_sdk-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

runtime_sdk-0.1.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: runtime_sdk-0.1.1.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for runtime_sdk-0.1.1.tar.gz
Algorithm Hash digest
SHA256 59c4dc1a955207d8ffcc11f8eb4731a48dd8c5da681d8e695e045f012b0c6468
MD5 3f932f7e4434d8c635ae9dd882a3585a
BLAKE2b-256 da54abf5fd26a6fc37f281e2b232311982e4926b4905f5296203b067313804a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for runtime_sdk-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 958378673b29223152badcb6feb894d65aa1b74039db18ac2fea57196d33474d
MD5 28274657506c0d41d1c21508bc560377
BLAKE2b-256 5127e749d9fdaa4d5fe312a95b25c7186762123c69980d0760f7b783b8cd233d

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