2022-09-02 16:48:30 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "tgpaimonbot"
|
|
|
|
version = "0.3.0"
|
|
|
|
description = "Telegarm robot, query the official genshin information."
|
2022-10-07 13:40:17 +00:00
|
|
|
authors = ["洛水居室", "zhxy-CN", "Chuangbo Li", "kotoriのねこ", "omg-xtao", "艾迪", "Karako", "SiHuaN"]
|
2022-09-02 16:48:30 +00:00
|
|
|
license = "AGPL-3.0"
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.8"
|
2023-01-04 12:26:33 +00:00
|
|
|
httpx= "^0.23.3"
|
2022-12-05 05:01:25 +00:00
|
|
|
ujson = "^5.6.0"
|
2022-09-02 16:48:30 +00:00
|
|
|
genshin = { git = "https://github.com/thesadru/genshin.py" }
|
|
|
|
Jinja2 = "^3.1.2"
|
2023-01-02 13:05:35 +00:00
|
|
|
python-telegram-bot = { version = "^20.0", extras = ["ext", "rate-limiter"] }
|
2023-01-03 10:13:01 +00:00
|
|
|
Pillow = "^9.4.0"
|
2022-09-02 16:48:30 +00:00
|
|
|
sqlmodel = "^0.0.8"
|
|
|
|
colorlog = "^6.7.0"
|
2022-09-22 02:37:02 +00:00
|
|
|
playwright = "^1.26.0"
|
2022-12-07 00:37:33 +00:00
|
|
|
fakeredis = "^2.2.0"
|
2022-09-02 16:48:30 +00:00
|
|
|
beautifulsoup4 = "^4.11.1"
|
|
|
|
asyncmy = "^0.2.5"
|
|
|
|
pyppeteer = "^1.0.2"
|
2022-09-13 11:41:58 +00:00
|
|
|
aiofiles = "^22.1.0"
|
2022-09-13 11:23:31 +00:00
|
|
|
python-dotenv = "^0.21.0"
|
2022-12-25 08:20:56 +00:00
|
|
|
alembic = "^1.9.0"
|
2022-12-15 10:23:57 +00:00
|
|
|
black = "^22.12.0"
|
2023-01-02 12:10:20 +00:00
|
|
|
rich = "^13.0.0"
|
2022-09-11 07:08:02 +00:00
|
|
|
enkanetwork-py = { git = "https://github.com/mrwan200/EnkaNetwork.py" }
|
2022-11-14 11:16:06 +00:00
|
|
|
TgCrypto = { version = "^1.2.5", optional = true }
|
2022-12-16 10:40:23 +00:00
|
|
|
Pyrogram = { version = "^2.0.70", optional = true }
|
2022-10-25 11:19:33 +00:00
|
|
|
pytest = { version = "^7.2.0", optional = true }
|
2022-12-15 11:03:38 +00:00
|
|
|
pytest-asyncio = { version = "^0.20.3", optional = true }
|
2022-09-12 15:18:11 +00:00
|
|
|
flaky = { version = "^3.7.0", optional = true }
|
2022-12-15 10:30:29 +00:00
|
|
|
lxml = "^4.9.2"
|
2023-01-05 10:22:19 +00:00
|
|
|
arko-wrapper = "^0.2.5"
|
2022-11-28 11:59:13 +00:00
|
|
|
fastapi = "^0.88.0"
|
2022-10-23 03:03:19 +00:00
|
|
|
uvicorn = {extras = ["standard"], version = "^0.19.0"}
|
2022-12-25 11:26:20 +00:00
|
|
|
sentry-sdk = "^1.12.1"
|
2022-12-29 11:01:47 +00:00
|
|
|
GitPython = "^3.1.30"
|
2022-10-20 07:48:40 +00:00
|
|
|
openpyxl = "^3.0.10"
|
2022-12-04 11:56:39 +00:00
|
|
|
async-lru = "^1.0.3"
|
|
|
|
thefuzz = "^0.19.0"
|
2022-12-23 13:06:08 +00:00
|
|
|
qrcode = "^7.3.1"
|
2022-09-02 16:48:30 +00:00
|
|
|
|
2022-09-11 07:08:02 +00:00
|
|
|
[tool.poetry.extras]
|
|
|
|
pyro = ["Pyrogram", "TgCrypto"]
|
2022-09-12 15:18:11 +00:00
|
|
|
test = ["pytest", "pytest-asyncio", "flaky"]
|
2022-09-14 02:06:43 +00:00
|
|
|
all = ["pytest", "pytest-asyncio", "flaky", "Pyrogram", "TgCrypto"]
|
2022-09-12 15:18:11 +00:00
|
|
|
|
2022-10-08 15:03:11 +00:00
|
|
|
[build-system]
|
|
|
|
requires = ["poetry-core"]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
# pytest配置
|
2022-09-12 15:18:11 +00:00
|
|
|
[tool.pytest.ini_options]
|
|
|
|
asyncio_mode = "auto"
|
|
|
|
log_cli = true
|
|
|
|
log_cli_level = "INFO"
|
|
|
|
log_cli_format = "%(message)s"
|
|
|
|
log_cli_date_format = "%Y-%m-%d %H:%M:%S"
|
2022-09-02 16:48:30 +00:00
|
|
|
|
2022-10-08 15:03:11 +00:00
|
|
|
# 格式配置
|
|
|
|
[tool.black]
|
|
|
|
include = '\.pyi?$'
|
|
|
|
line-length = 120
|
|
|
|
target-version = ['py38', 'py39', 'py310']
|