You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

jinja2-env

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jinja2-env

Jinja2 Extension for getting environment variables

0.1.3
pipPyPI
Maintainers
1

jinja2-env

CI Status Documentation Status Test coverage percentage

Poetry black pre-commit

PyPI Version Supported Python versions License

Jinja2 Extension for getting environment variables

Installation

Install this via pip (or your favourite package manager):

pip install jinja2-env

Usage

The extension class is jinja2_env.EnvExtension.

As a statement:

{% env "HOME" %}
{% env "HOME", default %}

As a expression:

{{ "default" | env("HOME") }}

Contributors ✨

Thanks goes to these wonderful people (emoji key):

34j
34j

💻 🤔 📖

This project follows the all-contributors specification. Contributions of any kind welcome!

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts