This is a Python3 package that can generate .pptx
file from template using Jinja2 scheme.
You can define your own Jinja2 filters.
It can also replace picture.
See example.py
for example.
See the PyPI package at https://pypi.org/project/template-pptx-jinja/0.2.0
Run
pip install template-pptx-jinja
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt