Giter VIP home page Giter VIP logo

mini_ats's Introduction

Mini ATS in Python

Purpose

The primary goal of this Python program is to provide an Applicant Tracking System (ATS) percent score by comparing the content of resumes (in the 'resumes' folder) to job description text files (in the 'jds' folder). The program utilizes keyword extraction to calculate the similarity percentage between the keywords in resumes and job descriptions.

Features

  • Reads both Microsoft Word (.docx, .doc) and plain text (.txt) files.
  • Utilizes keyword extraction to identify important terms in the documents.
  • Calculates the similarity percentage between resume and job description keywords.
  • Displays the results with color-coded output for better visibility.

How to Use

  1. Create a folder named resumes.

    • This folder will contain all the MS Word documents representing resumes.
  2. Create a folder named jds.

    • This folder will contain all the job description text files in .txt format.
  3. Place all your MS Word documents (in .docx or .doc format) representing resumes in the resumes folder.

  4. Place all your job description text files (in .txt format) in the jds folder.

  5. Install dependencies using the following command:

    pip install -r requirements.txt
  6. Run the program using main.py:

    python main.py

Requirements

  • Python 3.x
  • Dependencies listed in requirements.txt

File Structure

  • resumes: Contains all the resumes in either Word or plain text format.
  • jds: Contains all the job description text files.

Functions

read_text_from_file(file_path)

Reads and returns the text content from a text file.

read_word_document(file_path)

Reads and returns the text content from a Microsoft Word document.

get_word_files(directory_path)

Gets all MS Word files from a specified directory.

get_text_files(directory_path)

Gets all text files from a specified directory.

calculate_similarity_percentage(list1, list2)

Calculates and returns the percentage of similarity between two lists of strings.

showIt(path, jd, sim)

Displays the results with color-coded output based on the similarity percentage.

init()

A placeholder function to initialize the program.

Output Legend

  • Green: Similarity > 50%
  • Yellow: 40% <= Similarity <= 50%
  • Red: Similarity < 40%

Note

  • Ensure that the 'resumes' and 'jds' folders contain the relevant files before running the script.
  • To use exclusive mode where you want to consider only one JD file, add an _ before the file only. The program will skip all jds except for that file.

Feel free to customize the program according to your specific needs.

mini_ats's People

Contributors

shanover77 avatar

Watchers

 avatar

Forkers

sunilrai486

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.