Embed the data source specifications in your JINJA templates directly, and enjoy the dynamic data contexts.
Project description
eds4jinja2
Embedded Datasource Specification in Jinja2 templates
Specify the data sources in your JINJA templates directly.
{% set content, error = from_file(path).fetch_tree() %} \n
content: {{ content }}\n
error: {{ error }}\n
{% set content, error =
from_endpoint(endpoint).with_query(query_string).fetch_tabular() %}
content: {{ content }} \n
error: {{ error }} \n
Installation
pip install eds4jinja2
Documentation
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
eds4jinja2-0.1.19.tar.gz
(8.8 kB
view hashes)
Built Distribution
Close
Hashes for eds4jinja2-0.1.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 925e33a49b12251e402ba9d785f1e626016283337621146dd47769943ac11cdf |
|
MD5 | 0d6897d52bb27cc30c7d721999427e72 |
|
BLAKE2b-256 | d2facc4d5dd9a4d244ed719a2af90a03f3cdd3d5eb3674c4abab42e494c53e89 |