PamGram/pyproject.toml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

72 lines
2.0 KiB
TOML
Raw Normal View History

[tool.poetry]
name = "PamGram"
version = "0.4.0"
description = "Telegarm robot, query the official starrail information."
authors = ["洛水居室", "zhxy-CN", "Chuangbo Li", "kotoriのねこ", "omg-xtao", "艾迪", "Karako", "SiHuaN", "Nahida Buer"]
license = "AGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
2023-12-16 08:41:57 +00:00
httpx = "^0.25.0"
ujson = "^5.9.0"
Jinja2 = "^3.1.2"
2023-12-16 08:41:57 +00:00
python-telegram-bot = { version = "^20.7", extras = ["ext", "rate-limiter"] }
2024-03-15 12:46:16 +00:00
sqlmodel = "^0.0.16"
2023-12-16 08:41:57 +00:00
colorlog = "^6.8.0"
fakeredis = "^2.19.0"
redis = "^5.0.1"
beautifulsoup4 = "^4.12.1"
2023-12-16 08:41:57 +00:00
asyncmy = "^0.2.9"
aiofiles = "^23.2.1"
2023-03-07 13:29:24 +00:00
python-dotenv = "^1.0.0"
2023-12-16 08:41:57 +00:00
alembic = "^1.13.0"
2024-03-15 12:46:16 +00:00
black = "^24.1.1"
rich = "^13.6.0"
TgCrypto = { version = "^1.2.5", optional = true }
2023-03-14 12:29:33 +00:00
Pyrogram = { version = "^2.0.102", optional = true }
pytest = { version = "^7.3.0", optional = true }
2023-12-16 08:41:57 +00:00
pytest-asyncio = { version = "^0.23.2", optional = true }
flaky = { version = "^3.7.0", optional = true }
2024-03-15 12:46:16 +00:00
lxml = "^5.0.0"
arko-wrapper = "^0.2.8"
2024-03-15 12:46:16 +00:00
fastapi = "^0.110.0"
uvicorn = { extras = ["standard"], version = "^0.28.0" }
sentry-sdk = "^1.31.0"
GitPython = "^3.1.30"
2023-02-15 09:44:59 +00:00
openpyxl = "^3.1.1"
async-lru = "^2.0.4"
2024-03-15 12:46:16 +00:00
thefuzz = "^0.22.1"
cryptography = "^42.0.2"
pillow = "^10.0.1"
playwright = "1.39.0"
2024-03-15 12:46:16 +00:00
aiosqlite = { extras = ["sqlite"], version = "^0.20.0" }
simnet = { git = "https://github.com/PaiGramTeam/SIMNet" }
2023-12-16 08:41:57 +00:00
psutil = "^5.9.6"
2024-03-15 12:46:16 +00:00
starrail-damage-cal = "^1.4.2"
starrailrelicscore = {git = "https://github.com/PaiGramTeam/StarRailRelicScore"}
[tool.poetry.extras]
pyro = ["Pyrogram", "TgCrypto"]
test = ["pytest", "pytest-asyncio", "flaky"]
2023-03-25 03:17:38 +00:00
sqlite = ["aiosqlite"]
all = ["pytest", "pytest-asyncio", "flaky", "Pyrogram", "TgCrypto", "aiosqlite"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
# pytest配置
[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"
# 格式配置
[tool.black]
include = '\.pyi?$'
line-length = 120
target-version = ['py311']