class documentation

A TraversableResources based on SimpleReader. Resource providers may derive from this class to provide the TraversableResources interface by supplying the SimpleReader interface.

Method files Return a Traversable object for the loaded package.

Inherited from TraversableResources:

Method contents Return an iterable of entries in `package`.
Method is_resource Return True if the named 'path' is a resource.
Method open_resource Return an opened, file-like object for binary reading.
Method resource_path Return the file system path to the specified resource.

Inherited from SimpleReader (via TraversableResources, ResourceReader):

Method children Obtain an iterable of SimpleReader for available child containers (e.g. directories).
Method open_binary Obtain a File-like for a named resource.
Method resources Obtain available named resources for this virtual package.
Property name Undocumented
Property package The name of the package for which this reader loads resources.
def files(self): (source)

Return a Traversable object for the loaded package.