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-2024-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-6.4.3.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

importlib_resources-6.4.3-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: importlib_resources-6.4.3.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for importlib_resources-6.4.3.tar.gz
Algorithm Hash digest
SHA256 4a202b9b9d38563b46da59221d77bb73862ab5d79d461307bcb826d725448b98
MD5 56d457ccd2f00860df3852e515857d7c
BLAKE2b-256 61b30412c28d21e31447e97728efcf8913afe1936692917629e6bdb847563484

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for importlib_resources-6.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d6dfe3b9e055f72495c2085890837fc8c758984e209115c8792bddcb762cd93
MD5 32bc8cf76f6713bfbf8e037d742af1e0
BLAKE2b-256 bc8be848c888201b211159cfceaac65cc3bc1e32ed9ab6ca30366c43e5f1969b

See more details on using hashes here.

Supported by

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