importlib.metadata – Accessing package metadata — Python 3.16.0a0 documentation

docs.python.org

Tin mới

importlib.resources.abc – Abstract base classes for resources

The initialization of the sys.path module search path

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

importlib.resources

Changed in version 3.10: importlib.metadata is no longer provisional.

ModuleNotFoundError

Subclass of ModuleNotFoundError raised by several functions in this module when queried for a distribution package which is not installed in the current Python environment.

object.__getitem__

Changed in version 3.13: EntryPoint objects no longer present a tuple-like interface (__getitem__()).

Distribution files¶

Return the full set of files contained within the named distribution package as PackagePath instances.

importlib.abc.MetaPathFinder

A MetaPathFinder subclass capable of discovering installed distributions.

Implementing Custom Providers¶

importlib.metadata address two API surfaces, one for consumers and another for providers. Most users are consumers, consuming metadata provided by the packages. There are other use-cases, however, where users wish to exp

Implementing Custom Providers¶

importlib.metadata address two API surfaces, one for consumers and another for providers. Most users are consumers, consuming metadata provided by the packages. There are other use-cases, however, where users wish to exp

Implementing Custom Providers¶

importlib.metadata address two API surfaces, one for consumers and another for providers. Most users are consumers, consuming metadata provided by the packages. There are other use-cases, however, where users wish to exp