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:
- BusyBox shell
- curl, ca-certificates
- OpenRC and dhcpcd
- sudo and ext4 disk-resize tools
- 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
Metadata
Release files for quicksand-alpine 0.10.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 503.6 MB
Release files / quicksand_alpine-0.10.2-py3-none-win_arm64.whl
| Download URL | quicksand_alpine-0.10.2-py3-none-win_arm64.whl |
|---|---|
| Size | 82.2 MB |
| Tags | Python 3 Windows ARM64 |
|
SHA-256 checksum How to use checksums |
871a9341bfc4a557ec634e0c22bee9d81d8383af23f6ec2a96af5681d673336b
|
|
BLAKE2b-256 checksum How to use checksums |
6e55631729fe07c90a305db3cc9412f0588299f8b2df1760e909cb8ec973636d
|
| 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}
|
Release files / quicksand_alpine-0.10.2-py3-none-win_amd64.whl
| Download URL | quicksand_alpine-0.10.2-py3-none-win_amd64.whl |
|---|---|
| Size | 85.7 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
112c6cecc31c5b68ccfb818a4803f472cd21ef57fc0a811e2e280496d9089c87
|
|
BLAKE2b-256 checksum How to use checksums |
f91141eb9392bc4d71a9671c5a543e407d11f813c65e82903dcfba65b7e02c86
|
| 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}
|
Release files / quicksand_alpine-0.10.2-py3-none-manylinux_2_17_x86_64.whl
| Download URL | quicksand_alpine-0.10.2-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 85.7 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
48765fc5f053c49f9c0d231d0be75395478af0fcdbc23be8208beccaece92566
|
|
BLAKE2b-256 checksum How to use checksums |
5e0dacb856a366b958d137500a2b05976bcba955e7cf3f4b57da8102ca07c480
|
| 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}
|
Release files / quicksand_alpine-0.10.2-py3-none-manylinux_2_17_aarch64.whl
| Download URL | quicksand_alpine-0.10.2-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 82.2 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
aacf7694a18018e8652dcceabfcd111fccdd3c06a31b6930818433765d79db2b
|
|
BLAKE2b-256 checksum How to use checksums |
bbffa055ab43ef46cf39a42d81516e57d3ac04fa62b20f12d34c7ae4b6dc26e7
|
| 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}
|
Release files / quicksand_alpine-0.10.2-py3-none-macosx_11_0_arm64.whl
| Download URL | quicksand_alpine-0.10.2-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 82.2 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
44f4a3a817e519da82cfc636ba65f3475de823e3b45c8de4873aeaa53952a570
|
|
BLAKE2b-256 checksum How to use checksums |
62cfde085522fa743fa209a1eb8171b72dfce28ee4bb245173341859963dfef2
|
| 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}
|
Release files / quicksand_alpine-0.10.2-py3-none-macosx_10_13_x86_64.whl
| Download URL | quicksand_alpine-0.10.2-py3-none-macosx_10_13_x86_64.whl |
|---|---|
| Size | 85.7 MB |
| Tags | Python 3 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
2a27839c91dd9fbbb80b5c67f2bc4fda275e0d4342a9d81787656f04807bcce6
|
|
BLAKE2b-256 checksum How to use checksums |
ad90f7dd3056c4deee0485b2994fa7bdf22fe77b9db6023a4fc552d390e68a67
|
| 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-alpine 0.10.2
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.