Skip to article frontmatterSkip to article content

What does the .whl contain?

!unzip -q numpy*.whl
!ls -d numpy*/
numpy-2.3.1.dist-info/	numpy.libs/  numpy/

There’s a numpy/ dir:

!ls numpy/
__config__.py		_expired_attrs_2_0.py	doc		polynomial
__config__.pyi		_expired_attrs_2_0.pyi	dtypes.py	py.typed
__init__.cython-30.pxd	_globals.py		dtypes.pyi	random
__init__.pxd		_globals.pyi		exceptions.py	rec
__init__.py		_pyinstaller		exceptions.pyi	strings
__init__.pyi		_pytesttester.py	f2py		testing
_array_api_info.py	_pytesttester.pyi	fft		tests
_array_api_info.pyi	_typing			lib		typing
_configtool.py		_utils			linalg		version.py
_configtool.pyi		char			ma		version.pyi
_core			conftest.py		matlib.py
_distributor_init.py	core			matlib.pyi
_distributor_init.pyi	ctypeslib		matrixlib

And a .dist-info dir:

!ls numpy*.dist-info/
LICENSE.txt  METADATA  RECORD  WHEEL  entry_points.txt

This is not a Python Import package!