mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-06-17 23:09:35 +00:00
Railway container crashes with 'No module named aiosqlite' because database.py falls back to SQLite when DATABASE_URL env var is not found. Adding aiosqlite as dependency fixes the import. https://claude.ai/code/session_01W1rJthWDkasijTdXCfxVHs
87 lines
3.0 KiB
Plaintext
87 lines
3.0 KiB
Plaintext
# === Core Framework ===
|
|
fastapi==0.115.5
|
|
uvicorn[standard]==0.32.1
|
|
pydantic>=2.10.0,<3
|
|
pydantic-settings>=2.10.1,<3
|
|
pydantic-extra-types[phonenumbers]>=2.0.0 # Saudi phone validation (+966)
|
|
python-multipart==0.0.12
|
|
|
|
# === Database ===
|
|
sqlalchemy==2.0.36
|
|
asyncpg==0.30.0
|
|
psycopg2-binary==2.9.10
|
|
alembic==1.14.0
|
|
pgvector==0.3.6
|
|
|
|
# === AI / LLM Providers ===
|
|
litellm>=1.74.0,<2 # httpx>=0.28 compatible (older litellm capped httpx<0.28)
|
|
instructor>=1.14.0 # Structured LLM outputs via Pydantic models
|
|
groq==0.12.0
|
|
openai>=2.8.0,<3 # litellm 1.8x+ requires openai>=2.8; mem0ai 1.x supports it
|
|
langchain==0.3.28
|
|
langchain-groq==0.2.1
|
|
langchain-community==0.3.28
|
|
langchain-anthropic==0.2.0
|
|
langgraph==0.2.53
|
|
crewai>=0.95.0,<1 # aligns with litellm/langchain stack; 0.80 pulled incompatible crewai-tools
|
|
mem0ai>=1.0.0,<2 # 0.1.x capped openai<2; incompatible with current litellm
|
|
|
|
# === Arabic NLP ===
|
|
camel-tools>=1.5.0 # Arabic morphology, NER, dialect detection (NYU Abu Dhabi)
|
|
pyarabic>=0.6.15 # Arabic text normalization, diacritics removal
|
|
|
|
# === WhatsApp Business API ===
|
|
pywa>=3.0.0 # Direct WhatsApp Cloud API (async, webhooks, templates)
|
|
twilio==9.3.7 # Twilio fallback
|
|
|
|
# === Communication ===
|
|
httpx>=0.28.1,<0.29.0
|
|
resend>=2.0.0 # Transactional email API (free tier, FastAPI-native)
|
|
|
|
# === Saudi-specific ===
|
|
hijridate>=2.4.0 # Hijri-Gregorian calendar (Umm al-Qura, official Saudi)
|
|
phonenumbers>=8.13.0 # Saudi phone number validation and formatting
|
|
|
|
# === PDF Generation (Arabic RTL) ===
|
|
weasyprint>=60.0 # HTML/CSS to PDF with Arabic RTL support
|
|
|
|
# === Security ===
|
|
PyJWT[crypto]>=2.8.0 # JWT (replaces abandoned python-jose)
|
|
passlib[bcrypt]==1.7.4
|
|
bcrypt>=4.0.1,<5
|
|
slowapi>=0.1.9 # API rate limiting with Redis backend
|
|
|
|
# === Caching & Performance ===
|
|
redis==5.2.0
|
|
fastapi-cache2>=0.2.1 # Response caching with Redis backend
|
|
celery-redbeat>=2.2.0 # Dynamic Celery Beat scheduler (Redis-backed)
|
|
|
|
# === Monitoring & Logging ===
|
|
sentry-sdk[fastapi]>=2.0.0 # Error tracking + performance monitoring
|
|
prometheus-fastapi-instrumentator>=7.0.0 # Prometheus metrics
|
|
structlog>=24.0.0 # Structured JSON logging with tenant context
|
|
|
|
# === Testing ===
|
|
pytest==8.3.4
|
|
pytest-asyncio==0.24.0 # Async test support — pinned for CI stability
|
|
pytest-cov==5.0.0 # Coverage reporting — pinned for stability
|
|
factory-boy>=3.3.0 # Test data factories for SQLAlchemy models
|
|
|
|
# === Forecasting ===
|
|
statsforecast>=1.7.0 # Fast statistical time-series forecasting
|
|
|
|
# === Data & Utilities ===
|
|
beautifulsoup4==4.12.3
|
|
lxml==5.3.0
|
|
requests>=2.32.5,<3
|
|
python-dateutil==2.9.0
|
|
pandas==2.2.3
|
|
numpy>=1.26.2,<2 # camel-tools requires numpy<2; langchain needs >=1.26.2 on Py3.12
|
|
python-decouple==3.8
|
|
paramiko==3.5.0
|
|
qrcode==8.0
|
|
Pillow==11.0.0
|
|
xmltodict==0.14.2
|
|
email-validator>=2.1.0
|
|
aiosqlite>=0.20.0
|