CoolFace
Apppublic

cscsj/geminiweb

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
pyproject.toml43 linesDownload Raw Back to root
1[project]2name = "gemi2api-server"3version = "0.1.3"4license = "MIT"5description = "Add your description here"6readme = "README.md"7requires-python = ">=3.11"8dependencies = [9    "browser-cookie3>=0.20.1",10    "fastapi>=0.115.12",11    "gemini-webapi>=1.21.0",12    "uvicorn[standard]>=0.34.1",13    "httpx>=0.27.0",14    "h2>=4.1.0",15    "Pillow>=10.3.0",16    "numpy>=1.26.0",17]18 19# 默认使用清华源,如果无法安装请取消pypi源的注释20#[[tool.uv.index]]21#name = "pypi"22#url = "https://pypi.org/simple"23 24[[tool.uv.index]]25name = "tuna"26url = "https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple"27 28[dependency-groups]29dev = [30    "ruff>=0.15.6",31]32 33[tool.ruff]34line-length = 150  # 设置最大行长度35 36[tool.ruff.lint]37select = ["E", "F", "W", "I"]  # 启用的规则(E: pycodestyle, F: pyflakes, W: pycodestyle warnings, I: isort)38ignore = ["E501", "W191"]  # 忽略特定规则(行长度警告和tab缩进警告)39 40[tool.ruff.format]41quote-style = "double"  # 使用双引号42indent-style = "tab"  # 使用tab缩进43