2026-03-05 15:37:04 +01:00
|
|
|
[project]
|
2023-11-05 20:16:47 +01:00
|
|
|
name = "tailscalesd"
|
|
|
|
|
version = "0.1.0"
|
2023-11-06 09:13:21 +01:00
|
|
|
description = "Discover services to monitor with prometheus over tailscale"
|
2026-03-05 15:37:04 +01:00
|
|
|
authors = [{ name = "Abel Luck", email = "abel@guardianproject.info" }]
|
|
|
|
|
license = { file = "LICENSE.md" }
|
2023-11-05 20:16:47 +01:00
|
|
|
readme = "README.md"
|
2026-03-05 15:37:04 +01:00
|
|
|
requires-python = ">=3.11"
|
|
|
|
|
dependencies = [
|
|
|
|
|
"tailscale>=0.6.0,<0.7.0",
|
|
|
|
|
"fastapi>=0.104.1,<0.105.0",
|
|
|
|
|
"uvicorn>=0.24.0,<0.25.0",
|
|
|
|
|
"httpx>=0.25.1,<0.26.0",
|
|
|
|
|
"pydantic-settings>=2.0.3,<3.0.0",
|
|
|
|
|
"json-logging>=1.3.0,<2.0.0",
|
|
|
|
|
"prometheus-client>=0.18.0,<0.19.0",
|
|
|
|
|
"prometheus-fastapi-instrumentator>=6.1.0,<7.0.0",
|
2023-11-05 20:16:47 +01:00
|
|
|
]
|
|
|
|
|
|
2026-03-05 15:37:04 +01:00
|
|
|
[project.urls]
|
|
|
|
|
Homepage = "https://gitlab.com/guardianproject-ops/tailscalesd"
|
|
|
|
|
Repository = "https://gitlab.com/guardianproject-ops/tailscalesd"
|
2023-11-05 20:16:47 +01:00
|
|
|
|
2026-03-05 15:37:04 +01:00
|
|
|
[project.scripts]
|
|
|
|
|
tailscalesd = "tailscalesd.main:main"
|
2023-11-05 20:16:47 +01:00
|
|
|
|
2026-03-05 15:37:04 +01:00
|
|
|
[dependency-groups]
|
|
|
|
|
dev = [
|
|
|
|
|
"pytest",
|
|
|
|
|
"pytest-asyncio",
|
|
|
|
|
"flake8",
|
|
|
|
|
"black",
|
|
|
|
|
"bandit",
|
|
|
|
|
"isort",
|
|
|
|
|
"mypy>=1.2.0",
|
|
|
|
|
]
|
2023-11-05 20:16:47 +01:00
|
|
|
|
|
|
|
|
[build-system]
|
2026-03-05 15:37:04 +01:00
|
|
|
requires = ["hatchling"]
|
|
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
|
|
|
packages = ["tailscalesd"]
|
2023-11-05 20:16:47 +01:00
|
|
|
|
|
|
|
|
[tool.isort]
|
2026-03-05 15:37:04 +01:00
|
|
|
py_version = 311
|
2023-11-05 20:16:47 +01:00
|
|
|
profile = "black"
|
2026-03-05 15:37:04 +01:00
|
|
|
src_paths = ["tailscalesd", "tests"]
|
2023-11-05 20:16:47 +01:00
|
|
|
|
|
|
|
|
[tool.black]
|
|
|
|
|
line-length = 88
|
2026-03-05 15:37:04 +01:00
|
|
|
target-version = ['py311']
|