Files
PRISM/backend/pyproject.toml
boris.waaubandClaude Opus 5.5 22bddcf202 Initialise le back-end Django de la Phase 1
- Modèles : utilisateur (e-mail comme identifiant, statut, n° INAMI),
  traces d'e-mails, facteurs, sources, classes de seuil, contenus
  validés avec historique et références numérotées ; rôles par groupes.
- Modules de facteur appelés en parallèle (httpx) : bruit et inondation
  Wallonie via WalOnMap, qualité de l'air via irCELine ; Bruxelles et
  radon signalés indisponibles en attendant leurs sources.
- Géocodage Nominatim (Best Address à raccorder), région déduite du
  code postal ; aucune adresse stockée ni journalisée.
- API REST : POST /api/v1/assessments/, GET /api/v1/factors/,
  documentation OpenAPI sur /api/docs/.
- Docker Compose (Python 3.12, PostgreSQL 17, Mailpit), uv, ruff,
  pytest (66 tests, HTTP mocké avec respx), CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 10:40:58 +01:00

51 lines
1.1 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
[project]
name = "prism"
version = "0.1.0"
description = "PRISM – Pollution and Risks Identification System for Medicine (back-end)"
readme = "../README.md"
license = "GPL-3.0-or-later"
requires-python = ">=3.12,<3.13"
dependencies = [
"django~=5.2",
"djangorestframework~=3.16",
"drf-spectacular~=0.28",
"django-environ~=0.12",
"psycopg[binary]~=3.2",
"argon2-cffi~=25.1",
"django-otp~=1.6",
"qrcode~=8.0",
"django-simple-history~=3.8",
"httpx~=0.28",
"gunicorn~=23.0",
]
[dependency-groups]
dev = [
"pytest~=8.3",
"pytest-django~=4.10",
"pytest-asyncio~=0.26",
"respx~=0.22",
"ruff~=0.11",
]
[tool.uv]
package = false
[tool.ruff]
line-length = 100
target-version = "py312"
extend-exclude = ["*/migrations/*"]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "B", "UP", "DJ", "S", "SIM"]
ignore = ["S101"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S105", "S106"]
[tool.pytest.ini_options]
DJANGO_SETTINGS_MODULE = "config.settings"
testpaths = ["tests"]
asyncio_mode = "auto"
asyncio_default_fixture_loop_scope = "function"