Tool to create a pdf out of yaml descriptions. Generates a HTML out of yaml file using Jinja2 and then writes out a pdf of this. I use this to create my cv.
- Easy to layout using plain HTML & CSS. No need to mess with Word, Latex or anything like that
- Simple to update content, just maintain a flat YAML file
- YAML is human reader friendly
- Clone rep
- Rename
templates/entries.sample.yaml
totemplates/entries.yaml
,templates/settings.sample.yaml
totemplates/settings.yaml
andtemplates/cv.sample.html
totemplates/cv.html
. - Install requirements (using virtualenv)
cd pycvmaker/pycvmaker
and run script viapython run.py
The pdf will be created under theout
folder.
In templates/settings.yaml
are following settings configurable:
Setting | Default | Explanation |
---|---|---|
cv_template | cv.html | The html template |
output_folder | out | The folder of the pdf output |
file_name | cv-%Y.%m | The file name pattern, allowing dateformat variables |
It parses a YAML file (templates/entries.yaml
) which are then available in the Jinja template as entries
. Have a look at templates/cv.html
to see how they are used.