This API made for parsing CV/Resume data into JSON with Flask python, main library that use is Pyresparser from here
- Parsing CV data from PDF
# Clone the repository
git clone https://github.com/your-username/your-repository.git
# Change directory
cd your-repository
# Install dependencies
pip install nltk
pip install spacy==2.3.5
pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
pip install pyresparser
# nltk
python -m nltk.downloader words
python -m nltk.downloader stopwords
# Run the Flask app
python api.py
The API exposes the following endpoint:
- URL:
/parse-resumes
- Method: POST
- Description: This endpoint allows you to upload a PDF file containing the CV/Resume data. The API will parse the data and return the extracted information in JSON format.
- HTTP Method: POST
- Content-Type:
multipart/form-data
- Parameter:
resume
(File): The PDF file containing the CV/Resume data to be parsed.
- Status Code: 200 OK
- Content-Type:
application/json
- Response Body: A JSON object containing the extracted information from the CV/Resume, including fields such as name, email, phone number, education, skills, etc.
The API-cv-parser-flask project is open-source and available under the MIT License.
This project uses the pyresparser
library by OmkarPathak. You can find the library here.