Coder Social home page Coder Social logo

ziyixia / resume-parser Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shivanshsrivastava1/ez-parse

0.0 0.0 0.0 777 KB

A Python library that scrapes essential information from PDFs of LinkedIn profiles.

License: MIT License

Python 87.46% Makefile 12.54%

resume-parser's Introduction

ez-parse

A Python library that scrapes essential information from PDFs of LinkedIn profiles.

License: MIT codecov PyPI docs

Project Board

Overview

This is a parser that extracts important information from a LinkedIn profile PDF. It converts the PDF to a list of strings, and then uses LinkedIn's headers to create a dictionary that maps said headers to string values that contain the most relevant parts of a candidate's profile.

Installation

Install the library's dependencies and build the library using:

pip install ez-parse

Accessing LinkedIn PDFs

Visit the LinkedIn profile that you would like to parse. Under the individual's basic profile information, there is a button labeled "More". Click on this button, and then click on "Save to PDF".

Usage

In your code, begin by importing the package:

from ez-parse import parser

You can extract the text data from the PDF like so:

data = parser.extract_pdf(<path_to_linkedin_pdf>)

This parsed data can also be stored in a dictionary:

res = parser.get_many(data)

Examples

Below are some minimal examples of how the helper functions for each header work. Note how each helper function is designed to exclude information after encountering an irrelevant section header:

  1. get_contact

>>> li = ["999-999-9999", "Email", "URL", "Top Skills"]

>>> print(get_contact(li, -1)[0])

["999-999-9999", "Email", "URL"]

  1. get_skills

>>> li = ["Python", "Java", "C++", "Certifications"]

>>> print(get_skills(li, -1)[0])

["Python", "Java", "C++"]

  1. get_certifications

>>> li = ["QuickBooks", "CPR", "Bartending", "Honors-Awards"]

>>> print(get_certifications(li, -1)[0])

["QuickBooks", "CPR", "Bartending"]

  1. get_honors

>>> li = ["USACO Gold", "USAMO Silver", "USACO Bronze"]

>>> print(get_honors(li, -1)[0])

["USACO Gold", "USAMO Silver", "USACO Bronze"]

  1. get_summary

>>> li = ["A", "mysterious", "person.", "Languages"]

>>> print(get_summary(li, -1)[0])

["A", "mysterious", "person."]

  1. get_languages

>>> li = ["English", "Spanish", "Latin"]

>>> print(get_languages(li, -1)[0])

["English", "Spanish", "Latin"]

For a more in-depth example that extracts text from the PDF and relies on all of these helper functions, please see the documentation.

resume-parser's People

Contributors

shivanshsrivastava1 avatar

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.