Ilia Sidorenko
Ilia Sidorenko

Reputation: 2715

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?

Upvotes: 20

Views: 12188

Answers (1)

Moses Koledoye
Moses Koledoye

Reputation: 78554

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.

Upvotes: 30

Related Questions