2023-11-27 07:08:32 +00:00
|
|
|
[project]
|
2023-03-31 05:38:51 +00:00
|
|
|
name = "PaiGram"
|
2023-04-03 07:42:46 +00:00
|
|
|
version = "0.4.0"
|
2022-09-02 16:48:30 +00:00
|
|
|
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"
|
|
|
|
|
2023-11-27 07:08:32 +00:00
|
|
|
dependencies = [
|
|
|
|
"python^3.8",
|
|
|
|
"httpx^0.24.0",
|
|
|
|
"ujson^5.8.0",
|
|
|
|
"Jinja2^3.1.2",
|
|
|
|
"python-telegram-bot{version='^20.5', extras=['ext', 'rate-limiter']}",
|
|
|
|
"sqlmodel^0.0.12",
|
|
|
|
"colorlog^6.7.0",
|
|
|
|
"fakeredis^2.19.0",
|
|
|
|
"redis^5.0.1",
|
|
|
|
"beautifulsoup4^4.12.1",
|
|
|
|
"asyncmy^0.2.7",
|
|
|
|
"aiofiles^23.2.1",
|
|
|
|
"python-dotenv^1.0.0",
|
|
|
|
"alembic^1.12.0",
|
|
|
|
"black^23.9.1",
|
|
|
|
"rich^13.6.0",
|
|
|
|
"enkanetwork-py{git='https://github.com/mrwan200/EnkaNetwork.py'}",
|
|
|
|
"TgCrypto^1.2.5",
|
|
|
|
"Pyrogram^2.0.102",
|
|
|
|
"lxml^4.9.2",
|
|
|
|
"arko-wrapper^0.2.8",
|
|
|
|
"fastapi^0.100.0",
|
|
|
|
"uvicorn{extras=['standard'], version='^0.24.0'}",
|
|
|
|
"sentry-sdk^1.31.0",
|
|
|
|
"GitPython^3.1.30",
|
|
|
|
"openpyxl^3.1.1",
|
|
|
|
"async-lru^2.0.4",
|
|
|
|
"thefuzz^0.20.0",
|
|
|
|
"qrcode^7.4.2",
|
|
|
|
"cryptography^41.0.4",
|
|
|
|
"pillow^10.0.1",
|
|
|
|
"playwright^1.28.0",
|
|
|
|
"simnet{git='https://github.com/PaiGramTeam/SIMNet'}",
|
|
|
|
]
|
2022-09-02 16:48:30 +00:00
|
|
|
|
2023-11-27 07:08:32 +00:00
|
|
|
[project.optional-dependencies]
|
|
|
|
pyro = ["Pyrogram^2.0.102", "TgCrypto^1.2.5"]
|
|
|
|
sqlite = ["aiosqlite{extras=['sqlite'], version='^0.19.0'}"]
|
|
|
|
genshin-artifact = ["python-genshin-artifact>1.0.4"]
|
|
|
|
|
|
|
|
[project.dev-dependencies]
|
|
|
|
test = ["pytest^7.3.0", "pytest-asyncio^0.21.0", "flaky^3.7.0"]
|
2022-09-12 15:18:11 +00:00
|
|
|
|
2022-10-08 15:03:11 +00:00
|
|
|
[build-system]
|
2023-11-27 07:08:32 +00:00
|
|
|
requires = ["pdm-pep517"]
|
|
|
|
build-backend = "pdm.pep517.api"
|
2022-10-08 15:03:11 +00:00
|
|
|
|
|
|
|
# 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
|
2023-03-21 03:15:47 +00:00
|
|
|
target-version = ['py311']
|