first pass

This commit is contained in:
Abel Luck 2023-11-05 20:16:47 +01:00
parent 4691310e22
commit 5150e8ddd4
11 changed files with 2484 additions and 0 deletions

46
pyproject.toml Normal file
View file

@ -0,0 +1,46 @@
[tool.poetry]
name = "tailscalesd"
version = "0.1.0"
description = ""
authors = ["Abel Luck <abel@guardianproject.info>"]
include = ["LICENSE.MD"]
exclude = ["tests"]
readme = "README.md"
homepage = "https://gitlab.com/guardianproject-ops/py-tailscalesd"
repository = "https://gitlab.com/guardianproject-ops/py-tailscalesd"
packages = [
{ include = "tailscalesd"}
]
[tool.poetry.scripts]
tailscalesd = "tailscalesd.main:main"
[tool.poetry.dependencies]
python = "^3.11"
tailscale = "^0.6.0"
fastapi = "^0.104.1"
uvicorn = "^0.24.0"
httpx = "^0.25.1"
pydantic-settings = "^2.0.3"
[tool.poetry.dev-dependencies]
pytest = "*"
pytest-asyncio = "*"
flake8 = "*"
black = "*"
bandit = "*"
isort = "*"
mypy = "^1.2.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
py_version = 310
profile = "black"
src_paths = ["gm", "tests"]
[tool.black]
line-length = 88
target-version = ['py310']