Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

quicksand_alpine-0.9.3-py3-none-macosx_11_0_arm64.whl (81.6 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

quicksand_alpine-0.9.3-py3-none-macosx_10_13_x86_64.whl (85.2 MB view details)

Uploaded Python 3macOS 10.13+ x86-64

quicksand_alpine-0.9.3-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file quicksand_alpine-0.9.3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for quicksand_alpine-0.9.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 114fd902acaa4ea3dddc647ea268a692a1fc177a09731a28721d3aa8565d36d9
MD5 f4a6e0b6f02c5cf6234eb25f695ea812
BLAKE2b-256 26605a4d2b787b5a9769d67a2d18eb41e9f15cc5cd4bd68111de1c952864645f

See more details on using hashes here.

File details

Details for the file quicksand_alpine-0.9.3-py3-none-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for quicksand_alpine-0.9.3-py3-none-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ee7be2bf18b36b0e8a554bcaa0e15697dce2fd8c6e67ff1fa03206ba373de84f
MD5 a5675bd50596a7d9819c96b430be440c
BLAKE2b-256 3593930b1601c04e4151765cd2c72f86629be6a85f1e30aa745459f7513d7bbf

See more details on using hashes here.

File details

Details for the file quicksand_alpine-0.9.3-py3-none-any.whl.

File metadata

File hashes

Hashes for quicksand_alpine-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 577f9e5a4f87faf4732737f0829965eb1f319e7a11a50465d519ad781e2c0798
MD5 4ecb9d819ae545e859c061ff05cbb765
BLAKE2b-256 a791715ad4bc49535a9cc44fa5c944d61ef3757391204abafd63a5a921ef2d45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page