Giter Site home page Giter Site logo

survivorchicken9 / resume-optimizer Goto Github PK

View Code? Open in Web Editor NEW
20.0 1.0 9.0 141 KB

Extracting keywords from a job description and looking for them in a resume

License: MIT License

Python 99.81% Procfile 0.19%
resume-parser resume-app keyword-extract resume-builder resume resume-creator resume-analysis resume-automation resume-generator

resume-optimizer's Introduction

Resops

This simple resume optimizer (Resops) extracts keywords from a job description and then checks to see if the provided resume includes those keywords. The API is hosted on heroku and can be accessed by sending a POST request including a body with the target resume and job description (see example below). The Yake and Spacy packages are used for keyword searching and matching.

You can also make use of the resume rescue web app, which uses the resops package. This will allow you to enter a job description and your resume, and then provide you with feedback/allow you to edit your resume directly through the app.

Project hosting links

How it works

  • Main endpoint used for frontend (job description parser and resume optimizer) is "/get_resume_feedback"
  • Extracting keywords using YAKE and hard skills lists (stored in text files inside common.keyword_inputs)

Installing

This project is keeping track of dependencies using pipenv. To install all required packages and the correct versions, simply create a virtual environment and run the following inside it:

pipenv install

To run the FastAPI server on your local machine and be able to call the endpoints in main.py locally, run the following:

uvicorn main:app --reload

Sample Code

Python (API)

First, define some sample inputs:

data = {
    "job_title" : "Software Engineer",
    "job_description" : "Company A is looking for a Software Engineer to grow its...",
    "job_company" : "Company A",
    "raw_resume" : [{"title": "Software Engineer", "description": "Deployed machine learning models to production..."}]
}

Then, use the requests module to send a post request to the endpoint (locally or to the API):

import requests
resume_feedback_local = requests.post("http://127.0.0.1:8000/get_resume_feedback", json=data).text
resume_feedback_api = requests.post("https://resume-optimizer.herokuapp.com/get_resume_feedback", json=data).text

You'll get a dictionary back with the results which should look something like this:

resume_feedback = {
    "job_title": "Software Engineer",
    "all_keywords": ["Python", "SQL", "implement API", "experience with predictive analytics", ...],
    "skills": ["Python", "SQL", ...],
    "included_keywords": ["Python", "SQL"],
    "missing_keywords": ["implement API", "experience with predictive analytics", ...],
    "keyword_score": "2/n",
    "resume_lines_feedback": [{"job_title": "Software Engineer", "lines_with_keyword": [], "lines_without_keyword": []}, ...],
}

You can visit the API docs for more information.

Python (integration)

  • TODO finish the code and write examples

TODO

  • improve full-text resume parser
  • ok there are tests now but they need to be better
  • improve job_description class keyword extraction methods

Citations

  • Yet Another Keyword Extractor (Yake)
    In-depth journal paper at Information Sciences Journal: Campos, R., Mangaravite, V., Pasquali, A., Jatowt, A., Jorge, A., Nunes, C. and Jatowt, A. (2020). YAKE! Keyword Extraction from Single Documents using Multiple Local Features. In Information Sciences Journal. Elsevier, Vol 509, pp 257-289. https://doi.org/10.1016/j.ins.2019.09.013
  • spaCy: Industrial-strength NLP
    https://github.com/explosion/spaCy

resume-optimizer's People

Contributors

dependabot[bot] avatar survivorchicken9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.