python / importlib_metadata

Library to access metadata for Python packages
https://importlib-metadata.readthedocs.io
Apache License 2.0
123 stars 80 forks source link

Docs do not always clearly distinguish between import vs distribution packages #398

Closed CAM-Gerlach closed 1 year ago

CAM-Gerlach commented 2 years ago

As discussed on the Python Discourse, the Using importlib_metadata documentation and its CPython equivalent do not always clearly distinguish between import packages and distribution packages, leading to user confusion.

Therefore, these terms should be clarified, used consistently (avoiding the ambiguous unqualified "package") and linked to their PyPA glossary entries. Furthermore, an admonition specifically calling this out and suggesting users use package_distributions() to map between them would be helpful.