-
Notifications
You must be signed in to change notification settings - Fork 229
Expand file tree
/
Copy pathpyproject.toml
More file actions
56 lines (47 loc) · 1.39 KB
/
Copy pathpyproject.toml
File metadata and controls
56 lines (47 loc) · 1.39 KB
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
# File: pyproject.toml
[project]
name = "webai-to-api"
version = "0.5.0"
description = "WebAI-to-API is a modular web server built with FastAPI, designed to manage requests across AI services."
authors = [
{ name = "Mohammad", email = "m.khani2810@gmail.com" },
]
license = "Apache-2.0"
readme = "README.md"
requires-python = ">=3.10,<3.13"
dynamic = ["dependencies"]
[tool.poetry]
packages = [
{ include = "app", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.10,<3.13"
fastapi = ">=0.115.7,<0.130.0"
jinja2 = ">=3.1.0,<4.0.0"
browser-cookie3 = ">=0.20.1,<0.21.0"
httpx = ">=0.28.1,<0.29.0"
curl-cffi = ">=0.7.4"
gemini-webapi = ">=2.0.0"
uvicorn = {extras = ["standard"], version = ">=0.34.0,<0.41.0"}
# Windows-specific dependencies for cookie decryption
# These will only be installed on Windows systems
pywin32 = { version = "==308", platform = "win32" }
pycryptodomex = { version = ">=3.21.0,<4.0.0", platform = "win32" }
tomli = "^2.2.1"
python-multipart = "^0.0.21"
aiohttp-socks = "^0.11.0"
playwright = "^1.60.0"
[tool.poetry.group.dev.dependencies]
pytest = "^8.4"
pytest-asyncio = "^0.26"
pytest-mock = "^3.15"
pytest-cov = "^6.0.0"
pytest-timeout = "^2.3.1"
[tool.pytest.ini_options]
asyncio_mode = "strict"
testpaths = ["tests"]
asyncio_default_test_loop_scope = "function"
timeout = 30
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"