importlib_resources icon indicating copy to clipboard operation
importlib_resources copied to clipboard

Backport of the importlib.resources module

Results 17 importlib_resources issues
Sort by recently updated
recently updated
newest added

`importlib_resources` currently takes a while to import. From rough local testing with whatever Python versions I have installed, the figures are something like this: | OS | Python Implementation |...

In python/cpython#128815, Python gained an ExtraAssertions mix-in with an `assertEndsWith` method, which was applied to the `test_functional` tests. We'll want to port that functionality here in order to not undo...

Copied from a PR on the CPython repository's `importlib/resources`. The original PR is https://github.com/python/cpython/pull/138531

Part of #326. This is the biggest source of import time and hopefully the least controversial to replace; based on local testing, replacing this improves it by ~30% on supported...

Recently running into this error when serving mkdocs with mike installed: ``` $ poetry run python -m mkdocs serve Traceback (most recent call last): File "", line 198, in _run_module_as_main...

Part of #326. # Overview `typing` as a import-time dependency can be avoided for most of this library's use cases through a combination of the following: - Refactoring when possible...

Part of #326. `tempfile` is a relatively heavy import that's only used in a few routines, and they aren't always called when using `importlib_resources`, especially in the common case of...