asphalt.templating.renderers.tonnikala

class asphalt.templating.renderers.tonnikala.TonnikalaRenderer(package_paths: typing.Iterable[str] = (), **loader_args) → None

Renders Tonnikala templates.

Parameters:
  • package_paths (Iterable[str]) – if given, looks up the directories containing the given package and fills in the paths argument for FileLoader. The value will be interpreted by package_to_directory().
  • loader_args – extra arguments to pass to FileLoader