skillfed

importlib-resources

Read resources from Python packages

importlib-resources Permissive license Apache-2.0 Active 73 v7.1.0 released

Install

importlib-resources on PyPI

pip

pip install importlib-resources

uv

uv add importlib-resources

poetry

poetry add importlib-resources

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 1 — zipp
Maintenance actively maintained — 123 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: importlib_resources-7.1.0-py3-none-any.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: Only

About importlib-resources

from the package's own PyPI description — quoted content, verbatim

.. 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...

Read as markdown · JSON record · Source repository

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Provides a backport of Python's standard library importlib.resources module for older Python versions, enabling reliable access to package resources with stable APIs as an alternative to pkg_resources.

Low install friction with a single lightweight dependency (zipp). Actively maintained with recent commits and production-stable status; requires Python 3.10 or later.

Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most projects.

Usage

pip install importlib-resources

from importlib.resources import files
resource = files('my_package').joinpath('data.txt').read_text()

Requires Python 3.10 or later; for older Python versions, use an earlier release of this package.

Verdict: A well-maintained, production-stable backport of a standard library module with no known vulnerabilities, minimal dependencies, and permissive licensing. Suitable for projects needing reliable resource access on Python 3.10+, particularly as a migration path from pkg_resources.

Needs verification

  • Whether zipp introduces any transitive dependencies or platform-specific compilation requirements beyond what the fact sheet indicates.
read package resourcesimportlib resources backportaccess package data filespkg_resources alternativepython resource loadingpackage asset access

Similar packages