2021-11-20 08:23:15 +08:00
|
|
|
|
<p align="center">
|
|
|
|
|
|
<a href="https://github.com/MarkusJoe/QWeather">
|
2021-12-18 08:42:28 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/Python-3.10.x-blue.svg" alt="PythonVersion">
|
|
|
|
|
|
<img src="https://img.shields.io/badge/release-3.0.1b-green.svg" alt="QWeatherVersion">
|
2021-11-20 08:23:15 +08:00
|
|
|
|
<img src="https://img.shields.io/badge/LINCESE-Apache2.0-orange.svg" alt="LICENSE">
|
|
|
|
|
|
</a>
|
|
|
|
|
|
</p>
|
2021-11-19 17:57:29 +08:00
|
|
|
|
|
2021-11-20 08:23:15 +08:00
|
|
|
|
<div align="center">
|
2021-11-11 21:21:28 +08:00
|
|
|
|
|
2021-11-20 08:23:15 +08:00
|
|
|
|
## *QWeather*
|
|
|
|
|
|
|
2021-11-24 12:48:02 +08:00
|
|
|
|
<i style="text-align: center;"><a href="https://www.qweather.com/">QWeather Official Website</a></i>\
|
|
|
|
|
|
<i style="text-align: center;"><a href="https://dev.qweather.com/">QWeather Development Platform</a></i>
|
2021-11-20 08:23:15 +08:00
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
2021-12-16 22:34:03 +08:00
|
|
|
|
<div align="center">
|
2021-12-18 10:23:39 +08:00
|
|
|
|
<b><i>当前分支版本为重构后的版本重构前版本请在before分支中查看<br>(重构前版本不再更新,最新版本为v2.9.0)</i></b><br>
|
|
|
|
|
|
<b><i><a href="https://markusjoe.github.io/" target="_blank">点击跳转到帮助文档</a></i></b>
|
2021-12-16 22:34:03 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
2021-12-09 22:05:49 +08:00
|
|
|
|
## 问题汇总
|
|
|
|
|
|
#### Python 版本:
|
|
|
|
|
|
> 程序使用了Python3.10中的match-case语句
|
|
|
|
|
|
> 请使用Python3.10版本运行
|
|
|
|
|
|
#### 主题选择:
|
|
|
|
|
|
> 在2.9.0之后的版本不支持自定义天气图标 只能使用最新的图标
|
|
|
|
|
|
#### 配置填写问题:
|
|
|
|
|
|
> `location`项和`only-view-settings`类不需要用户填写, 只需要打开`QWeather.py`进行自助填写
|
|
|
|
|
|
|
2021-11-20 08:23:15 +08:00
|
|
|
|
|
|
|
|
|
|
## 声明
|
|
|
|
|
|
- > 程序作者: **RTAkland (markushammered@gmail.com)**
|
|
|
|
|
|
- > 和风天气开发者平台:https://dev.qweather.com
|
|
|
|
|
|
- > 和风天气官网: https://qweather.com
|
|
|
|
|
|
|
|
|
|
|
|
## 如何使用
|
2021-11-19 17:57:29 +08:00
|
|
|
|
- 程序基于python3.10开发 务必使用python3.10版本运行
|
2021-11-11 21:21:28 +08:00
|
|
|
|
- 将config.yml正确填写完成
|
2021-11-18 22:18:54 +08:00
|
|
|
|
- 使用`pip/pip3 install -r requirements.txt` 安装需要的库
|
2021-12-16 22:43:37 +08:00
|
|
|
|
- 运行`QWeather.py`
|