Some excerpt'ing details.
From the perspective of this ABC, a resource is a binary artifact that is shipped within a package. Typically this is something like a data file that lives next to the __init__.py
file of the package. The purpose of this class is to help abstract out the accessing of such data files so that it does not matter if the package and its data file(s) are stored in a e.g. zip file versus on the file system.
Here is the excerpt, here is the steeple... Edited excerpt too!
Stunning. Provocative. Head-to-hoof.