ninjecto.plugins.namespaces.env

Namespace plugin to access environment variables.

Functions

ninjecto.plugins.namespaces.env.namespace_env(config, filepath)

Fetch data from the environment.

Parameters
  • config (dict) – Plugin configuration, if any.
  • filepath (Path) – Path file been rendered.
Returns

A named tuple with information from the environment.

Return type

namedtuple