Skip to main content

Resume Parser Written in Python3

Project description

Introduction

pyresumize is a python module to extract useful information from resume and generate a json string out of it. Currently it supports only pdf,docx files as input .

Todo

  • Proper Logging to be added
  • Support for other formats
  • Performance Improvements
  • Bug Fixes
  • Custom configuration of input data

Note

The Skills , Employers and Education is given as .csv inputs to the engine and you can see a reference implementation in the data folder.

Todo

Log Integration custom model

Design

I have changed the Design in such a way that the developers can create own parsing rules and set those to the Parser to bring in flexibility.

Currently we have the below interfaces exposed and the developers can override the process method to bring in custom processing rules.

  • EmployerBaseInterface:

Searches for company information in the resume and identifies the employers

  • EducationBaseInterface

Process Education Details together with universities .The results are stored in a map

  • EmailBaseInterface

Check for email addresses in the resume and returns if found one.

  • PhoneBaseInterface

Process phone numbers in the resume text, if there are more than one phone number found , returns a concatenated string with commas.

  • NameBaseInterface

Proces the Name of the candidate .

  • SkillBaseInterface:

Process the skills section . returns a list of identified skills in a resume.

One of these interfaces can be implemented like below .

class RemoteCompaniesChecker (EmployerBaseInterface):
    def process(self,resumetext):
    #Call a remote API and pass the text info
    return list[]

The ResumeEngine class has below member functions and with one of these you can apply your custom engine

set_skills_engine(self, engine):    
set_name_engine(self, engine):    
set_name_engine(self, engine):    
set_email_engine(self, engine):    
set_education_engine(self, engine):    
set_employer_engine(self, engine):

Usage

https://pypi.org/project/pyresumize/ . The module can be installed using

pip install pyresumize

Then do the below

python -m spacy download en_core_web_sm    
python -m nltk.downloader words    
python -m nltk.downloader stopwords    
from pyresumize import ResumeEngine    
r_parser=ResumeEngine()    
r_parser.set_custom_keywords_folder("data")    
json=r_parser.process_resume(file)    
print(json)

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

pyresumize-0.1.9.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

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

pyresumize-0.1.9-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file pyresumize-0.1.9.tar.gz.

File metadata

  • Download URL: pyresumize-0.1.9.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pyresumize-0.1.9.tar.gz
Algorithm Hash digest
SHA256 76e8acbcb067e51587761ebfe5e8700617c470b216db795567ecec792f4524d4
MD5 9e4dbb8b6a4af094104cd687dce74f51
BLAKE2b-256 47fd48c57e11b9e373c0cc44401ed43ebd671bd23abac2c57c9806b25b4cd68d

See more details on using hashes here.

File details

Details for the file pyresumize-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: pyresumize-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pyresumize-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0772d741c5647c693469d1f4f29ef735a464ae531940acd30ec09234dfef8814
MD5 15a6e53ceba08a4f3cfb4267d4a06a8a
BLAKE2b-256 5d0b8e52a01f03bad5236e2da2df5179d2e0fbad0dd6807cff7f396c6eb4f29c

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