| [build-system] | |
| requires = ["hatchling"] | |
| build-backend = "hatchling.build" | |
| [project] | |
| name = "ml-intern" | |
| version = "1.0.0" | |
| description = "Production-grade ml-intern with MLX, NIM, and Cloudflare fallback" | |
| requires-python = ">=3.11" | |
| dependencies = [ | |
| "fastapi>=0.115.0", | |
| "uvicorn[standard]>=0.32.0", | |
| "pydantic>=2.12.3", | |
| "redis>=5.0.0", | |
| "asyncpg>=0.30.0", | |
| "prometheus-client>=0.21.0", | |
| "httpx>=0.27.0", | |
| "tenacity>=9.0.0", | |
| "structlog>=24.4.0", | |
| "python-dotenv>=1.2.1", | |
| "python-multipart>=0.0.9", | |
| ] | |
| [project.optional-dependencies] | |
| mlx = [ | |
| "mlx-lm>=0.21.0", | |
| "mlx>=0.22.0", | |
| ] | |
| dev = [ | |
| "pytest>=8.3.0", | |
| "pytest-asyncio>=0.24.0", | |
| "locust>=2.32.0", | |
| "httpx>=0.27.0", | |
| ] | |
| [tool.uv] | |
| default-groups = [] | |
| [tool.uv.pip] | |
| python-version = "3.11" | |
| [tool.hatch.build.targets.wheel] | |
| packages = ["production"] | |
| [tool.pytest.ini_options] | |
| asyncio_mode = "auto" | |
| testpaths = ["tests"] | |