llmopt-server / pyproject.toml
Shrot101's picture
fix(auth): replace bcrypt with argon2-cffi, harden auth routes, add bcrypt migration
fd8dea4
raw
history blame contribute delete
980 Bytes
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "llmopt"
version = "0.1.0"
description = "Adaptive LLM Inference Optimization Framework"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"pydantic",
"litellm",
"fastapi",
"uvicorn",
"cryptography",
"redis",
"gunicorn",
"sqlalchemy",
"passlib[argon2]", # argon2-cffi backend — no bcrypt 72-byte limit
"argon2-cffi", # Argon2id: PHC winner, memory-hard, OWASP recommended
"python-multipart",
"psycopg2-binary",
"PyJWT",
"python-dotenv"
]
[project.optional-dependencies]
ml = ["scikit-learn", "numpy", "pandas", "transformers", "torch", "redis", "sentence-transformers", "llmlingua", "optuna"]
local = ["ollama"]
dev = ["pytest", "black", "isort"]
[project.urls]
Homepage = "https://github.com/example/llmopt"
[tool.setuptools.packages.find]
where = ["."]
include = ["llmopt*"]