![]() This package provides the following functionality via its public API. You can also get a distribution’s version number, list itsĬonstituent files, and get a list of the distribution’sĭistribution requirements. We start by creating a virtual environment and installing Let’s say you wanted to get the version string for a package you’ve installed Through an extension mechanism, the metadata can live almost ![]() It means a package with either a discoverable dist-info or egg-infoĭirectory, and metadata defined by PEP 566 or its older specifications.īy default, package metadata can live on the file system or in zip archives on Python’s site-packages directory via tools such as pip. Python), this can eliminate the need to use the older and less efficientīy “installed package” we generally mean a third-party package installed into ![]() Along withĪnd newer (backported as importlib_resources for older versions of Intends to replace similar functionality in the entry pointĪPI and metadata API of pkg_resources. ![]() ![]() Built in part on Python’s import system, this library tadata is a library that provides for access to installed Source code: Lib/importlib/metadata/_init_.py Changed in version 3.10: tadata is no longer provisional. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |