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 Code style: Black https://readthedocs.org/projects/importlib-resources/badge/?version=latest

importlib_resources is a backport of Python standard library importlib.resources module for older Pythons. Users of Python 3.9 and beyond should use the standard library module, since for these versions, importlib_resources just delegates to that module.

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.

Project details


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-5.1.1.tar.gz (32.1 kB view hashes)

Uploaded Source

Built Distribution

importlib_resources-5.1.1-py3-none-any.whl (25.3 kB view hashes)

Uploaded Python 3

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