Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A simple resume parser used for extracting information from resumes

Project description

pyresparser

A simple resume parser used for extracting information from resumes

Features

  • Extract name
  • Extract email
  • Extract mobile numbers
  • Extract skills
  • Extract total experience
  • Extract education (not very accurate as of now)
  • Extract experience (not very accurate as of now)

Installation

  • You can install this package using
pip install pyresparser
  • For NLP operations we use spacy and nltk. Install them using below commands:
# spaCy
python -m spacy download en_core_web_sm

# nltk
python -m nltk.downloader words

Supported File Formats

  • PDF and DOCx files are supported on all Operating Systems
  • If you want to extract DOC files you can install textract for your OS (Linux, MacOS)
  • Note: You just have to install textract (and nothing else) and doc files will get parsed easily

CLI

For running the resume extractor you can also use the cli provided

usage: pyresparser [-h] [-f FILE] [-d DIRECTORY]

optional arguments:
  -h, --help                              show this help message and exit
  -f FILE, --file FILE                    resume file to be extracted
  -d DIRECTORY, --directory DIRECTORY     directory containing all the resumes to be extracted
  -r REMOTEFILE, --remotefile REMOTEFILE  remote path for resume file to be extracted

For extracting data from a single resume file, use

pyresparser -f <resume_file_path>

For extracting data from several resumes, place them in a directory and then execute

pyresparser -d <resume_directory_path>

For extracting data from remote resumes, execute

pyresparser -r <path_to_remote_resume_file>

Notes:

  • If you are running the app on windows, then you can only extract .docs and .pdf files

Result

The module would return a list of dictionary objects with result as follows:

[
    {
        'college_name': ['Marathwada Mitra Mandal’s College of Engineering'],
        'company_names': None,
        'degree': ['B.E. IN COMPUTER ENGINEERING'],
        'designation': ['Manager',
                        'TECHNICAL CONTENT WRITER',
                        'DATA ENGINEER'],
        'email': 'omkarpathak27@gmail.com',
        'mobile_number': '8087996634',
        'name': 'Omkar Pathak',
        'no_of_pages': 3,
        'skills': ['Operating systems',
                    'Linux',
                    'Github',
                    'Testing',
                    'Content',
                    'Automation',
                    'Python',
                    'Css',
                    'Website',
                    'Django',
                    'Opencv',
                    'Programming',
                    'C',
                    ...],
        'total_experience': 1.83
    }
]

Donation

If you have found my softwares to be of any use to you, do consider helping me pay my internet bills. This would encourage me to create many such softwares :)

PayPal  
₹ (INR)  

Project details


Download files

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

Files for pyresparser, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size pyresparser-1.0.5-py3-none-any.whl (4.2 MB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyresparser-1.0.5.tar.gz (4.2 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page