Pre-built Alpine Linux VM image for quicksand
Project description
Quicksand Alpine
This package bundles a pre-built Alpine Linux 3.23 VM image for the quicksand agent harness. No downloads required after installation.
Alpine is lightweight and boots quickly, making it ideal for AI agents that need fast sandbox startup.
Why Alpine?
Alpine Linux is a lightweight distribution that offers:
- Smaller image size: ~75MB vs ~300MB for Ubuntu
- Faster boot time: Less to load means quicker startup
- Minimal attack surface: Only essential packages included
- musl libc: Smaller, simpler C library
Use Alpine when you need fast, lightweight sandboxes. Use Ubuntu when you need broader package compatibility or glibc-dependent software.
Installation
pip install 'quick-sandbox[qemu,alpine]'
Or install separately:
pip install quick-sandbox
quicksand install alpine
Usage
Simple (recommended)
import asyncio
from quicksand import AlpineSandbox
async def main():
async with AlpineSandbox() as sb:
result = await sb.execute("cat /etc/os-release")
print(result.stdout)
asyncio.run(main())
With custom config
from quicksand import AlpineSandbox
async with AlpineSandbox(memory="512M", cpus=2) as sb:
result = await sb.execute("uname -a")
Or using Sandbox directly:
from quicksand import Sandbox
async with Sandbox(image="alpine", memory="512M", cpus=2) as sb:
result = await sb.execute("uname -a")
What's Included
The Alpine 3.23 image includes:
- Python 3
- Bash shell
- curl, ca-certificates
- Networking tools (iproute2, iputils-ping)
- The quicksand agent (pre-installed)
Installing Additional Packages
Alpine uses apk for package management:
async with AlpineSandbox() as sb:
# Install packages
await sb.execute("apk add --no-cache git nodejs npm")
# Use them
result = await sb.execute("node --version")
print(result.stdout)
Package Size
The wheel is ~75MB, much smaller than Ubuntu (~300MB) because Alpine is a minimal distribution. This makes it faster to download and install.
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_alpine-0.9.6-py3-none-macosx_10_13_x86_64.whl.
File metadata
- Download URL: quicksand_alpine-0.9.6-py3-none-macosx_10_13_x86_64.whl
- Upload date:
- Size: 85.2 MB
- Tags: Python 3, macOS 10.13+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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 |
0b76f56ed208b195a5517043adbeedae35da9019e8dee444122e28965064e2ea
|
|
| MD5 |
39fb71436841e91bc5bcc3efdcd8136e
|
|
| BLAKE2b-256 |
f413c0c26c2ad67b175b73aa3d5c82169cc811061eecb194cb1a19170cc73ec3
|