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.7.tar.gz (11.8 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.7-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: islo-0.1.7.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.7.tar.gz
Algorithm Hash digest
SHA256 0c9e61fed64b4016745343472b89c535d038125c0890b39166a761cc9a2fab2b
MD5 940bba7f8918c16ab45b8c668cd3f81c
BLAKE2b-256 cabc70600731f76c2e9bc86fa97ab10c3f864b40e07d214d8824786bbf4c62a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: islo-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 4c6a571aee0077154369c77edd38d07353155c8f8d5dc0f256dca1d504869c25
MD5 0ed92146f64955e82d6510b7404a1778
BLAKE2b-256 335ee3af07c21ed1e201ec081aff4a6726abe80693588b5fc92a9f453aedf353

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