File size: 951 Bytes
ddebc3e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[project]
name = "grok2api"
version = "2.0.4.rc4"
description = "Grok2API rebuilt with FastAPI, fully aligned with the latest web call format. Supports streaming and non-streaming chat, image generation/editing, deep thinking, token pool concurrency, and automatic load balancing."
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
    "aiohttp>=3.14.0",
    "aiohttp-socks>=0.11.0",
    "aiomysql>=0.2.0",
    "asyncpg>=0.31.0",
    "certifi>=2025.10.5",
    "cryptography>=48.0.1",
    "curl-cffi>=0.15.0",
    "fastapi>=0.119.0",
    "granian>=2.7.4",
    "greenlet>=3.3.1",
    "loguru>=0.7.3",
    "orjson>=3.11.4",
    "pydantic>=2.12.3",
    "python-dotenv>=1.1.1",
    "python-multipart>=0.0.31",
    "redis>=6.4.0",
    "sqlalchemy>=2.0.46",
    "idna>=3.15",  # pinned for security
    "starlette>=1.1.0",
    "tiktoken>=0.8.0",
    "urllib3>=2.7.0",
    "tomli-w>=1.2.0",
]

[dependency-groups]
dev = [
    "ruff>=0.15.0",
]