Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 258
Ilia Sidorenko Avatar asked Jan 14 '17 00:01

Ilia Sidorenko


1 Answers

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.

like image 151
Moses Koledoye Avatar answered Oct 20 '22 15:10

Moses Koledoye