Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kemkartanya/pdf-compare
- Owner: kemkartanya
- Created: 2024-12-22T12:20:32.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-22T14:33:00.000Z (about 1 month ago)
- Last Synced: 2024-12-30T13:00:41.394Z (about 1 month ago)
- Topics: fastapi, llamaparse, python
- Language: Python
- Homepage:
- Size: 719 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.gitcd PDF-Compare
python -m venv env
env source/bin/activatepip install -r requirements.txt
python api.py
```
## MethodUsed 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