mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 04:35:49 +00:00
c3c849ede5
Bumps [redis](https://github.com/redis/redis-py) from 4.6.0 to 5.0.0. - [Release notes](https://github.com/redis/redis-py/releases) - [Changelog](https://github.com/redis/redis-py/blob/master/CHANGES) - [Commits](https://github.com/redis/redis-py/compare/v4.6.0...v5.0.0) --- updated-dependencies: - dependency-name: redis dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
72 lines
2.0 KiB
TOML
72 lines
2.0 KiB
TOML
[tool.poetry]
|
|
name = "PaiGram"
|
|
version = "0.4.0"
|
|
description = "Telegarm robot, query the official genshin information."
|
|
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.24.0"
|
|
ujson = "^5.8.0"
|
|
Jinja2 = "^3.1.2"
|
|
python-telegram-bot = { version = "^20.1", extras = ["ext", "rate-limiter"] }
|
|
sqlmodel = "^0.0.8"
|
|
colorlog = "^6.7.0"
|
|
fakeredis = "^2.17.0"
|
|
redis = "^5.0.0"
|
|
beautifulsoup4 = "^4.12.1"
|
|
asyncmy = "^0.2.7"
|
|
pyppeteer = "^1.0.2"
|
|
aiofiles = "^23.2.0"
|
|
python-dotenv = "^1.0.0"
|
|
alembic = "^1.11.1"
|
|
black = "^23.3.0"
|
|
rich = "^13.5.2"
|
|
enkanetwork-py = { git = "https://github.com/mrwan200/EnkaNetwork.py" }
|
|
TgCrypto = { version = "^1.2.5", optional = true }
|
|
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.100.0"
|
|
uvicorn = { extras = ["standard"], version = "^0.23.1" }
|
|
sentry-sdk = "^1.29.2"
|
|
GitPython = "^3.1.30"
|
|
openpyxl = "^3.1.1"
|
|
async-lru = "^2.0.4"
|
|
thefuzz = "^0.19.0"
|
|
qrcode = "^7.4.2"
|
|
cryptography = "^41.0.3"
|
|
pillow = "^10.0.0"
|
|
playwright = "^1.27.1"
|
|
aiosqlite = { extras = ["sqlite"], version = "^0.19.0" }
|
|
simnet = { git = "https://github.com/PaiGramTeam/SIMNet" }
|
|
|
|
[tool.poetry.extras]
|
|
pyro = ["Pyrogram", "TgCrypto"]
|
|
test = ["pytest", "pytest-asyncio", "flaky"]
|
|
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']
|