forked from mixmoe/HibiAPI
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
58 lines (50 loc) · 1.53 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[tool.poetry]
name = "HibiAPI"
version = "0.7.7"
description = "A program that implements easy-to-use APIs for a variety of commonly used sites"
authors = ["mixmoe <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://api.obfs.dev"
repository = "https://github.com/mixmoe/HibiAPI"
documentation = "https://github.com/mixmoe/HibiAPI/wiki"
[tool.poetry.scripts]
hibiapi = 'hibiapi.__main__:cli'
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.85.1"
httpx = { extras = ["http2"], version = ">=0.21.3,<0.24.0" }
uvicorn = { extras = ["standard"], version = ">=0.14,<0.20" }
confuse = "^1.4.0"
loguru = "^0.6.0"
python-dotenv = "^0.21.0"
qrcode = { extras = ["pil"], version = ">=6.1,<8.0" }
pycryptodomex = "^3.10.1"
sentry-sdk = "^1.10.1"
pydantic = "^1.9.0"
python-multipart = "^0.0.5"
cashews = { extras = ["redis", "diskcache"], version = ">=3.3,<5.0" }
typing-extensions = ">=3.10"
typer = { extras = ["all"], version = "^0.6.1" }
pyqt6 = { version = "^6.4.0", optional = true }
pyqt6-webengine = { version = "^6.4.0", optional = true }
[tool.poetry.dev-dependencies]
black = "^22.6"
flake8 = "^5.0.4"
pytest = "^7.1.2"
requests = "^2.28.1"
isort = "^5.10.1"
pytest-httpserver = "^1.0.4"
pytest-cov = "^3.0.0"
pytest-benchmark = "^4.0.0"
pytest-xdist = "^3.0.2"
pytest-sugar = "^0.9.6"
[tool.poetry.extras]
scripts = ["pyqt6", "pyqt6-webengine"]
[tool.poetry.group.dev.dependencies]
[tool.isort]
profile = "black"
multi_line_output = 3
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"