2021-07-30 03:05:05 +02:00
|
|
|
"""Read resources contained within a package."""
|
2017-12-30 21:18:06 +01:00
|
|
|
|
2021-07-30 03:05:05 +02:00
|
|
|
from ._common import (
|
|
|
|
as_file,
|
|
|
|
files,
|
|
|
|
Package,
|
2024-01-16 11:55:59 +01:00
|
|
|
Anchor,
|
2021-07-30 03:05:05 +02:00
|
|
|
)
|
|
|
|
|
2024-04-05 13:55:59 +02:00
|
|
|
from ._functional import (
|
|
|
|
contents,
|
|
|
|
is_resource,
|
|
|
|
open_binary,
|
|
|
|
open_text,
|
|
|
|
path,
|
|
|
|
read_binary,
|
|
|
|
read_text,
|
|
|
|
)
|
|
|
|
|
2021-12-31 03:00:48 +01:00
|
|
|
from .abc import ResourceReader
|
2017-12-30 21:18:06 +01:00
|
|
|
|
|
|
|
|
2018-05-17 17:41:53 +02:00
|
|
|
__all__ = [
|
|
|
|
'Package',
|
2024-01-16 11:55:59 +01:00
|
|
|
'Anchor',
|
2021-03-04 19:43:00 +01:00
|
|
|
'ResourceReader',
|
2020-05-09 01:20:26 +02:00
|
|
|
'as_file',
|
|
|
|
'files',
|
2024-04-05 13:55:59 +02:00
|
|
|
'contents',
|
|
|
|
'is_resource',
|
|
|
|
'open_binary',
|
|
|
|
'open_text',
|
|
|
|
'path',
|
|
|
|
'read_binary',
|
|
|
|
'read_text',
|
2021-03-04 19:43:00 +01:00
|
|
|
]
|