importlib_metadata: Library to access the metadata for a Python package - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# importlib_metadata: Library to access the metadata for a Python package

## Description

This is a backport package, supplying access to the functionality of `importlib.metadata` including improvements added to subsequent Python versions.

## License

Apache Software License

## Upstream Contact

- https://pypi.org/project/importlib-metadata/

- http://importlib-metadata.readthedocs.io/

## Type

standard

## Dependencies

- $(PYTHON)

- pip: Tool for installing and managing Python packages

- typing_extensions: Backported and Experimental Type Hints for Python 3.8+

- zipp: A pathlib-compatible zipfile object wrapper

## Version Information

package-version.txt:

    7.0.1

version_requirements.txt:

    importlib_metadata >=4.13; python_version<'3.11'

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-importlib-metadata

conda-forge

    $ conda install importlib_metadata

Debian/Ubuntu

    $ sudo apt-get install python3-importlib-metadata

Fedora/Redhat/CentOS

    $ sudo dnf install python3-importlib-metadata

FreeBSD

    $ sudo pkg install devel/py-importlib-metadata

Gentoo Linux

    $ sudo emerge dev-python/importlib_metadata

openSUSE

    $ sudo zypper install python3\$\{PYTHON_MINOR\}-importlib-metadata

Void Linux

    $ sudo xbps-install python3-importlib_metadata

See https://repology.org/project/python:importlib-metadata/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.