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

Release files for solari-desktop 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for solari-desktop 0.3.0
File Size Uploaded
solari_desktop-0.3.0.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for solari-desktop 0.3.0
File Interpreter ABI Platform
solari_desktop-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.3 kB

Release files / solari_desktop-0.3.0.tar.gz

Download URL solari_desktop-0.3.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
18f29253c1588b302be702be236444b31ab27dba8944f6970e43f1fb4ea0a75d
BLAKE2b-256 checksum
How to use checksums
56bcf862947f0c5bba9d76363b037aa767346ae59b7c1d5bb9583bdd72c1dcf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release files / solari_desktop-0.3.0-py3-none-any.whl

Download URL solari_desktop-0.3.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77f0a7598766d2a49b7631577a94864de87d597c38e05c0b5beb2e139ecf724b
BLAKE2b-256 checksum
How to use checksums
408376ab502a736e3df1037b01116189d41a8b4916a13cc51a74b324991d1195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.1

2 release 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