Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kemkartanya/pdf-compare

compare pdfs
https://github.com/kemkartanya/pdf-compare

fastapi llamaparse python

Last synced: about 1 month ago
JSON representation

compare pdfs

Awesome Lists containing this project

README

        

# Compare PDFs

compare pdfs versions

## Environment Variables

To run this project, you will need to add the following environment variables to your .env file

`LLAMA_CLOUD_API_KEY`

## Installation

```bash
git clone https://github.com/kemkartanya/PDF-Compare.git

cd PDF-Compare

python -m venv env
env source/bin/activate

pip install -r requirements.txt

python api.py
```

## Method

Used llama-parse for parsing pdfs to markdown

compared markdown files using difflib

return json as diff b/w files

## swagger ui

Swagger UI: http://127.0.0.1:8000/docs