This project is a Resume Parser API that extracts key information from a resume (PDF file) uploaded by the user. The backend is built using Django and Django Rest Framework (DRF), with the ability to process and extract text from resumes using various libraries such as PyMuPDF, pdfplumber, and PyPDF2. The extracted data is then parsed and structured into a JSON response.
- Extract text from resumes in PDF format.
- Parse the text to extract important details like personal information, skills, education, and work experience.
- Return the extracted data as a structured JSON response.
- pdfplumber and PyPDF2 are used for resume text extraction, while PyMuPDF extracts the links from the pdf files.
Follow the steps below to set up and run the project on your local machine.
Ensure Docker is installed and running on your system. You can follow the official Docker installation guide for your platform.
Clone the repository to your local machine:
git clone <repository-url>
cd <repository-directory>Create a .env file in the root directory of the project to store sensitive environment variables API_KEY.
Note: Use gemini 1.5 flash API KEY
Build and run the Docker container by executing the following commands:
# Build the Docker image
docker build -t resume-parse-api .
# Run the Docker container
docker run -d -p 8000:8000 --env-file .env resume-parse-api- Open Postman or any API testing tool.
- Set the request type to
POST. - Enter the URL
http://localhost:8000/in the request URL. - Select the' form-data' option in the Body section.
- Add a field named
resumewith the typefile. - Upload the resume (PDF) file to test the API.