2022-09-02 16:48:30 +00:00
|
|
|
[tool.poetry]
|
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"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
python = "^3.8"
|
2023-12-15 14:05:12 +00:00
|
|
|
httpx = "^0.25.0"
|
2023-12-15 14:41:36 +00:00
|
|
|
ujson = "^5.9.0"
|
2022-09-02 16:48:30 +00:00
|
|
|
Jinja2 = "^3.1.2"
|
2023-12-15 14:04:18 +00:00
|
|
|
python-telegram-bot = { version = "^20.7", extras = ["ext", "rate-limiter"] }
|
2023-12-05 14:45:15 +00:00
|
|
|
sqlmodel = "^0.0.14"
|
2023-12-15 14:44:03 +00:00
|
|
|
colorlog = "^6.8.0"
|
2023-10-02 09:51:56 +00:00
|
|
|
fakeredis = "^2.19.0"
|
2023-09-30 02:49:25 +00:00
|
|
|
redis = "^5.0.1"
|
2023-04-06 11:24:13 +00:00
|
|
|
beautifulsoup4 = "^4.12.1"
|
2023-12-15 14:45:26 +00:00
|
|
|
asyncmy = "^0.2.9"
|
2023-08-15 14:09:29 +00:00
|
|
|
aiofiles = "^23.2.1"
|
2023-03-07 13:29:24 +00:00
|
|
|
python-dotenv = "^1.0.0"
|
2023-12-15 14:46:03 +00:00
|
|
|
alembic = "^1.13.0"
|
2024-02-12 01:56:55 +00:00
|
|
|
black = "^24.1.1"
|
2023-10-09 08:52:14 +00:00
|
|
|
rich = "^13.6.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 }
|
2023-03-14 12:29:33 +00:00
|
|
|
Pyrogram = { version = "^2.0.102", optional = true }
|
2023-04-14 14:00:27 +00:00
|
|
|
pytest = { version = "^7.3.0", optional = true }
|
2023-12-05 02:16:00 +00:00
|
|
|
pytest-asyncio = { version = "^0.23.2", optional = true }
|
2022-09-12 15:18:11 +00:00
|
|
|
flaky = { version = "^3.7.0", optional = true }
|
2024-01-01 10:41:21 +00:00
|
|
|
lxml = "^5.0.0"
|
2023-03-08 11:25:19 +00:00
|
|
|
arko-wrapper = "^0.2.8"
|
2024-01-16 15:05:00 +00:00
|
|
|
fastapi = "^0.109.0"
|
2024-01-23 10:45:36 +00:00
|
|
|
uvicorn = { extras = ["standard"], version = "^0.27.0" }
|
2023-09-15 15:56:53 +00:00
|
|
|
sentry-sdk = "^1.31.0"
|
2022-12-29 11:01:47 +00:00
|
|
|
GitPython = "^3.1.30"
|
2023-02-15 09:44:59 +00:00
|
|
|
openpyxl = "^3.1.1"
|
2023-07-28 17:14:19 +00:00
|
|
|
async-lru = "^2.0.4"
|
2023-08-21 13:27:49 +00:00
|
|
|
thefuzz = "^0.20.0"
|
2024-02-12 01:56:15 +00:00
|
|
|
cryptography = "^42.0.2"
|
2023-09-21 09:12:42 +00:00
|
|
|
pillow = "^10.0.1"
|
2023-12-16 11:28:02 +00:00
|
|
|
playwright = "1.39.0"
|
2023-04-17 15:11:44 +00:00
|
|
|
aiosqlite = { extras = ["sqlite"], version = "^0.19.0" }
|
2023-07-18 09:29:31 +00:00
|
|
|
simnet = { git = "https://github.com/PaiGramTeam/SIMNet" }
|
2023-12-03 06:33:29 +00:00
|
|
|
gcsim-pypi = "^2.8.2.10"
|
2023-12-15 14:10:11 +00:00
|
|
|
python-genshin-artifact = { version = "^1.0.4", optional = true }
|
2023-12-16 08:41:57 +00:00
|
|
|
psutil = "^5.9.6"
|
2022-09-02 16:48:30 +00:00
|
|
|
|
2022-09-11 07:08:02 +00:00
|
|
|
[tool.poetry.extras]
|
2023-12-15 14:10:11 +00:00
|
|
|
genshin-artifact = ["python-genshin-artifact"]
|
2022-09-11 07:08:02 +00:00
|
|
|
pyro = ["Pyrogram", "TgCrypto"]
|
2022-09-12 15:18:11 +00:00
|
|
|
test = ["pytest", "pytest-asyncio", "flaky"]
|
2023-03-25 03:17:38 +00:00
|
|
|
sqlite = ["aiosqlite"]
|
2023-12-15 14:10:11 +00:00
|
|
|
all = ["pytest", "pytest-asyncio", "flaky", "Pyrogram", "TgCrypto", "aiosqlite", "python-genshin-artifact"]
|
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
|
2023-03-21 03:15:47 +00:00
|
|
|
target-version = ['py311']
|