Overlay image package for quicksand
Project description
Quicksand CUA Sandbox
An overlay image package for quicksand that adds browser automation via Playwright and Chromium with a VNC-accessible virtual display. Built on top of quicksand-agent.
Installation
quicksand install quicksand-cua
Usage
Simple (recommended)
import asyncio
from quicksand_cua import CuaSandbox
async def main():
async with CuaSandbox() as sb:
# Xvfb, x11vnc, and Chromium start automatically via systemd
result = await sb.execute("python3 -c 'from playwright.sync_api import sync_playwright; print(\"OK\")'")
print(result.stdout)
asyncio.run(main())
With custom config
from quicksand_core import Sandbox
async with Sandbox(image="quicksand-cua", memory="4G", cpus=4) as sb:
result = await sb.execute("chromium --version")
What's Included
Everything from quicksand-agent (Python 3.12, uv, requests, pyyaml, ddgs, markitdown), plus:
- Xvfb virtual framebuffer (display
:0, 1280x1024x24) - x11vnc VNC server on port 5901
- Playwright browser automation library
- Chromium browser (installed via Playwright)
- noVNC web client on port 6080
- Fonts (Liberation, Noto Color Emoji)
- flake8 Python linter (
7.1.1) - findutils (
find,xargs,locate)
All services (Xvfb, x11vnc, Chromium, noVNC) are enabled as systemd units and start automatically on boot.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quicksand_cua-0.3.9-py3-none-any.whl.
File metadata
- Download URL: quicksand_cua-0.3.9-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b96b975c6228768674edffdf085f2568e6a86b4f07257154d3ade6a2fc50756
|
|
| MD5 |
7ac828459d035eb40905e056eec87b44
|
|
| BLAKE2b-256 |
42c778c715bd7c866d25e625250e0f5053b0d1f89be08f08c27f5777390ca65d
|