CoolFace
Apppublic

lcamara/deployMLModel

sourceHugging Faceupdated 5mo agoView on Hugging Face
0likes
pyproject.toml67 linesDownload Raw Back to root
1[build-system]2requires = ["hatchling"]3build-backend = "hatchling.build"4 5[project]6name = "deployez-un-modele-de-machine-learning"7version = "0.1.0"8description = "Déploiement d'un modèle de Machine Learning via une API FastAPI, PostgreSQL et CI/CD."9readme = "README.md"10requires-python = ">=3.10"11authors = [{ name = "Lamine Camara" }]12 13dependencies = [14    # API15    "fastapi>=0.115,<1.0",16    "uvicorn[standard]>=0.32,<1.0",17    "pydantic>=2.9,<3.0",18    "pydantic-settings>=2.5,<3.0",19    # ML20    "scikit-learn>=1.5,<2.0",21    "catboost>=1.2,<2.0",22    "joblib>=1.4,<2.0",23    "numpy>=1.26,<3.0",24    "pandas>=2.1,<3.0",25    # Database26    "sqlalchemy>=2.0,<3.0",27    "psycopg[binary]>=3.2,<4.0",28]29 30[project.optional-dependencies]31dev = [32    "pytest>=8.3,<9.0",33    "pytest-cov>=5.0,<6.0",34    "httpx>=0.27,<1.0",35    "ruff>=0.6,<1.0",36]37docs = [38    "mkdocs>=1.6,<2.0",39    "mkdocs-material>=9.5,<10.0",40]41 42[tool.hatch.build.targets.wheel]43packages = ["app"]44 45[tool.pytest.ini_options]46testpaths = ["tests"]47addopts = "-ra -q --strict-markers"48pythonpath = ["."]49 50[tool.coverage.run]51source = ["app"]52branch = true53 54[tool.coverage.report]55show_missing = true56skip_covered = false57 58[tool.ruff]59line-length = 10060target-version = "py310"61 62[tool.ruff.lint]63select = ["E", "F", "I", "UP", "B", "SIM"]64 65[tool.ruff.lint.per-file-ignores]66"app/routers/*.py" = ["B008"]  # Depends() / Query() in function defaults is standard FastAPI67