Jinja2 Extension for getting environment variables
Project description
jinja2-env
Jinja2 Extension for getting environment variables
Installation
Install this via pip (or your favourite package manager):
pip install jinja2-env
Usage
As a statement:
{% env "HOME" %}
{% env "HOME", default %}
As a expression:
{{ "default" | env("HOME") }}
Contributors ✨
Thanks goes to these wonderful people (emoji key):
34j 💻 🤔 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jinja2_env-0.1.1.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for jinja2_env-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10995ad607b60a0d70b63d82cd15bfe1aaa8b75964989c5a4bcefdf374653eac |
|
MD5 | 2f2679ded5c19f87b94fc08e2ce28e52 |
|
BLAKE2b-256 | b4fe76df97dc4cb7d9c699e041784e84dc8229aab6aafcf53b59bd0f9689ee2d |