mirror of
https://github.com/Murasame-Dev/McStatus-API.git
synced 2025-12-17 05:38:00 +00:00
重写成 FastAPI (#3)
* 重写成FastAPI * 修改依赖相关配置 - pyproject `uvicorn[standard] -> fastapi[standard]` - requirements.txt 使用 `uv export` 生成 - Dockerfile 换用 `python:3.13` - README pip 安装增加版本提示 --------- Co-authored-by: wyf9 <wyf9@wyf9.top>
This commit is contained in:
parent
859b6b1c53
commit
099a79fe5f
6 changed files with 44 additions and 31 deletions
|
|
@ -1,11 +1,11 @@
|
|||
[project]
|
||||
name = "mcstatus-api"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
description = "A Minecraft Server status API based on FastAPI"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"flask>=3.1.1",
|
||||
"flask-cors>=6.0.1",
|
||||
"fastapi[standard]>=0.115.0",
|
||||
"uvicorn>=0.30.0",
|
||||
"mcstatus>=12.0.5",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue