Server: basic implementation. Not tested => no python installed; bugfix in ESP (uvicorn on port 8090)

This commit is contained in:
Thomas Karner committed 2026-09-20 23:49:40 +02:00
1 parent 3694cdf207
commit 8a51e3d95e
38 files changed
+2442 -21

No files matched your search

+45
View File
@@ -0,0 +1,45 @@
[project]
name = "poorbird"
version = "0.1.0"
description = "poorBird server — ingest, gallery and device management for a radar-triggered bird camera"
requires-python = ">=3.11"
dependencies = [
"fastapi>=0.115",
"uvicorn[standard]>=0.32",
"pydantic>=2.9",
"pydantic-settings>=2.6",
"sqlalchemy>=2.0.36",
"psycopg[binary]>=3.2",
"alembic>=1.14",
"apscheduler>=3.11,<4",
]
[project.optional-dependencies]
dev = [
"pytest>=8.3",
"httpx>=0.28",
"ruff>=0.8",
]
[project.scripts]
poorbird = "poorbird.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/poorbird"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = [
"db: integration test, needs a reachable PostgreSQL (deselect with -m 'not db')",
]
[tool.ruff]
line-length = 100
src = ["src"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B"]