deliverance.pyref – resolving pyref attributes

Handles loading modules or files for use with the pyfunc attribute in <match>, <theme> or other places with python hooks

Contents

Module Contents

class deliverance.pyref.PyReference(module_name=None, filename=None, function_name=None, args={}, default_objs={}, attr_name=None, source_location=None)

Represents a reference to a Python function that can be called

Utilities

class deliverance.pyref.DefaultDict(wrapping, default='')

A dictionary where all values have a default