Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lacsapadnan authored Aug 1, 2023
1 parent c65f314 commit a20f7c9
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# api-cv-parser-flask

This API made for parsing CV/Resume data into JSON with Flask python, main library that use is Pyresparser from [here](https://github.com/OmkarPathak/pyresparser)

## Table of Contents

- [Features](#features)
- [Installation](#installation)
- [Endpoints](#endpoints)
- [License](#license)


## Features

- Parsing CV data from PDF

## Installation

```bash
# 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
```

## Endpoints

The API exposes the following endpoint:

### Parse Resume 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.

#### Request

- **HTTP Method:** POST
- **Content-Type:** `multipart/form-data`
- **Parameter:**
- `resume` (File): The PDF file containing the CV/Resume data to be parsed.

#### Response

- **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.


## License

The API-cv-parser-flask project is open-source and available under the [MIT License](LICENSE).

## Acknowledgements

This project uses the `pyresparser` library by OmkarPathak. You can find the library [here](https://github.com/OmkarPathak/pyresparser).



0 comments on commit a20f7c9

Please sign in to comment.