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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eds4jinja2-0.1.19.tar.gz.
File metadata
- Download URL: eds4jinja2-0.1.19.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf4670cb62cf4fdfe31a4c760af872811f083b448295bdaee9ffd489d75dd98d
|
|
| MD5 |
7f580ec79e38b24d29ac221074ab88dc
|
|
| BLAKE2b-256 |
3eb2825eb084b7d43ae16a6c4cbc52ab988a302b485c858d85af3d6fc1ef3b14
|
File details
Details for the file eds4jinja2-0.1.19-py3-none-any.whl.
File metadata
- Download URL: eds4jinja2-0.1.19-py3-none-any.whl
- Upload date:
- Size: 23.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
925e33a49b12251e402ba9d785f1e626016283337621146dd47769943ac11cdf
|
|
| MD5 |
0d6897d52bb27cc30c7d721999427e72
|
|
| BLAKE2b-256 |
d2facc4d5dd9a4d244ed719a2af90a03f3cdd3d5eb3674c4abab42e494c53e89
|