Skip to main content

Typed Python SDK for the Islo Web API

Project description

islo

Typed Python SDK for the Islo API.

Install

pip install islo

Usage

from islo import Islo

client = Islo(api_key="sk-...")

# List sandboxes
sandboxes = client.sandboxes.list(limit=20)

# Create a sandbox
from islo.models import SandboxCreate, SandboxSpec

sandbox = client.sandboxes.create(body=SandboxCreate(
    name="my-sandbox",
    spec=SandboxSpec(cpu=2, memory=4096),
))

# Get a sandbox
sandbox = client.sandboxes.get("my-sandbox")

# Execute a command
from islo.models import ExecRequest

result = client.sandboxes.exec("my-sandbox", body=ExecRequest(
    command=["echo", "hello"],
))

# Delete
client.sandboxes.delete("my-sandbox")

Resources

Resource Methods
client.sandboxes list, create, get, delete, stop, exec, exec_stream, promote_cache, list_agent_sessions, get_agent_session_events, list_exec_sessions, get_exec_session_logs
client.tenants list, create, get_settings, update_settings, get_subscription
client.users get, invite, update, authorize
client.shares list, create, revoke
client.integrations list, list_providers, get_status, disconnect
client.usage sandbox_usage, summary
client.certificate_authority create_certificate, get_public_key

Regenerate

just sync

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

islo-0.1.0.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

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

islo-0.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file islo-0.1.0.tar.gz.

File metadata

  • Download URL: islo-0.1.0.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for islo-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1c0b72c88ad843db214252c0257d817f0f65be2af1061bcd43696a7a791a72e9
MD5 bac68d393dd23915631489bda9e6a8ed
BLAKE2b-256 51742901a8a9e4604c84f475b7169ceadbf1bf29f35157fe02dbf0e24240d536

See more details on using hashes here.

File details

Details for the file islo-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: islo-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for islo-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 178487130540f1ba9237630a5ad573c5f5105dd0eaa19f25da5616c9a8005795
MD5 e57e69db924e24720edb6e95fb69c675
BLAKE2b-256 1e01caee4bc99e15891d78f1cd8b88f5569e3df4da3c500d6d6b348a18aea0d7

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