diff --git a/README.md b/README.md index 0073b0a..c71da88 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,33 @@ # McStatus-API 这是一个 Flask API,主要封装了 mcstatus 包,用于查询 Minecraft 服务器状态,支持Java和基岩,以及附带其他小特性! + +## 📦安装/💻使用 + +以下提到的方法 任选**其一** 即可 + +
+uv + +```bash +uv run app.py +``` + +
+ +
+pdm + +```bash +pdm install +pdm run app.py +``` +
+ +
+pip + +```bash +pip install -r requirements.txt +python app.py +``` +
\ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..000ae79 Binary files /dev/null and b/requirements.txt differ