Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 1.84 KB

index.rst

File metadata and controls

50 lines (36 loc) · 1.84 KB

Welcome to documentation!

importlib_metadata is a library which provides an API for accessing an installed package's metadata (see 566), such as its entry points or its top-level name. This functionality intends to replace most uses of pkg_resources entry point API and metadata API. Along with importlib.resources in Python 3.7 and newer (backported as importlib_resources <importlib_resources:index> for older versions of Python), this can eliminate the need to use the older and less efficient pkg_resources package.

importlib_metadata supplies a backport of importlib.metadata <library/importlib.metadata> as found in Python 3.8 and later for earlier Python releases. Users of Python 3.8 and beyond are encouraged to use the standard library module when possible and fall back to importlib_metadata when necessary. When imported on Python 3.8 and later, importlib_metadata replaces the DistributionFinder behavior from the stdlib, but leaves the API in tact. Developers looking for detailed API descriptions should refer to the Python 3.8 standard library documentation.

The documentation here includes a general usage <using> guide.

using history

Project details

Indices and tables

  • genindex
  • modindex
  • search