Simple PDF generator from HTML templates and YAML data files
Generate a single PDF from a YAML file
python3 -m yaml2pdf from-yaml \
--template [FILE] \
--yaml-file [FILE] \
--output-dir [OUTPUT]Generate one PDF from every YAML file in the given directory
python3 -m yaml2pdf from-directory \
--template [FILE] \
--directory [DIRECTORY] \
--output-dir [OUTPUT]python3 yaml2pdf -m from-yaml \
--template yaml2pdf/samples/template/index.html \
--yaml-file yaml2pdf/samples/data/F21-00009.yaml \
--output-dir outputpython3 -m yaml2pdf from-directory \
--template yaml2pdf/samples/template/index.html \
--directory yaml2pdf/samples/data \
--output-dir outputpython3 -m venv .venv
source .venv/bin/activate
python3 setup.py install