# ============================================================================= # requirements.txt # Phishing URL Detection — inference scripts + FastAPI server # Tested with Python 3.10 # ============================================================================= # ── Machine Learning ────────────────────────────────────────────────────── scikit-learn==1.1.2 # DecisionTree, LogisticRegression + joblib integration lightgbm>=4.0.0 # LightGBM model joblib>=1.3.0 # Model serialization / deserialization # ── Data ────────────────────────────────────────────────────────────────── pandas>=2.0.0 # DataFrame construction for feature vectors numpy>=1.24.0 # Underlying array operations (transitive dep, pinned for stability) # ── API Framework ───────────────────────────────────────────────────────── fastapi>=0.111.0 # Web framework uvicorn[standard]>=0.29.0 # ASGI server (includes httptools + uvloop for performance) pydantic>=2.0.0 # Request/response validation (FastAPI v2 uses Pydantic v2) python-dotenv>=1.0.0 # .env file loading (API_KEYS) wsgiproxy2>=0.4.6 a2wsgi>=1.10.0 # ── System / Profiling (used by original inference scripts) ─────────────── psutil>=5.9.0 # Memory profiling in original scripts