Skip to main content

Read resources from Python packages

Project description

https://img.shields.io/pypi/v/importlib_resources.svg https://img.shields.io/pypi/pyversions/importlib_resources.svg 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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

importlib_resources-7.1.0.tar.gz (45.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

importlib_resources-7.1.0-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file importlib_resources-7.1.0.tar.gz.

File metadata

  • Download URL: importlib_resources-7.1.0.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for importlib_resources-7.1.0.tar.gz
Algorithm Hash digest
SHA256 0722d4c6212489c530f2a145a34c0a7a3b4721bc96a15fada5930e2a0b760708
MD5 d38630721acc6d5d2c3dfdf6e8cb1f85
BLAKE2b-256 e406b56dfa750b44e86157093bc8fca0ab81dccbf5260510de4eaf1cb69b5b99

See more details on using hashes here.

File details

Details for the file importlib_resources-7.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for importlib_resources-7.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1bd7b48b4088eddb2cd16382150bb515af0bd2c70128194392725f82ad2c96a1
MD5 0198bd0e5dab953e11ee36e7a8c05faa
BLAKE2b-256 8adb55a262f3606bebcae07cc14095338471ad7c0bbcaa37707e6f0ee49725b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page