python3-importlib-resources – Read resources from Python packages

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.

This library provides two very simple decorators that document the publicness of the names in your module. They keep your module’s __all__ in sync so you don’t have to.

Package availability chart

Distribution

Base version

Our version

Architectures

Debian GNU/Linux 10.0 (buster)

5.1.0-1+nd1~nd100+1

i386, amd64, sparc, armel, arm64, ppc64el

Debian GNU/Linux 11.0 (bullseye)

5.1.0-1

5.1.0-1.1~nd110+1

i386, amd64, sparc, armel, arm64

Debian GNU/Linux 12.0 (bookworm)

5.1.2-2

5.1.0-1.1~nd120+1

i386, amd64, sparc, armel, arm64

Debian testing (trixie)

6.0.1-1

Debian unstable (sid)

6.4.5-1

5.1.0-1.1~nd+1

i386, amd64, sparc, armel, arm64

Ubuntu 20.04 “Focal Fossa” (focal)

5.1.0-1.1~nd20.04+1

i386, amd64, sparc, armel, arm64

Ubuntu 22.04 “Jammy Jellyfish” (jammy)

5.1.2-1

5.1.0-1.1~nd22.04+1

i386, amd64, sparc, armel, arm64

Ubuntu 24.04 “Noble Numbat” (noble)

6.0.1-1

Comments

blog comments powered by Disqus