Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.9/dist-packages/importlib_resources/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

4 statements  

1""" 

2Read resources contained within a package. 

3 

4This codebase is shared between importlib.resources in the stdlib 

5and importlib_resources in PyPI. See 

6https://github.com/python/importlib_metadata/wiki/Development-Methodology 

7for 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 ResourceReader 

26 

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]