Search code examples
pythonpypipython-wheel

How to interpret naming convention in PyPi package name


That's what can be found in lots of packages such as this one: https://pypi.python.org/pypi/pip

pip-9.0.1-py2.py3-none-any.whl

how to interpret this naming convention?


Solution

  • The naming format can be found under filename convention in PEP 427:

    {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.whl
    

    In this case:

    pip-9.0.1-py2.py3-none-any.whl is the version 9.0.1 build of the pip package, compatible with both Python 2 and 3, with no ABI - Application Binary Interface (pure Python), and compatible with any CPU architecture.