feat(cli): 部分完成 nyahome init 和 check 命令

This commit is contained in:
2026-06-03 23:02:59 +08:00
parent 2b30f0ffe3
commit ee81ccefc5
7 changed files with 427 additions and 142 deletions
+23 -9
View File
@@ -6,32 +6,46 @@ readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"aiofiles>=25.1.0",
"aiosmtplib>=5.1.0",
"aiosmtplib>=5.1.1",
"alembic>=1.18.4",
"argon2-cffi>=25.1.0",
"fastapi>=0.136.1",
"fastapi>=0.136.3",
"httpx>=0.28.1",
"jinja2>=3.1.6",
"openai>=2.38.0",
"openai>=2.40.0",
"passlib[bcrypt]>=1.7.4",
"psycopg[binary]>=3.3.4",
"pydantic>=2.13.4",
"python-dotenv>=1.2.2",
"python-jose[cryptography]>=3.5.0",
"python-multipart>=0.0.29",
"python-multipart>=0.0.30",
"pyyaml>=6.0.3",
"rich>=15.0.0",
"sqlalchemy>=2.0.49",
"sqlalchemy>=2.0.50",
"sqlmodel>=0.0.38",
"typer>=0.25.1",
"uvicorn>=0.47.0",
"typer>=0.26.5",
"uvicorn>=0.48.0",
]
[project.optional-dependencies]
mysql = [
"pymysql>=1.2.0",
]
postgresql = [
"psycopg[binary]>=3.3.4",
]
all = [
"nyahome[mysql]",
"nyahome[postgresql]",
]
[dependency-groups]
dev = [
"nyahome[all]",
"docstring-parser>=0.18.0",
"mypy>=2.1.0",
"ruff>=0.15.14",
"ruff>=0.15.15",
"taskipy>=1.14.1",
"types-aiofiles>=25.1.0.20260518",
"types-passlib>=1.7.7.20260211",