Skip to main content

YAART - Yet Another AI Resume Tool

Python package that leverages AI to automatically tailor your resume to specific job descriptions, optimizing your resume content to highlight relevant skills and experiences.

lint test codecov License: MIT

Features:

  • Generates editable Markdown files so you can modify the AI-optimized resume.
  • LLM-powered scraper for pulling job descriptions.
  • Supports custom CSS styles when generating a PDF resume.
  • Stores all jobs in a sqllite database so you can track your applications.
  • Leverages Pydantic output parsing for consistent generation.
  • Intended to be plug-and-play with different models - succesfully tested with o1-preview, gpt-4o, and claude-3-5-sonnet-20241022

Note: I built this for my own use - sharing in case it is useful to others.

Installation

pip install yaart

Quick Start

  1. Create base_resume.md following the sample.md template in the Markdown folder

import asyncio
import os
from pathlib import Path
from langchain_openai import ChatOpenAI
from yaart import optimize_resume

# Job description text (optional if providing URL)
jd_text = """
Optional text in case the scraper fails...
"""

async def main():
    # Initialize LLM (GPT-4 Optimized)
    llm = ChatOpenAI(
        model="gpt-4o",  # GPT-4 Optimized is default
        temperature=0.2,
        api_key=os.getenv("OPENAI_API_KEY")
    )
    
    result = await optimize_resume(
        llm=llm,
        company="ExampleCorp",
        jd_url="https://example.com/job-posting",
        base_resume_path="path/to/base_resume.md",
        jd_string=jd_text,  # Optional, will scrape from URL if not provided
        output_dir=Path("output")  # Optional, defaults to current directory
    )
    
    print(f"Generated files:")
    print(f"Markdown: {result['markdown_path']}")
    print(f"PDF: {result['pdf_path']}")
    print(f"Role: {result['role']}")

if __name__ == "__main__":
    asyncio.run(main())
  1. (Optional) If you want to modify your generated markdown resume, find it in the generated Markdown directory. Once you would like to generate a PDF from it, run the following:
from md2pdf.core import md2pdf

if __name__ == "__main__":
    md2pdf("PDF/sample.pdf",
        md_file_path="Markdown/sample.md",
        css_file_path="styles.css",
    )

Prerequisites

  • Python 3.8+
  • LangChain compatible LLM (OpenAI, Anthropic, etc.)
  • Base resume in markdown format

How It Works

  1. Job Description Analysis:

    • Extracts key requirements, skills, and responsibilities
    • Structures information into standardized format
    • Caches parsed results in local SQLite database
  2. Resume Optimization:

    • Matches skills and experience with job requirements
    • Prioritizes relevant achievements
    • Incorporates key technical terms and phrases
    • Maintains professional tone and factual accuracy
  3. Output Generation:

    • Creates tailored Markdown version
    • Generates styled PDF using custom CSS
    • Preserves original resume structure

License

MIT

Contributing

Contributions welcome! Please feel free to submit a Pull Request.

Metadata

Release files for yaart 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yaart 1.0.0
File Size Uploaded Provenance Actions
yaart-1.0.0.tar.gz 11.7 kB Without provenance Details for yaart-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yaart 1.0.0
File Interpreter ABI Platform Actions
yaart-1.0.0-py3-none-any.whl Python 3 none any Details for yaart-1.0.0-py3-none-any.whl

Total release size: 24.2 kB

Release files / yaart-1.0.0.tar.gz

Download URL yaart-1.0.0.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6abbbd464e46e6420ee9adff29ceab1f62c28fe7fb9041a2cab8baa853ef5bb2
BLAKE2b-256 checksum
How to use checksums
08672d4a9b56c1eba465e2d9ea42060d1b5b57a90af9a68f10b6255455f09b95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.12.3 Linux/6.8.0-1020-azure

Release files / yaart-1.0.0-py3-none-any.whl

Download URL yaart-1.0.0-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3d46cdf8571e2178d61229d6a02778b79cb1a1d62f88400d797c231206a94a37
BLAKE2b-256 checksum
How to use checksums
a241cafcc3fbfabdff7ab6a60c515160e65ead8ba2fb8cad79849a7d3a950dda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.12.3 Linux/6.8.0-1020-azure

Security for yaart 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page