Install snapdir for Python

The Python binding ships as a prebuilt abi3 wheel with the Rust core compiled in, so a single pip install gives you the full snapshot API with zero build tools — no Rust toolchain, no C compiler, no system packages. One wheel covers every CPython 3.10 and newer.

Install

Install from PyPI:

pip install snapdir

Requires Python 3.10 or newer. The published package is an abi3 wheel — one wheel works across all CPython versions from 3.10 up, and PyPI serves prebuilt manylinux and musllinux wheels for x86-64 and aarch64 plus macOS. There is nothing to compile: install from the registry and you are done.

Platform support

Every binding runs on Linux (glibc and Alpine/musl, x86-64 and aarch64) and macOS (Intel and Apple Silicon). Python is no exception — the musllinux wheel runs on Alpine with no compiler, and each release is CI-verified from PyPI on python:3.12-alpine. Windows is unsupported: snapdir is Unix-only.

Platform Supported
Linux glibc (x64 + arm64) yes
Linux musl / Alpine (x64 + arm64) yes
macOS (Intel + Apple Silicon) yes
Windows no

Only Java carries a libc caveat (glibc-only, musl planned for 1.11.1); the Python wheel has no such restriction.

Next