Skip to content

Backport of the importlib.resources module

License

Notifications You must be signed in to change notification settings

python/importlib_resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a6e3441 · Feb 26, 2025
Feb 26, 2025
Sep 12, 2024
Jan 3, 2025
Aug 21, 2024
Jun 16, 2022
Oct 31, 2017
Nov 10, 2017
Oct 25, 2024
Feb 24, 2025
Aug 7, 2023
Jan 3, 2025
Jan 3, 2025
Jul 8, 2023
Jun 30, 2020
Aug 29, 2024
Jan 3, 2025
Mar 31, 2024
Feb 26, 2025
Jun 21, 2023
Aug 31, 2024

tests Ruff https://readthedocs.org/projects/importlib-resources/badge/?version=latest https://img.shields.io/badge/skeleton-2025-informational https://tidelift.com/badges/package/pypi/importlib-resources

importlib_resources is a backport of Python standard library importlib.resources module for older Pythons.

The key goal of this module is to replace parts of pkg_resources 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:

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.