- Add compatibility for PyMuPDF versions (fitz and pymupdf imports) - Add fallback support for PyPDF2, pypdf, and pdfplumber - Update requirements.txt with PDF parsing dependencies - Fix 'cannot extract PDF text' error in Docker environment
38 lines
503 B
Plaintext
38 lines
503 B
Plaintext
# Web framework
|
|
Flask==3.0.0
|
|
Flask-CORS==4.0.0
|
|
gunicorn==21.2.0
|
|
gevent==23.9.1
|
|
gevent-websocket==0.10.1
|
|
|
|
# Database
|
|
SQLAlchemy==2.0.23
|
|
Flask-SQLAlchemy==3.1.1
|
|
psycopg2-binary==2.9.9
|
|
alembic==1.13.0
|
|
|
|
# Cache
|
|
redis==5.0.1
|
|
|
|
# Auth
|
|
PyJWT==2.8.0
|
|
bcrypt==4.1.2
|
|
|
|
# HTTP client
|
|
requests==2.31.0
|
|
httpx==0.25.2
|
|
|
|
# Utils
|
|
python-dotenv==1.0.0
|
|
pydantic==2.5.0
|
|
pydantic-settings==2.1.0
|
|
|
|
# Logging
|
|
loguru==0.7.2
|
|
|
|
# PDF parsing (required for PPT extraction)
|
|
PyMuPDF>=1.23.0
|
|
PyPDF2>=3.0.0
|
|
pypdf>=3.0.0
|
|
pdfplumber>=0.9.0
|