acres
Access resources on your terms
Decision gist · record as of 2026-08-14
Yes, if you have bundled package resources and want to avoid the complexity and scoping gotchas of importlib.resources directly. The low install friction, active maintenance, permissive license, and clear API make it a straightforward choice. Not necessary if you only occasionally access resources or are comfortable with importlib.resources's Traversable interface.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low friction: pure Python wheel with a single lightweight dependency (importlib_resources).
- Active maintenance with recent releases; last commit 2026-08-01.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2025-06-04 (436 days) · last repo commit 2026-08-01
0 known vulnerabilities (OSV.dev, 2026-08-14) · 549,731 downloads/mo, #6,054 on PyPI
Alternatives
Verify before relying
pip install acres
from acres import Loader
loader = Loader('mypackage')
resource_text = loader.readable('data/file.txt').read_text()- Whether the package is actively used by projects beyond its originating organization (stars are 0, but monthly downloads are 549731).
- Performance characteristics when accessing many resources or large files.
What it is and what it does
Acres wraps importlib.resources to provide a clearer, more predictable interface for accessing bundled package data. It solves the problem that importlib.resources returns Traversable objects that may or may not exist on the filesystem depending on whether the package is zipped, and that context managers like as_file() have inconvenient scoping when resource access is deferred. Acres offers three access patterns: cached() for interpreter-lifetime resources, as_path() for context-managed temporary access, and readable() for Path-like objects with read_text() and read_bytes() methods.
The package is designed to be used as a module-level loader in data packages, allowing submodules to expose a simple load_resource function that hides the complexity of resource access. It is fully type-annotated and tested against Python 3.9 through 3.13.
Use it for
- Expose bundled configuration, template, or data files from a package submodule without exposing importlib complexity.
- Access resources that must exist on the filesystem (e.g., for passing to external tools) with guaranteed lifetime.
- Read small resource files (text or binary) from a package without managing temporary file cleanup.
- Handle packages that may be installed as zipped archives without code changes or runtime bugs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you have bundled package resources and want to avoid the complexity and scoping gotchas of importlib.resources directly.
The low install friction, active maintenance, permissive license, and clear API make it a straightforward choice. Not necessary if you only occasionally access resources or are comfortable with importlib.resources's Traversable interface.
Install
acres on PyPI
Before you install
Low friction: pure Python wheel with a single lightweight dependency (importlib_resources). Active maintenance with recent releases; last commit 2026-08-01.
Requires Python 3.9 or later.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install acres
from acres import Loader
loader = Loader('mypackage')
resource_text = loader.readable('data/file.txt').read_text()
Verify before relying
- Whether the package is actively used by projects beyond its originating organization (stars are 0, but monthly downloads are 549731).
- Performance characteristics when accessing many resources or large files.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageimportlib_resources |
| Maintenance | Actively maintained 436 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 549,731 / month, #6,054 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9 |
Evidence: acres-0.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “package resource access”
- acresAcres provides a consistent, scoped interface for accessing package…
- smmap2Smmap2 is a mirror package that wraps memory-mapped file access with…
- importlib-resourcesProvides a backport of Python's standard library importlib.resources…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also importlib-resources · rootutils · tempenv · pkginfo · path · dotenv · pathlib-abc · platformdirs · path.py · setuptools-odoo