"""
Interface adapters for low-level readers.
"""
"""
The minimum, low-level interface required from a resource
provider.
"""
# type: () -> str
"""
The name of the package for which this reader loads resources.
"""
# type: () -> List['SimpleReader']
"""
Obtain an iterable of SimpleReader for available
child containers (e.g. directories).
"""
# type: () -> List[str]
"""
Obtain available named resources for this virtual package.
"""
# type: (str) -> BinaryIO
"""
Obtain a File-like for a named resource.
"""
return
"""
Handle to a named resource in a ResourceReader.
"""
# type: (ResourceContainer, str) -> None
=
= # type: ignore
return True
return False
=
=
return
"""
Traversable container for a package's resources via its reader.
"""
# type: (SimpleReader) -> None
=
return True
return False
=
=
return
return
"""
A TraversableResources based on SimpleReader. Resource providers
may derive from this class to provide the TraversableResources
interface by supplying the SimpleReader interface.
"""
return