Python packaging unpacked: Metadata
Every distribution package for Python comes bundled with certain metadata. Metadata consists of a name and version, dependency and compatibility information, and human-readable or indexable information such as keywords and “trove classifiers”. It can be read from an index like PyPI or accessed from within Python using the standard library moduleimportlib.metadata. It is sufficiently important to reiterate: these metadata are a feature of a distribution package as a whole, not any import package or script that it might contain (though in a small distribution package, there might somewhat confusingly be one of each of these, all sharing the same name)....