Skip to main content

solari-desktop (Python)

Python SDK for Solari Desktop — managed, hardware-isolated Linux desktops with a computer-use action API (mouse, keyboard, screenshot), driven over a WebSocket control channel. Mirrors the TypeScript @solarisdk/desktop package.

Install

pip install solari-desktop

Quickstart

import asyncio, os
from solari_desktop import DesktopClient

async def main():
    client = DesktopClient(api_key=os.environ["SOLARI_API_KEY"])
    desktop = await client.create()          # managed Linux desktop
    await desktop.connect()
    await desktop.screenshot()
    await desktop.kill()

asyncio.run(main())

DesktopClient(...) accepts api_key, base_url (default https://api.getsolari.com), and call_timeout_ms. The same slr_live_… key authenticates against both the browser and desktop/sandbox APIs.

Docs: https://getsolari.com

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

solari_desktop-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

solari_desktop-0.2.0-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file solari_desktop-0.2.0.tar.gz.

File metadata

  • Download URL: solari_desktop-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for solari_desktop-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ec6c93c26c6782bd9ae2827903fb1dbc3dd20587af8cdf02f835e238b43f7120
MD5 e7365984e259b0c7d51f8fda26f77864
BLAKE2b-256 e516ac9d1e9c8d2c9d2b816a9fac4a2bba3a356ed67417861d9b521017d5b4bc

See more details on using hashes here.

File details

Details for the file solari_desktop-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: solari_desktop-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for solari_desktop-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7e79a340242b71884bc9adc619ec8e818e245b3fc19105c54ad6bb766f9fcc86
MD5 31124e9bc7dde6d226cf17bd957d61a9
BLAKE2b-256 b24c92489330479d87917b4c05679fad3280d2b40817e0ce30d1408e3a2f4db6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page