尝试 0.1.1 版本 + 命令行 cli 构建中

尝试用 Typer 构建命令行入口 manage.py 。
在 pyproject.toml 中完成有关设计,计划使用 suanapi 命令调用 manage.py 。
This commit is contained in:
2026-04-24 16:23:51 +08:00
parent 16ff315a30
commit 8db1d27758
7 changed files with 137 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
[project]
name = "njupt-suan-api"
version = "0.1.0"
version = "0.1.1"
description = "API and MCP server for NJUPT infomation ~"
readme = "README.md"
requires-python = ">=3.13"
@@ -23,6 +23,9 @@ dependencies = [
"websockets>=16.0",
]
[project.scripts]
suanapi = "manage:app"
[tool.ruff]
preview = true
line-length = 120