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

Uploaded Python 3

File details

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

File metadata

  • Download URL: islo-0.1.5.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.5.tar.gz
Algorithm Hash digest
SHA256 1169f921c8fa35048432a45253630b22541825a93979ae3e7a3a3dd8ad534164
MD5 fb9cd25ed2da0c5d870b753d298922ef
BLAKE2b-256 5fceec0aa59618b62c689201521723e536b26c78edb3027754aa7a6e08acc2ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: islo-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 339bb5dc0f2497c330bbc7ff0f1981e9029e7ceda9734bb14a98d56886a15888
MD5 a17d49928cee43a38b1c31077305ca8a
BLAKE2b-256 311be9349cca82858d75abba770af4af969a5d2b9dd4d6df5d9d17c4c7387ceb

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