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) - file (
filecommand for content-type detection)
All services (Xvfb, x11vnc, Chromium, noVNC) are enabled as systemd units and start automatically on boot.
License
MIT
Metadata
Release files for quicksand-cua 0.3.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quicksand_cua-0.3.14-py3-none-any.whl | Python 3 | none | any | Details for quicksand_cua-0.3.14-py3-none-any.whl |
Release files / quicksand_cua-0.3.14-py3-none-any.whl
| Download URL | quicksand_cua-0.3.14-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
795ffddc0ffffaf4b9e45a06e48a3e2131bc70cfc93264fa2709cbbb5e504845
|
|
BLAKE2b-256 checksum How to use checksums |
07ef18aa8708aff89db8bd476d94c0fab80d6fbb442ca33b43276ce062746658
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","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}
|
Security for quicksand-cua 0.3.14
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.