https://github.com/meaningfy-ws/eds4jinja2
An easy way to reports generation with Jinja2 templates. With Embedded Datasource Specifications inside Jinja2 templates, you can fetch the data you need on the spot.
https://github.com/meaningfy-ws/eds4jinja2
data-source dynamic-content jinja2 jinja2-extension linked-data rdf report report-generator sparql template
Last synced: 5 months ago
JSON representation
An easy way to reports generation with Jinja2 templates. With Embedded Datasource Specifications inside Jinja2 templates, you can fetch the data you need on the spot.
- Host: GitHub
- URL: https://github.com/meaningfy-ws/eds4jinja2
- Owner: meaningfy-ws
- License: apache-2.0
- Created: 2020-08-07T10:37:40.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2025-11-27T11:54:51.000Z (8 months ago)
- Last Synced: 2026-02-20T17:11:30.580Z (5 months ago)
- Topics: data-source, dynamic-content, jinja2, jinja2-extension, linked-data, rdf, report, report-generator, sparql, template
- Language: Python
- Homepage: https://eds4jinja2.readthedocs.io/en/latest/
- Size: 867 KB
- Stars: 2
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eds4jinja2
An easy way to reports generation with Jinja2 templates.
With Embedded Datasource Specifications inside Jinja2 templates, you can fetch the data you need on the spot.

[](https://codecov.io/gh/meaningfy-ws/eds4jinja2)
[](https://eds4jinja2.readthedocs.io/en/latest/?badge=latest)





Specify the data sources in your JINJA templates directly.
```jinja2
{% set content, error = from_file(path).fetch_tree() %} \n
content: {{ content }}\n
error: {{ error }}\n
```
```jinja2
{% set content, error =
from_endpoint(endpoint).with_query(query_string).fetch_tabular() %}
content: {{ content }} \n
error: {{ error }} \n
```
# Installation
```shell script
pip install eds4jinja2
```
# Usage
[Read the docs here](https://eds4jinja2.readthedocs.io/en/latest/)
## Contributing
You are more than welcome to help expand and mature this project. We adhere to [Apache code of conduct](https://www.apache.org/foundation/policies/conduct), please follow it in all your interactions on the project.
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the maintainers of this repository before making a change.
## Licence
This project is licensed under [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
Powered by [Meaningfy](https://github.com/meaningfy-ws).