ninjecto.plugins.filters

Class to load filter plugins.

This class bridges Jinja’s filters with Ninjecto:

Functions

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.

Classes

class ninjecto.plugins.filters.FiltersLoader

Filters plugins loader class.

Inheritance

Inheritance diagram of FiltersLoader