Upload production/pyproject.toml
Browse files- production/pyproject.toml +47 -0
production/pyproject.toml
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["hatchling"]
|
| 3 |
+
build-backend = "hatchling.build"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "ml-intern"
|
| 7 |
+
version = "1.0.0"
|
| 8 |
+
description = "Production-grade ml-intern with MLX, NIM, and Cloudflare fallback"
|
| 9 |
+
requires-python = ">=3.11"
|
| 10 |
+
dependencies = [
|
| 11 |
+
"fastapi>=0.115.0",
|
| 12 |
+
"uvicorn[standard]>=0.32.0",
|
| 13 |
+
"pydantic>=2.12.3",
|
| 14 |
+
"redis>=5.0.0",
|
| 15 |
+
"asyncpg>=0.30.0",
|
| 16 |
+
"prometheus-client>=0.21.0",
|
| 17 |
+
"httpx>=0.27.0",
|
| 18 |
+
"tenacity>=9.0.0",
|
| 19 |
+
"structlog>=24.4.0",
|
| 20 |
+
"python-dotenv>=1.2.1",
|
| 21 |
+
"python-multipart>=0.0.9",
|
| 22 |
+
]
|
| 23 |
+
|
| 24 |
+
[project.optional-dependencies]
|
| 25 |
+
mlx = [
|
| 26 |
+
"mlx-lm>=0.21.0",
|
| 27 |
+
"mlx>=0.22.0",
|
| 28 |
+
]
|
| 29 |
+
dev = [
|
| 30 |
+
"pytest>=8.3.0",
|
| 31 |
+
"pytest-asyncio>=0.24.0",
|
| 32 |
+
"locust>=2.32.0",
|
| 33 |
+
"httpx>=0.27.0",
|
| 34 |
+
]
|
| 35 |
+
|
| 36 |
+
[tool.uv]
|
| 37 |
+
default-groups = []
|
| 38 |
+
|
| 39 |
+
[tool.uv.pip]
|
| 40 |
+
python-version = "3.11"
|
| 41 |
+
|
| 42 |
+
[tool.hatch.build.targets.wheel]
|
| 43 |
+
packages = ["production"]
|
| 44 |
+
|
| 45 |
+
[tool.pytest.ini_options]
|
| 46 |
+
asyncio_mode = "auto"
|
| 47 |
+
testpaths = ["tests"]
|