Skip to main content

A package to generate PDF resumes from YAML files using LaTeX templates

Project description

YAML Resume Builder

A Python package that generates professional PDF resumes from YAML files using Jake's LaTeX template. Define your resume content in simple YAML format and convert it to a polished, ATS-friendly PDF with a single command.

CI codecov PyPI version

Prerequisites

  • Python 3.8 or higher
  • LaTeX installation with latexmk command available in your PATH:

LaTeX Installation

Linux (Debian/Ubuntu)

sudo apt update && sudo apt install texlive-full latexmk

macOS

Install MacTeX (includes latexmk):

brew install --cask mactex

Windows

Install MiKTeX (includes latexmk):

  1. Download the MiKTeX Net Installer from https://miktex.org/download
  2. Choose "Complete" installation to ensure all required packages are installed
  3. MiKTeX will add pdflatex and latexmk to your PATH automatically

Installation

From PyPI or GitHub

# Install from PyPI
pip install yaml-resume-builder

# Or install directly from GitHub
pip install git+https://github.com/husayni/resume_builder.git

For Development

# Clone the repository
git clone https://github.com/husayni/resume_builder.git
cd resume_builder

# Create and activate a virtual environment
python -m venv .venv
source .venv/bin/activate

# Install the package in development mode with dev dependencies
pip install -e ".[dev]"

Usage

Command Line Interface

# Create a sample YAML resume file
yaml-resume-builder init --output my_resume.yml

# Build a resume from a YAML file
yaml-resume-builder build --input my_resume.yml --output resume.pdf

Python API

from yaml_resume_builder import build_resume

# Build a resume from a YAML file
build_resume(
    input_path="my_resume.yml",
    output_path="resume.pdf"
)

YAML Format

The YAML file should have the following structure. Any unknown fields will be ignored with a warning message:

The template includes sections for Education, Experience, Projects, Skills, and Achievements & Publications. All sections are optional - if you don't provide data for a section, it will be empty in the generated resume.

name: Your Name
title: Your Title
contact:
  email: your.email@example.com
  phone: "+1 123 456 7890"
  github: yourusername
  linkedin: yourusername
education:
  - school: University Name
    degree: Degree Name
    dates: "2020 - 2024"
    location: City, Country
experience:
  - company: Company Name
    role: Your Role
    dates: "Jan 2023 - Present"
    location: City, Country
    bullets:
      - Accomplishment 1
      - Accomplishment 2
projects:
  - name: Project Name
    technologies: Python, Flask, React, PostgreSQL, Docker
    date: "June 2020 - Present"
    link: https://github.com/yourusername/project
    bullets:
      - Description 1
      - Description 2
skills:
  - category: Languages
    list: [Python, JavaScript, Java]
  - category: Frameworks
    list: [Django, React, Spring]
achievements:
  - title: "Award Name"
    issuer: "Awarding Organization"
    date: "2023"
  - title: "Seminar speaker on 'Topic Name'"
    issuer: "Event Name"
    date: "2022"
publications:
  - title: "Publication Title"
    journal: "Journal or Conference Name"
    date: "January 2023"

Development

Running Tests

# Run all tests
pytest

# Run tests with coverage
pytest --cov=yaml_resume_builder

# Run linting checks
ruff check .
isort --check --diff .

Pre-commit Hooks

This project uses pre-commit hooks to ensure code quality. To set up pre-commit hooks:

# Install pre-commit
pip install pre-commit

# Install the git hooks
pre-commit install

# Run pre-commit on all files
pre-commit run --all-files

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • This project uses the LaTeX resume template created by Jake Gutierrez, which is also licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaml_resume_builder-1.0.3.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yaml_resume_builder-1.0.3-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file yaml_resume_builder-1.0.3.tar.gz.

File metadata

  • Download URL: yaml_resume_builder-1.0.3.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yaml_resume_builder-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f7dd334bf3b1cf39d67db9a57dbced237ea8724b6192c97f7181e88cb03cf3da
MD5 176ee2d3579732df8a627f742de1947d
BLAKE2b-256 2c7699b08768db262846ae888de103391d8c5d59867ef7d82b12fc817e8de8c5

See more details on using hashes here.

File details

Details for the file yaml_resume_builder-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for yaml_resume_builder-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a23db53097cb0f11fd2eb0c232c28d9fd6f1c6ba23a9d3573e22046286433084
MD5 50f520cdbdc425307f4689b5ad852f34
BLAKE2b-256 1a35d17d59041e34045b53d412bdbe6d4d30b1c6f977e5e716e8c1998f4f5af6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page