read map from config file

This commit is contained in:
quantulr
2024-01-30 17:25:58 +08:00
parent 4e62811f16
commit fca55c5cb8
12 changed files with 46 additions and 114 deletions

View File

@ -6,10 +6,11 @@ authors = ["quantulr <35954003+quantulr@users.noreply.github.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.12"
python = ">=3.11"
fastapi = { extras = ["all"], version = "^0.109.0" }
redis = "^5.0.1"
requests = "^2.31.0"
pyyaml = "^6.0.1"
[build-system]
@ -18,4 +19,5 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
hik-push = 'hik_push.main:run_app'
hik-sub = 'hik_push.main:run_app'
hik-push = 'hik_push.read_event:run_app'