plastic.resourcedir — Resources directory

class plastic.resourcedir.Resource(file_)

Readable file object provided by ResourceDirectory mapping objects. You can treat this simply as file object. It also is a context manager, so you can use it using with.

Parameters:file – file to wrap
class plastic.resourcedir.ResourceDirectory(package, directory='')

Mapping interface of package resources.

Project Versions

Previous topic

plastic.config — Configuration mapping

Next topic

plastic.exceptions — Exception types

This Page