Get Heweather information and convert to pictures
Project description
nonebot-plugin-heweather
获取和风天气信息并转换为图片
使用html+playwright来渲染好看的!
- 使用了
自产自销的nonebot-plugin-htmlrender - 需要先保证playwright可以正常运行并在系统(或容器中)存在中文字体
安装
直接使用 pip install nonebot-plugin-heweather
进行安装
不仅要在 bot.py
中 写入 nonebot.load_plugin("nonebot_plugin_htmlrender")
还要在 bot.py
中 写入 nonebot.load_plugin("nonebot_plugin_heweather")
因为用到了require 所以
nonebot_plugin_htmlrender
要先载入(虽然
指令
天气+地区
或 地区+天气
配置
apikey 必须配置 环境配置
QWEATHER_APIKEY = xxx
是否使用商业版 可选 环境配置
- 不添加则默认开发版
QWEATHER_COMMERCIAL = true
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for nonebot-plugin-heweather-0.4.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e7049a861c995d4938b755c050f46da96cd699ed19bcd46804bfbca4a10e76 |
|
MD5 | fc47193d212852855015dd89286e7a51 |
|
BLAKE2b-256 | 51df751b0158c5eaa9308af11582142f3555bce190e794a46c2393c95974299e |
Close
Hashes for nonebot_plugin_heweather-0.4.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d4031290b0dd48f0569e7fb0f40b6b35b43764b889ac8881e40f6d7898111d0 |
|
MD5 | 8347a3e67154ce5687ff02e627f77a2f |
|
BLAKE2b-256 | 21dd077d299eb50e61fcde04426f0fe434c92e6879b521cb2ffeeb5144ed7472 |