codekingpro/portable-devtools
115k
1"""2Read resources contained within a package.3 4This codebase is shared between importlib.resources in the stdlib5and importlib_resources in PyPI. See6https://github.com/python/importlib_metadata/wiki/Development-Methodology7for more detail.8"""9 10from ._common import (11 Anchor,12 Package,13 as_file,14 files,15)16from ._functional import (17 contents,18 is_resource,19 open_binary,20 open_text,21 path,22 read_binary,23 read_text,24)25from .abc import ResourceReader26 27__all__ = [28 'Package',29 'Anchor',30 'ResourceReader',31 'as_file',32 'files',33 'contents',34 'is_resource',35 'open_binary',36 'open_text',37 'path',38 'read_binary',39 'read_text',40]41 