ninjecto.plugins.namespaces.env¶Namespace plugin to access environment variables.
namespace_env():
Fetch data from the environment.ninjecto.plugins.namespaces.env.namespace_env(config)¶Fetch data from the environment.
This function will filter the environment variables names that are
considered “unsafe” to be represented as a Python variable. This is done to
avoid crashing the code and the templates with weird environment variable
names. This behavior can be disabled by setting
ninjecto.namespace.env.safe to False.