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

This version

6.5.0

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-6.5.0.tar.gz (43.5 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-6.5.0-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: importlib_resources-6.5.0.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for importlib_resources-6.5.0.tar.gz
Algorithm Hash digest
SHA256 c5401947cdd2e60d426dc786e417cbbf20d0d9ab07d993b4c3cf714e271aed8b
MD5 eed12b323b33864600826807b5cb608b
BLAKE2b-256 9017f0adf2fda7f289c2a6c0e7d66ab01a47de8f85f91b8c13b533ce74fe7fbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for importlib_resources-6.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47cf6506b7900dcbde3ef334e41bf759a034e110269aa9793f0e624ddb2bf090
MD5 479f3ff14a801dd161454a297b4d654e
BLAKE2b-256 130d08d523ab5b9a0d6cd5d157019d8cca7c6ea40444f08be461cb959561cef6

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