-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
69 lines (62 loc) · 1.39 KB
/
Copy pathpyproject.toml
File metadata and controls
69 lines (62 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
57
58
59
60
61
62
63
64
65
66
67
68
69
[project]
name = "grok2api"
version = "2.0.0"
description = "Python/uv Grok2API wrapper with OpenAI-compatible APIs."
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiofiles>=25.1.0",
"aiohttp>=3.13.3",
"aiohttp-socks>=0.11.0",
"aiosqlite>=0.21.0",
"beautifulsoup4>=4.12.3",
"camoufox>=0.4.11",
"cryptography>=46.0.5",
"curl-cffi>=0.13.0",
"fastapi>=0.119.0",
"granian>=2.7.2",
"greenlet>=3.3.1",
"livekit>=1.0.25",
"loguru>=0.7.3",
"orjson>=3.11.4",
"playwright>=1.58.0",
"python-dotenv>=1.0.0",
"python-multipart>=0.0.21",
"quart>=0.20.0",
"requests>=2.32.3",
"rich>=14.3.2",
"sqlalchemy>=2.0.46",
"websockets>=16.0",
]
[dependency-groups]
dev = [
"httpx>=0.28.0",
"mypy>=1.19.0",
"pytest>=9.0.0",
"pytest-asyncio>=1.3.0",
"ruff>=0.15.0",
]
[project.scripts]
grok2api = "grok2api.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
target-version = "py313"
extend-exclude = [
"scripts/turnstile_solver",
"src/grok2api/api/v1",
"src/grok2api/services",
]
[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["src"]
[tool.mypy]
python_version = "3.13"
packages = ["grok2api"]
ignore_missing_imports = true
warn_unused_ignores = false