mirror of
https://github.com/Murasame-Dev/McStatus-API.git
synced 2025-12-15 12:48:02 +00:00
更新readme 添加requirements.txt
This commit is contained in:
parent
3dbd5e8a8e
commit
de39c9f265
2 changed files with 31 additions and 0 deletions
31
README.md
31
README.md
|
|
@ -1,2 +1,33 @@
|
|||
# McStatus-API
|
||||
这是一个 Flask API,主要封装了 mcstatus 包,用于查询 Minecraft 服务器状态,支持Java和基岩,以及附带其他小特性!
|
||||
|
||||
## 📦安装/💻使用
|
||||
|
||||
以下提到的方法 任选**其一** 即可
|
||||
|
||||
<details open>
|
||||
<summary>uv</summary>
|
||||
|
||||
```bash
|
||||
uv run app.py
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details open>
|
||||
<summary>pdm</summary>
|
||||
|
||||
```bash
|
||||
pdm install
|
||||
pdm run app.py
|
||||
```
|
||||
</details>
|
||||
|
||||
<details open>
|
||||
<summary>pip</summary>
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
python app.py
|
||||
```
|
||||
</details>
|
||||
BIN
requirements.txt
Normal file
BIN
requirements.txt
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue