An importlib.resources.as_file
equivalent but for whole directories.
To access a directory of files in a package and load them (for example, a skybox with 6 faces), one would need to use as_file
6 times with 6 context managers. Moreover, if the API required a path to a folder that contained the 6 images, this would require manual extraction.