Skip to main content

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:

[{'education': [('BE', '2014')],
  'email': 'omkarpathak27@gmail.com',
  'experience': [' Schlumberger DATA ENGINEER Pune'],
  'mobile_number': '8087996634',
  'name': 'Omkar Pathak',
  'no_of_pages': 3,
  'skills': ['Python',
             'C',
             'Technical',
             'Linux',
             'Machine learning',
             'System',
             'Html',
             'C++',
             'Security',
             'Testing',
             'Content',
             'Apis',
             'Engineering',
             'Payments',
             'Django',
             'Excel',
             'Admissions',
             'Mysql',
             'Windows',
             'Automation',
             'Opencv',
             'Website',
             'Css',
             'Js',
             'Algorithms',
             'Flask',
             'Programming',
             'Writing',
             'Training',
             'Php',
             'Reports',
             'Photography',
             'Open source',
             'Github',
             'Analytics',
             'Api'],
  'total_experience': 0.58}]

References that helped me get here

Built with ♥ and :coffee: by `Omkar Pathak <http://www.omkarpathak.in/>`__

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)

Release files for pyresparser 1.0.3

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

Source distribution (sdist)

Source distribution for pyresparser 1.0.3
File Size Uploaded
pyresparser-1.0.3.tar.gz 4.2 MB Details

Built distribution (wheel)

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

Total release size: 8.5 MB

Release files / pyresparser-1.0.3.tar.gz

Download URL pyresparser-1.0.3.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
a4ef8a4a1db3658f2144373ef41eeb6a08f004ed51d8224f894c62ae1deba632
BLAKE2b-256 checksum
How to use checksums
7083a6e82bcf89a79caa2bdd4d6021124b752d626be5b16630de64c1f9686f1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.13.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.2

Release files / pyresparser-1.0.3-py3-none-any.whl

Download URL pyresparser-1.0.3-py3-none-any.whl
Size 4.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dc533b3b60113ed192a013bd6f97e7f1d2bcb8058b34c763cc0bb2021402cab2
BLAKE2b-256 checksum
How to use checksums
2448f41307e6a572397ba7f42de89109824db7f66280baa44ffaf6c6e1857cd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.13.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.2

Release history Release notifications | RSS feed

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

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