auditwheel
Cross-distribution Linux wheels
What it is and what it does
auditwheel is a command-line tool for making Python wheels containing compiled binary extensions compatible across many Linux distributions. It works by inspecting wheels to identify external shared library dependencies and versioned symbols that fall outside manylinux policy compliance, then bundling those libraries into the wheel itself and adjusting runtime paths so they are found at load time. This achieves the effect of static linking without requiring changes to the original build system.
The tool operates in two main modes: `auditwheel show` audits a wheel to report which external libraries it depends on and what compliance issues exist, while `auditwheel repair` performs the actual bundling and relabeling. It is designed for package maintainers building wheels in controlled environments (typically manylinux Docker images) to ensure their binary packages work on a wide range of Linux systems.
Use it for:
- Repair a compiled extension wheel to meet manylinux1, manylinux2010, manylinux2014, or manylinux_x_y platform tag requirements.
- Audit a wheel before distribution to identify external library dependencies and ABI compatibility issues.
- Bundle third-party shared libraries into a wheel for portable binary distribution across Linux systems.
- Convert a Linux wheel to an Android wheel by relabeling and adjusting dependencies per PEP 738.
- Verify that a wheel's external dependencies conform to a specific manylinux policy before uploading to PyPI.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Audits and repairs Linux and Android wheel packages to ensure compatibility with manylinux and musllinux platform tags by bundling external shared libraries and adjusting runtime paths.
Yes, if you build and distribute Python wheels with compiled extensions on Linux. auditwheel is the standard tool for ensuring those wheels work across many Linux distributions without requiring users to have matching system libraries. Install it in your build pipeline or development environment. Not needed if you only use pure-Python wheels or pre-built wheels from others.
Install
auditwheel on PyPI
pip
pip install auditwheeluv
uv add auditwheelpoetry
poetry add auditwheelInstalling auditwheel
Before you install
Low friction installation with only two runtime dependencies (packaging and pyelftools). Active maintenance with a recent release; requires Python 3.10+ and the external system tool patchelf 0.14+.
License in practice
MIT license (permissive) places no significant restrictions on use, modification, or distribution of code that depends on auditwheel.
Quickstart
pip install auditwheel
auditwheel show mypackage-1.0-linux_x86_64.whl
auditwheel repair mypackage-1.0-linux_x86_64.whl
Requires Linux OS with ELF-based linkage, Python 3.10+, and patchelf 0.14+ installed on the system.
Verify before relying
- Whether the tool works correctly with all supported Python versions or if there are known compatibility gaps.
- Performance characteristics when repairing wheels with many external dependencies.
- Whether dynamic library loading via ctypes/cffi/dlopen is reliably detected or if the documented limitation is absolute.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — packaging, pyelftools |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,891,173/month — #3,461 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: auditwheel-6.8.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
patchelfProvides a PyPI-packaged binary of patchelf, a…
copyleft · top 5,000 on PyPI
repairwheelRepairs wheels for cross-platform distribution…
permissive · top 15,000 on PyPI
cibuildwheelAutomates building and testing Python wheels…
permissive · top 5,000 on PyPI
abi3auditabi3audit scans Python extension wheels and…
permissive · top 15,000 on PyPI
delvewheelBundles DLL dependencies into Windows Python…
permissive · top 15,000 on PyPI
wheelA command-line tool for inspecting, converting,…
permissive · top 100 on PyPI
change-wheel-versionModifies the version metadata in an…
unclear · top 15,000 on PyPI
libucx-cu12Provides pre-built wheels of the UCX (Unified…
permissive · top 15,000 on PyPI
cmeelcmeel is a PEP 517 build backend that packages…
permissive · top 5,000 on PyPI
wheel-filenameParse and validate wheel filenames according to…
permissive · top 15,000 on PyPI