ninjecto.plugins.filters¶Class to load filter plugins.
This class bridges Jinja’s filters with Ninjecto:
register():
Register a function locally.ninjecto.plugins.filters.register(key)¶Register a function locally.
This method is expected to be used as a decorator. It allows to register a function locally without having to create a full Python package to use entrypoints.
FiltersLoader:
Filters plugins loader class.ninjecto.plugins.filters.FiltersLoader¶Filters plugins loader class.
Inheritance