Add importlib-resources-5.2.2

This commit is contained in:
JonnyWong16 2021-10-15 00:51:58 -07:00
commit f238343aa2
No known key found for this signature in database
GPG key ID: B1F1F9807184697A
40 changed files with 1943 additions and 0 deletions

View file

@ -0,0 +1,36 @@
"""Read resources contained within a package."""
from ._common import (
as_file,
files,
Package,
Resource,
)
from ._legacy import (
contents,
open_binary,
read_binary,
open_text,
read_text,
is_resource,
path,
)
from importlib_resources.abc import ResourceReader
__all__ = [
'Package',
'Resource',
'ResourceReader',
'as_file',
'contents',
'files',
'is_resource',
'open_binary',
'open_text',
'path',
'read_binary',
'read_text',
]