GitXplorerGitXplorer
p

importlib_metadata

public
125 stars
81 forks
10 issues

Commits

List of commits on branch main.
Verified
b34810b1e0665580a91ea19b6317a1890ecd42c1

Finalize

jjaraco committed 8 days ago
Verified
8c1d1fa4f4e2160fef17b0bb7fef2ca276b53a99

Merge pull request #501 from Avasam/Pass-mypy-and-link-issues

jjaraco committed 8 days ago
Verified
afa39e8e08b48fbedd3b8ac94cf58de39ff09c35

Back out changes to tests._path

jjaraco committed 8 days ago
Verified
8b909f9b1cdfc056eff3acd38337661ab24ef8b3

Merge pull request #503 from danielhollas/defer-json

jjaraco committed 8 days ago
Verified
2a3f50d8bbd41fc831676e7dc89d84c605c85760

Add news fragment.

jjaraco committed 8 days ago
Verified
3f78dc17786e0e0290db450e843ac494af0158e9

Add comment to protect the deferred import.

jjaraco committed 8 days ago

README

The README file for this repository.

.. image:: https://img.shields.io/pypi/v/importlib_metadata.svg :target: https://pypi.org/project/importlib_metadata

.. image:: https://img.shields.io/pypi/pyversions/importlib_metadata.svg

.. image:: https://github.com/python/importlib_metadata/actions/workflows/main.yml/badge.svg :target: https://github.com/python/importlib_metadata/actions?query=workflow%3A%22tests%22 :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json :target: https://github.com/astral-sh/ruff :alt: Ruff

.. image:: https://readthedocs.org/projects/importlib-metadata/badge/?version=latest :target: https://importlib-metadata.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2024-informational :target: https://blog.jaraco.com/skeleton

.. image:: https://tidelift.com/badges/package/pypi/importlib-metadata :target: https://tidelift.com/subscription/pkg/pypi-importlib-metadata?utm_source=pypi-importlib-metadata&utm_medium=readme

Library to access the metadata for a Python package.

This package supplies third-party access to the functionality of importlib.metadata <https://docs.python.org/3/library/importlib.metadata.html>_ 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:

.. list-table:: :header-rows: 1

    • importlib_metadata
    • stdlib
    • 7.0
    • 3.13
    • 6.5
    • 3.12
    • 4.13
    • 3.11
    • 4.6
    • 3.10
    • 1.4
    • 3.8

Usage

See the online documentation <https://importlib-metadata.readthedocs.io/>_ for usage details.

Finder authors <https://docs.python.org/3/reference/import.html#finders-and-loaders>_ 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

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.

Learn more <https://tidelift.com/subscription/pkg/pypi-importlib-metadata?utm_source=pypi-importlib-metadata&utm_medium=referral&utm_campaign=github>_.