Python resume generator. From YAML to PDF and static HTML.
git clone https://github.com/hanula/resume
cd resume
pip install -r requirements.txt
This script requires Python 3
and a set of libraries with their dependencies:
PyYAML
Jinja2
Markdown
WeasyPrint
docopt
- Look at resume examples in the
resumes
folder and create your own. - Copy
config.make.example
toconfig.make
and update it with your settings. - Run
make
to build HTML and PDF files that will go to thebuild
directory.
PDF is automatically generated along with html when running make
.
To just create PDF file:
make pdf
PDF file name in build
directory is defined by pdf_file
property in the config
section of your resume yaml
file.
To publish html on your server via SSH, edit RSYNC_LOCATION
in config.make
and run:
make publish
This repo contains a simple and a compact theme.
Add your own theme by creating themes/<your-theme>
folder with index.jinja2
template file.
Every other (non-jinja2) file from theme directory will be copied to final build/
destination.
You can control which theme is used by setting theme
property in the resume's config
section.