importlib-resources


توضیحات

Read resources from Python packages
ویژگی مقدار
سیستم عامل -
نام فایل importlib-resources-7.1.0
نام importlib-resources
نسخه کتابخانه 7.1.0
نگهدارنده []
ایمیل نگهدارنده ['"Jason R. Coombs" <jaraco@jaraco.com>']
نویسنده -
ایمیل نویسنده Barry Warsaw <barry@python.org>
آدرس صفحه اصلی -
آدرس اینترنتی https://pypi.org/project/importlib-resources/
مجوز -
.. image:: https://img.shields.io/pypi/v/importlib_resources.svg :target: https://pypi.org/project/importlib_resources .. image:: https://img.shields.io/pypi/pyversions/importlib_resources.svg .. image:: https://github.com/python/importlib_resources/actions/workflows/main.yml/badge.svg :target: https://github.com/python/importlib_resources/actions?query=workflow%3A%22tests%22 :alt: tests .. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json :target: https://github.com/astral-sh/ruff :alt: Ruff .. image:: https://readthedocs.org/projects/importlib-resources/badge/?version=latest :target: https://importlib-resources.readthedocs.io/en/latest/?badge=latest .. image:: https://img.shields.io/badge/skeleton-2025-informational :target: https://blog.jaraco.com/skeleton .. image:: https://tidelift.com/badges/package/pypi/importlib-resources :target: https://tidelift.com/subscription/pkg/pypi-importlib-resources?utm_source=pypi-importlib-resources&utm_medium=readme ``importlib_resources`` is a backport of Python standard library `importlib.resources <https://docs.python.org/3/library/importlib.html#module-importlib.resources>`_ module for older Pythons. The key goal of this module is to replace parts of `pkg_resources <https://setuptools.readthedocs.io/en/latest/pkg_resources.html>`_ with a solution in Python's stdlib that relies on well-defined APIs. This makes reading resources included in packages easier, with more stable and consistent semantics. 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_resources - stdlib * - 6.0 - 3.13 * - 5.12 - 3.12 * - 5.7 - 3.11 * - 5.0 - 3.10 * - 1.3 - 3.9 * - 0.5 (?) - 3.7 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-resources?utm_source=pypi-importlib-resources&utm_medium=referral&utm_campaign=github>`_.


نیازمندی

مقدار نام
ython_versio zipp>=3.1.0;
xtr pytest!=8.1.*,>=6;
xtr zipp>=3.17;
xtr jaraco.test>=5.4;
xtr sphinx>=3.5;
xtr jaraco.packaging>=9.3;
xtr rst.linker>=1.9;
xtr furo;
xtr sphinx-lint;
xtr jaraco.tidelift>=1.4;
xtr pytest-checkdocs>=2.14;
ys_platfor pytest-ruff>=0.2.1;
xtr pytest-cov;
xtr pytest-enabler>=3.4;
latform_python_implementatio pytest-mypy>=1.0.1;


زبان مورد نیاز

مقدار نام
>=3.10 Python


نحوه نصب


نصب پکیج whl importlib-resources-7.1.0:

    pip install importlib-resources.whl


نصب پکیج tar.gz importlib-resources-7.1.0:

    pip install importlib-resources.tar.gz