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.1b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fc441c5b7c0a546c7b7f6b7e8f5cffda6d649be74feb0f20ae7523a556d0e80 |
|
MD5 | 36a074d50d49708da5f6293b93d17441 |
|
BLAKE2b-256 | 632fb928a8ddae83d9195674662a2a7ab7e412678158cc666e5505bd0744a6ab |
Close
Hashes for nonebot_plugin_heweather-0.4.1.1b1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 667de24c9acac8426ffa4ba9f4780b602c70cd1eca6fc82e23b4efcc599189fa |
|
MD5 | df28f20ef7fa597d4e9d8ab6cb1eea49 |
|
BLAKE2b-256 | d1a27b8d0025eb185354458c8cda6c621768bac931f2550c9c612e86272dbed6 |