Skip to content

arashout/ResumeGenerator

Repository files navigation

ResumeGenerator

Generate a PDF resume formatted as perscribed by Gayle McDowell from CareerCup, author of Cracking The Coding Interview using a YAML schema. Here's a preview preview of resume generated

Instructions

Setup resume.yaml

See the example resume.platf.yaml in the resumes/ directory.

Clone Repo and Install Requirements

The next step is to clone the repository and install the requirements

git clone https://github.com/arashout/ResumeGenerator.git
cd ResumeGenerator
pipenv install

Also note you have to install wkhtmltopdf

Using Nix

nix-shell pip-shell.nix
# Inside Nix Shell
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
python3 main.py resumes/resume.platf.yaml -o output/test.pdf

Generate PDF resume from command-line

You can generate your pdf resume by running (inside the cloned repo)

pipenv shell
python3 main.py resume.yaml -o 'path/for/pdf/output'

Optionally you can anonymize your PDF by supplying a second argument

pipenv shell
python3 main.py resume.yaml -o 'path/for/pdf/output' -a 'path/to/anon_data.yaml'

Where anon_data.yaml is a dictionary where the keys are sensitive information you want to replace and the values are generic text to replace them with e.g.

    "Arash Outadi": "First Last" 
    "arash.out@gmail.com": "first.last@gmail.com"
    UBC: UA
    "University of British Columbia": "University of Anons"

    London: UKCity
    Vancouver: CADCity
    BC: CADProv

    Ravelin: Fintech Startup
    Andritz: Pulp & Paper
    "Canadian Logistics": "Logistics Company"

CareerCup Template

If you don't really care about the CLI tool and just want the HTML template, navigate to the CareerCup directory and you'll find the Jinja2 HTML template and the styles.css stylesheet.

Examples

An example of a resume is inside resumes folder