Package: pyresparser
pyresparserA simple resume parser used for extracting information from resumesBuilt with ❤︎ and :coffee: byOmkar
PathakFeaturesExtract nameExtract emailExtract mobile numbersExtract skillsExtract total experienceExtract college nameExtract degreeExtract designationExtract company namesInstallationYou can install this package usingpipinstallpyresparserFor NLP operations we use spacy and nltk. Install them using below
commands:# spaCypython-mspacydownloaden_core_web_sm# nltkpython-mnltk.downloaderwordsDocumentationOfficial documentation is available at:https://www.omkarpathak.in/pyresparser/Supported File FormatsPDF and DOCx files are supported on all Operating SystemsIf you want to extract DOC files you can installtextractfor your OS (Linux, MacOS)Note: You just have to install textract (and nothing else) and doc
files will get parsed easilyUsageImport it in your Python projectfrompyresparserimportResumeParserdata=ResumeParser('/path/to/resume/file').get_extracted_data()CLIFor running the resume extractor you can also use thecliprovidedusage:pyresparser[-h][-fFILE][-dDIRECTORY][-rREMOTEFILE][-reCUSTOM_REGEX][-sfSKILLSFILE][-eEXPORT_FORMAT]optionalarguments:-h,--helpshowthishelpmessageandexit-fFILE,--fileFILEresumefiletobeextracted-dDIRECTORY,--directoryDIRECTORYdirectorycontainingalltheresumestobeextracted-rREMOTEFILE,--remotefileREMOTEFILEremotepathforresumefiletobeextracted-reCUSTOM_REGEX,--custom-regexCUSTOM_REGEXcustomregexforparsingmobilenumbers-sfSKILLSFILE,--skillsfileSKILLSFILEcustomskillsCSVfileagainstwhichskillsaresearchedfor-eEXPORT_FORMAT,--export-formatEXPORT_FORMATtheinformationexportformat(json)Notes:If you are running the app on windows, then you can only extract
.docs and .pdf filesResultThe 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
  }
]References that helped me get herehttps://www.kaggle.com/nirant/hitchhiker-s-guide-to-nlp-in-spacyhttps://www.analyticsvidhya.com/blog/2017/04/natural-language-processing-made-easy-using-spacy-%E2%80%8Bin-python/[https://medium.com/@divalicious.priya/information-extraction-from-cv-acec216c3f48](https://medium.com/@divalicious.priya/information-extraction-from-cv-acec216c3f48)Special thanksto dataturks for theirannotated
datasetDonationIf 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 :smile:PayPal₹ (INR)Stargazer over time