This repository has been archived on 2025-12-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
QWeatherReporter/README.md

64 lines
2.3 KiB
Markdown
Raw Permalink Normal View History

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">
2021-12-20 21:58:03 +08:00
<img src="https://img.shields.io/badge/release-3.1.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-18 21:53:34 +08:00
### 开源
- 本项目以[Apache-2.0](./LICENSE)许可开源, 即:
- 你可以直接使用该项目提供的功能, 无需任何授权
- 你可以在**注明来源版权信息**的情况下对源代码进行任意分发和修改以及衍生
### 已实现功能
- [x] 发送免费版&开发板右键
- [x] 间隔10分钟请求一次自然灾害预警信息
- [x] 在网页上快速查看天气
- [ ] ~~推送到QQ(咕咕咕)~~
### 问题汇总
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`
2021-12-18 21:53:34 +08:00
2021-12-18 21:58:56 +08:00
### 网页上查看天气
- 将所有准备工作完成(能正常运行QWeather.py)
- 运行QWeather.py
- 打开浏览器输入***127.0.0.1***:7898 (127.0.0.1可以更改为部署本项目的服务器ip)
2021-12-18 21:53:34 +08:00
## 联系方式
- 邮箱: <markushammered@gmail.com>