Files
esp32-web/pyproject.toml
user 5672c0c22e feat: OpenAPI 3.0 spec with Swagger UI
- GET /openapi.yaml: raw OpenAPI spec
- GET /openapi.json: JSON-formatted spec
- GET /docs: Swagger UI for interactive API docs
- 19 endpoints documented with schemas
- Added pyyaml dependency
2026-02-05 21:30:09 +01:00

43 lines
774 B
TOML

[project]
name = "esp32-web"
version = "0.1.3"
description = "REST API backend for ESP32 sensor fleet"
requires-python = ">=3.11"
dependencies = [
"flask>=3.0",
"flask-sqlalchemy>=3.1",
"flask-migrate>=4.0",
"flask-cors>=4.0",
"gunicorn>=21.0",
"python-dotenv>=1.0",
"pyyaml>=6.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-cov>=4.0",
"ruff>=0.1",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project.scripts]
esp32-web = "esp32_web.cli:cli"
[tool.setuptools.packages.find]
where = ["src"]
[tool.ruff]
line-length = 100
target-version = "py311"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]