Library to access the metadata for a Python package.
This package supplies third-party access to the functionality of importlib.metadata including improvements added to subsequent Python versions.
Compatibility
New features are introduced in this third-party library and later merged into CPython. The following table indicates which versions of this library were contributed to different versions in the standard library:
importlib_metadata | stdlib |
---|---|
6.5 | 3.12 |
4.13 | 3.11 |
4.6 | 3.10 |
1.4 | 3.8 |
Usage
See the online documentation for usage details.
Finder authors can also add support for custom package installers. See the above documentation for details.
Caveats
This project primarily supports third-party packages installed by PyPA tools (or other conforming packages). It does not support:
- Packages in the stdlib.
- Packages installed without metadata.
Project details
- Project home: https://github.com/python/importlib_metadata
- Report bugs at: https://github.com/python/importlib_metadata/issues
- Code hosting: https://github.com/python/importlib_metadata
- Documentation: https://importlib-metadata.readthedocs.io/
For Enterprise
Available as part of the Tidelift Subscription.
This project and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.