feat: split to weather and gismeteo modules

This commit is contained in:
2024-07-26 11:02:01 +03:00
parent c9e52c43a9
commit 848b6bd9ba
28 changed files with 157 additions and 108 deletions

View File

@@ -1,16 +1,17 @@
[tool.poetry]
name = "gismeteo-api"
name = "weather"
version = "0.1.0"
description = ""
authors = ["shmyga <shmyga.z@gmail.com>"]
readme = "README.md"
packages = [{ include = "gismeteo" }]
packages = [{ include = "weather" }, { include = "gismeteo" }]
[tool.poetry.dependencies]
python = "^3.12"
aiohttp = "^3.9.5"
beautifulsoup4 = "^4.12.3"
dateparser = "^1.2.0"
pydantic = "^2.8.2"
[tool.poetry.group.app.dependencies]
fastapi = "^0.111.1"
@@ -30,7 +31,7 @@ requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
app = 'gismeteo.app:run'
app = 'weather.app:run'
[tool.pytest.ini_options]
addopts = "-p no:warnings"