wheel

term

programming

Kept in this browser · My desk

Python's built distribution format: a ZIP archive with a .whl extension whose file name carries the project, the version and the Python, ABI and platform tags it runs on.

Installing a wheel means unpacking it into site-packages and recording the files, with no build step, unlike a source distribution, whose build runs code. The name is the distribution, the version, an optional build tag, then the three tags, joined by hyphens: py3-none-any is pure Python for any platform, while cp311-abi3-manylinux_2_34_x86_64 is compiled for CPython's stable ABI on 64-bit Linux with glibc 2.34 or newer. pip prefers the most specific wheel its own list of tags accepts.

Also known as: .whl, wheel file, built distribution

← Back to W Back to the glossary