| 1 |
Metadata-Version: 2.1 |
| 2 |
Name: importlib_resources |
| 3 |
Version: 6.4.5 |
| 4 |
Summary: Read resources from Python packages |
| 5 |
Author-email: Barry Warsaw <[email protected]> |
| 6 |
Maintainer-email: "Jason R. Coombs" <[email protected]> |
| 7 |
Project-URL: Source, https://github.com/python/importlib_resources |
| 8 |
Classifier: Development Status :: 5 - Production/Stable |
| 9 |
Classifier: Intended Audience :: Developers |
| 10 |
Classifier: License :: OSI Approved :: Apache Software License |
| 11 |
Classifier: Programming Language :: Python :: 3 |
| 12 |
Classifier: Programming Language :: Python :: 3 :: Only |
| 13 |
Requires-Python: >=3.8 |
| 14 |
Description-Content-Type: text/x-rst |
| 15 |
License-File: LICENSE |
| 16 |
Requires-Dist: zipp >=3.1.0 ; python_version < "3.10" |
| 17 |
Provides-Extra: check |
| 18 |
Requires-Dist: pytest-checkdocs >=2.4 ; extra == 'check' |
| 19 |
Requires-Dist: pytest-ruff >=0.2.1 ; (sys_platform != "cygwin") and extra == 'check' |
| 20 |
Provides-Extra: cover |
| 21 |
Requires-Dist: pytest-cov ; extra == 'cover' |
| 22 |
Provides-Extra: doc |
| 23 |
Requires-Dist: sphinx >=3.5 ; extra == 'doc' |
| 24 |
Requires-Dist: jaraco.packaging >=9.3 ; extra == 'doc' |
| 25 |
Requires-Dist: rst.linker >=1.9 ; extra == 'doc' |
| 26 |
Requires-Dist: furo ; extra == 'doc' |
| 27 |
Requires-Dist: sphinx-lint ; extra == 'doc' |
| 28 |
Requires-Dist: jaraco.tidelift >=1.4 ; extra == 'doc' |
| 29 |
Provides-Extra: enabler |
| 30 |
Requires-Dist: pytest-enabler >=2.2 ; extra == 'enabler' |
| 31 |
Provides-Extra: test |
| 32 |
Requires-Dist: pytest !=8.1.*,>=6 ; extra == 'test' |
| 33 |
Requires-Dist: zipp >=3.17 ; extra == 'test' |
| 34 |
Requires-Dist: jaraco.test >=5.4 ; extra == 'test' |
| 35 |
Provides-Extra: type |
| 36 |
Requires-Dist: pytest-mypy ; extra == 'type' |
| 37 |
|
| 38 |
.. image:: https://img.shields.io/pypi/v/importlib_resources.svg |
| 39 |
:target: https://pypi.org/project/importlib_resources |
| 40 |
|
| 41 |
.. image:: https://img.shields.io/pypi/pyversions/importlib_resources.svg |
| 42 |
|
| 43 |
.. image:: https://github.com/python/importlib_resources/actions/workflows/main.yml/badge.svg |
| 44 |
:target: https://github.com/python/importlib_resources/actions?query=workflow%3A%22tests%22 |
| 45 |
:alt: tests |
| 46 |
|
| 47 |
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json |
| 48 |
:target: https://github.com/astral-sh/ruff |
| 49 |
:alt: Ruff |
| 50 |
|
| 51 |
.. image:: https://readthedocs.org/projects/importlib-resources/badge/?version=latest |
| 52 |
:target: https://importlib-resources.readthedocs.io/en/latest/?badge=latest |
| 53 |
|
| 54 |
.. image:: https://img.shields.io/badge/skeleton-2024-informational |
| 55 |
:target: https://blog.jaraco.com/skeleton |
| 56 |
|
| 57 |
.. image:: https://tidelift.com/badges/package/pypi/importlib-resources |
| 58 |
:target: https://tidelift.com/subscription/pkg/pypi-importlib-resources?utm_source=pypi-importlib-resources&utm_medium=readme |
| 59 |
|
| 60 |
``importlib_resources`` is a backport of Python standard library |
| 61 |
`importlib.resources |
| 62 |
<https://docs.python.org/3/library/importlib.html#module-importlib.resources>`_ |
| 63 |
module for older Pythons. |
| 64 |
|
| 65 |
The key goal of this module is to replace parts of `pkg_resources |
| 66 |
<https://setuptools.readthedocs.io/en/latest/pkg_resources.html>`_ with a |
| 67 |
solution in Python's stdlib that relies on well-defined APIs. This makes |
| 68 |
reading resources included in packages easier, with more stable and consistent |
| 69 |
semantics. |
| 70 |
|
| 71 |
Compatibility |
| 72 |
============= |
| 73 |
|
| 74 |
New features are introduced in this third-party library and later merged |
| 75 |
into CPython. The following table indicates which versions of this library |
| 76 |
were contributed to different versions in the standard library: |
| 77 |
|
| 78 |
.. list-table:: |
| 79 |
:header-rows: 1 |
| 80 |
|
| 81 |
* - importlib_resources |
| 82 |
- stdlib |
| 83 |
* - 6.0 |
| 84 |
- 3.13 |
| 85 |
* - 5.12 |
| 86 |
- 3.12 |
| 87 |
* - 5.7 |
| 88 |
- 3.11 |
| 89 |
* - 5.0 |
| 90 |
- 3.10 |
| 91 |
* - 1.3 |
| 92 |
- 3.9 |
| 93 |
* - 0.5 (?) |
| 94 |
- 3.7 |
| 95 |
|
| 96 |
For Enterprise |
| 97 |
============== |
| 98 |
|
| 99 |
Available as part of the Tidelift Subscription. |
| 100 |
|
| 101 |
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. |
| 102 |
|
| 103 |
`Learn more <https://tidelift.com/subscription/pkg/pypi-importlib-resources?utm_source=pypi-importlib-resources&utm_medium=referral&utm_campaign=github>`_. |