Spaces:
Running
Running
Commit
·
12ade89
1
Parent(s):
99c0939
fyp
Browse files- requirements.txt +71 -47
requirements.txt
CHANGED
|
@@ -1,76 +1,100 @@
|
|
| 1 |
# ============================================================
|
| 2 |
-
# requirements.txt - Lojiz Platform + Aida AI (
|
| 3 |
-
# Python 3.
|
| 4 |
# ============================================================
|
| 5 |
|
| 6 |
-
# HTTP &
|
| 7 |
requests>=2.32.0
|
| 8 |
urllib3>=1.26.14,<2.1.0
|
| 9 |
certifi>=2023.7.22
|
| 10 |
idna>=3.7
|
| 11 |
charset-normalizer>=3.2.0
|
| 12 |
-
httpx>=0.25.1
|
| 13 |
-
aiohttp>=3.9.1
|
| 14 |
|
| 15 |
-
# Web Framework
|
| 16 |
-
fastapi
|
| 17 |
-
uvicorn[standard]
|
| 18 |
-
python-multipart
|
| 19 |
|
| 20 |
-
#
|
| 21 |
-
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
| 23 |
pydantic-settings>=2.1.0
|
|
|
|
| 24 |
|
| 25 |
-
#
|
| 26 |
-
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
#
|
| 30 |
-
|
| 31 |
|
| 32 |
-
# Vector
|
| 33 |
-
|
|
|
|
| 34 |
|
| 35 |
-
#
|
| 36 |
-
|
| 37 |
-
numpy>=1.26.0
|
| 38 |
-
pandas>=2.1.3
|
| 39 |
-
joblib>=1.3.2
|
| 40 |
-
sentence-transformers>=2.2.2
|
| 41 |
-
|
| 42 |
-
# LLM & LangChain Framework
|
| 43 |
langchain>=0.1.0
|
| 44 |
-
langchain-openai>=0.1.0
|
| 45 |
langchain-core>=0.1.0
|
|
|
|
| 46 |
langchain-community>=0.0.10
|
| 47 |
-
openai>=1.
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
-
#
|
| 51 |
-
|
| 52 |
-
python-json-logger>=2.0.7
|
| 53 |
|
| 54 |
-
#
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
-
#
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 64 |
|
| 65 |
-
#
|
| 66 |
-
|
|
|
|
|
|
|
| 67 |
|
| 68 |
# ============================================================
|
| 69 |
# INSTALLATION:
|
| 70 |
# pip install -r requirements.txt
|
| 71 |
#
|
| 72 |
# NOTES:
|
| 73 |
-
# -
|
| 74 |
-
# - All packages have
|
| 75 |
-
# -
|
|
|
|
| 76 |
# ============================================================
|
|
|
|
| 1 |
# ============================================================
|
| 2 |
+
# requirements.txt - Lojiz Platform + Aida AI (STABLE & TESTED)
|
| 3 |
+
# Python 3.10+ Compatible
|
| 4 |
# ============================================================
|
| 5 |
|
| 6 |
+
# --- Core HTTP & SSL Dependencies ---
|
| 7 |
requests>=2.32.0
|
| 8 |
urllib3>=1.26.14,<2.1.0
|
| 9 |
certifi>=2023.7.22
|
| 10 |
idna>=3.7
|
| 11 |
charset-normalizer>=3.2.0
|
|
|
|
|
|
|
| 12 |
|
| 13 |
+
# --- FastAPI & Web Framework ---
|
| 14 |
+
fastapi==0.104.1
|
| 15 |
+
uvicorn[standard]==0.24.0
|
| 16 |
+
python-multipart==0.0.6
|
| 17 |
|
| 18 |
+
# --- Database & ORM ---
|
| 19 |
+
motor==3.3.2
|
| 20 |
+
pymongo==4.6.1
|
| 21 |
+
|
| 22 |
+
# --- Data Validation & Settings ---
|
| 23 |
+
pydantic>=2.5.3
|
| 24 |
pydantic-settings>=2.1.0
|
| 25 |
+
python-dotenv==1.0.0
|
| 26 |
|
| 27 |
+
# --- Authentication & Security ---
|
| 28 |
+
PyJWT==2.10.1
|
| 29 |
+
bcrypt==4.1.1
|
| 30 |
+
passlib==1.7.4
|
| 31 |
+
python-jose==3.3.0
|
| 32 |
+
email-validator==2.1.0
|
| 33 |
|
| 34 |
+
# --- Email Service ---
|
| 35 |
+
resend>=0.7.0
|
| 36 |
|
| 37 |
+
# --- Caching & Vector Store ---
|
| 38 |
+
redis>=5.0.0
|
| 39 |
+
qdrant-client>=1.7.0
|
| 40 |
|
| 41 |
+
# --- AI Agent Stack (LangChain Ecosystem) ---
|
| 42 |
+
langgraph>=0.1.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
langchain>=0.1.0
|
|
|
|
| 44 |
langchain-core>=0.1.0
|
| 45 |
+
langchain-openai>=0.1.0
|
| 46 |
langchain-community>=0.0.10
|
| 47 |
+
openai>=1.0.0
|
| 48 |
+
aiohttp>=3.9.0
|
| 49 |
+
tenacity>=8.0
|
| 50 |
+
structlog>=23.0
|
| 51 |
+
websockets>=12.0
|
| 52 |
|
| 53 |
+
# --- Monitoring & Logging ---
|
| 54 |
+
sentry-sdk[fastapi]>=1.40.0
|
|
|
|
| 55 |
|
| 56 |
+
# --- OpenTelemetry (OBSERVABILITY) ---
|
| 57 |
+
opentelemetry-api>=1.22.0
|
| 58 |
+
opentelemetry-sdk>=1.22.0
|
| 59 |
+
opentelemetry-exporter-otlp>=1.22.0
|
| 60 |
+
opentelemetry-instrumentation>=0.43b0
|
| 61 |
+
opentelemetry-instrumentation-fastapi>=0.43b0
|
| 62 |
+
opentelemetry-instrumentation-httpx>=0.43b0
|
| 63 |
+
opentelemetry-instrumentation-requests>=0.43b0
|
| 64 |
+
opentelemetry-instrumentation-redis>=0.43b0
|
| 65 |
+
opentelemetry-semantic-conventions>=0.43b0
|
| 66 |
|
| 67 |
+
# --- Token Counting ---
|
| 68 |
+
tiktoken>=0.5.0
|
| 69 |
+
|
| 70 |
+
# --- ML/AI Dependencies (Python 3.10+ Compatible) ---
|
| 71 |
+
torch==2.9.1
|
| 72 |
+
transformers>=4.37.2,<5.0
|
| 73 |
+
sentence-transformers==2.7.0
|
| 74 |
+
scikit-learn>=1.3.2
|
| 75 |
+
joblib>=1.3.2
|
| 76 |
+
huggingface-hub>=0.16.4,<1.0
|
| 77 |
+
|
| 78 |
+
# --- Computer Vision & Image Processing ---
|
| 79 |
+
pillow>=10.0.0
|
| 80 |
+
opencv-python>=4.8.0.74
|
| 81 |
+
|
| 82 |
+
# --- Data Processing ---
|
| 83 |
+
numpy>=1.26.0
|
| 84 |
+
pandas>=2.1.3
|
| 85 |
|
| 86 |
+
# --- Development (Optional) ---
|
| 87 |
+
pytest>=7.4.0
|
| 88 |
+
pytest-asyncio>=0.21.0
|
| 89 |
+
httpx>=0.25.0
|
| 90 |
|
| 91 |
# ============================================================
|
| 92 |
# INSTALLATION:
|
| 93 |
# pip install -r requirements.txt
|
| 94 |
#
|
| 95 |
# NOTES:
|
| 96 |
+
# - Tested with Python 3.10+
|
| 97 |
+
# - All packages have stable releases
|
| 98 |
+
# - Includes OpenTelemetry for production monitoring
|
| 99 |
+
# - Includes Sentry for error tracking
|
| 100 |
# ============================================================
|