PaiGram/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]
2023-03-31 05:38:51 +00:00
name = "PaiGram"
version = "0.4.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"]
license = "AGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8"
httpx = "^0.23.3"
2023-02-15 09:44:59 +00:00
ujson = "^5.7.0"
genshin = { git = "https://github.com/thesadru/genshin.py" }
Jinja2 = "^3.1.2"
python-telegram-bot = { version = "^20.1", extras = ["ext", "rate-limiter"] }
sqlmodel = "^0.0.8"
colorlog = "^6.7.0"
fakeredis = "^2.12.0"
redis = "^4.5.4"
beautifulsoup4 = "^4.12.1"
2023-02-28 14:15:48 +00:00
asyncmy = "^0.2.7"
pyppeteer = "^1.0.2"
aiofiles = "^23.1.0"
2023-03-07 13:29:24 +00:00
python-dotenv = "^1.0.0"
alembic = "^1.10.3"
black = "^23.3.0"
2023-02-15 09:44:59 +00:00
rich = "^13.3.1"
enkanetwork-py = { git = "https://github.com/mrwan200/EnkaNetwork.py" }
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 }
pytest-asyncio = { version = "^0.21.0", optional = true }
flaky = { version = "^3.7.0", optional = true }
lxml = "^4.9.2"
arko-wrapper = "^0.2.8"
fastapi = "^0.95.0"
uvicorn = { extras = ["standard"], version = "^0.22.0" }
sentry-sdk = "^1.22.2"
GitPython = "^3.1.30"
2023-02-15 09:44:59 +00:00
openpyxl = "^3.1.1"
2023-03-07 13:29:24 +00:00
async-lru = "^2.0.2"
2022-12-04 11:56:39 +00:00
thefuzz = "^0.19.0"
qrcode = "^7.4.2"
cryptography = "^40.0.1"
pillow = "^9.4.0"
2023-03-14 12:29:33 +00:00
playwright = "^1.27.1"
aiosqlite = { extras = ["sqlite"], version = "^0.19.0" }
[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']