``importlib_metadata``
=========================
``importlib_metadata`` is a library to access the metadata for a Python
package. It is intended to be ported to Python 3.8.
Usage
=====
``importlib_metadata``, unlike its sister packages importlib and
importlib.resources, operates on Python Distribution packages (the
package as installed by pip or similar).
This module exposes a few functions:
:func:`version` takes a distribution package name and returns the
version for that package.
:func:`entry_points` takes a distribution package name and returns
a structure of entry points declared by that package.
:func:`resolve` accepts an entry point as returned by
:func:`entry_points` and resolves it to the module or callable that
it references.
Support for Custom Package Installers
=====================================
``importlib_metadata`` provides hooks for third-party package installers
through their declared finders. A custom installer, if it provides its
own finder for installed packages, should also provide on that finder
a ``find_distribution`` callable that when called with
the name of a package will return a ``Distribution`` instance capable
of loading the metadata for that named package (or None if that finder
has no knowledge of that package or its metadata).
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://gitlab.com/python-devs/importlib_metadata
* Report bugs at: https://gitlab.com/python-devs/importlib_metadata/issues
* Code hosting: https://gitlab.com/python-devs/importlib_metadata.git
* Documentation: http://importlib_metadata.readthedocs.io/
Metadata
Release files for importlib-metadata 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| importlib_metadata-0.5.tar.gz | 14.8 kB | Without provenance | Details for importlib_metadata-0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| importlib_metadata-0.5-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for importlib_metadata-0.5-py2.py3-none-any.whl |
Total release size: 29.8 kB
Release files / importlib_metadata-0.5.tar.gz
| Download URL | importlib_metadata-0.5.tar.gz |
|---|---|
| Size | 14.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6fb31513ab8cf7a1fceb5d67041989f05c0c3c3a54998328e257943627121e3
|
|
BLAKE2b-256 checksum How to use checksums |
af8fdc597f3f32a99ac815725643743cfe9afca188a974265888e7b36d7599eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2
|
Release files / importlib_metadata-0.5-py2.py3-none-any.whl
| Download URL | importlib_metadata-0.5-py2.py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
d4876b7ace2499242f46a2417ee742906cbe0bc84bf7985e639ca398cb850992
|
|
BLAKE2b-256 checksum How to use checksums |
2ad2cbdcb1b718d7066512ebeb84f796c7e8d4a6b89f97e7346e792820521a62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.2
|
Security for importlib-metadata 0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.