1"""Read resources contained within a package.""" 2 3from ._common import ( 4 as_file, 5 files, 6 Package, 7) 8 9from ._legacy import ( 10 contents, 11 open_binary, 12 read_binary, 13 open_text, 14 read_text, 15 is_resource, 16 path, 17 Resource, 18) 19 20from .abc import ResourceReader 21 22 23__all__ = [ 24 'Package', 25 'Resource', 26 'ResourceReader', 27 'as_file', 28 'contents', 29 'files', 30 'is_resource', 31 'open_binary', 32 'open_text', 33 'path', 34 'read_binary', 35 'read_text', 36] 37