Initial commit

This commit is contained in:
doujiang
2026-03-21 23:00:03 +08:00
commit 8f51c3d378
92 changed files with 28858 additions and 0 deletions

43
pyproject.toml Normal file
View File

@@ -0,0 +1,43 @@
[project]
name = "codex-console"
version = "1.0.4"
description = "OpenAI account management console"
requires-python = ">=3.10"
dependencies = [
"curl-cffi>=0.14.0",
"fastapi>=0.100.0",
"uvicorn>=0.23.0",
"jinja2>=3.1.0",
"python-multipart>=0.0.6",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"sqlalchemy>=2.0.0",
"aiosqlite>=0.19.0",
"psycopg[binary]>=3.1.18",
"websockets>=16.0",
"path>=17.1.1",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"httpx>=0.24.0",
]
payment = [
"playwright>=1.40.0",
]
[project.scripts]
codex-console = "webui:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src"]
[dependency-groups]
dev = [
"pyinstaller>=6.19.0",
]