From a20f7c97bfc7f6e3c42eaa5ede960eb55209a984 Mon Sep 17 00:00:00 2001 From: Pascal Adnan <44961992+lacsapadnan@users.noreply.github.com> Date: Tue, 1 Aug 2023 08:37:51 +0700 Subject: [PATCH] Create README.md --- README.md | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..185d8ed --- /dev/null +++ b/README.md @@ -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). + + +