sopel-weather:Sopel天气插件的有效重新实现

时间:2021-04-12 03:23:40
【文件属性】:
文件名称:sopel-weather:Sopel天气插件的有效重新实现
文件大小:15KB
文件格式:ZIP
更新时间:2021-04-12 03:23:40
Python 天气 介绍 sopel-weather是Sopel的天气查找插件。 由于Yahoo在2019年1月3日弃用了自己的weather API,因此必须重新实现weather插件 正在安装 如果可能,请使用pip安装此插件。 下面是示例命令; 您可能需要添加sudo和/或调用其他pip (例如pip3 ),具体取决于您的系统和环境。 不要使用setup.py install ; Sopel将无法正确加载该插件。 发布版本 pip install sopel-modules.weather 从来源 克隆仓库,然后在/ path / to / sopel-weather中运行它 pip install . 配置中 您可以使用sopel configure --plugins命令自动配置此插件。 但是,如果您希望或需要手动配置此插件,则需要在〜/ .sopel / default.cfg中定义以
【文件预览】:
sopel-weather-master
----MANIFEST.in(161B)
----.travis.yml(1KB)
----README.rst(3KB)
----.coveragerc(648B)
----sopel_modules()
--------__init__.py(56B)
--------weather()
----tests()
--------requirements.txt(103B)
--------test_weather.py(15KB)
----LICENSE(1KB)
----requirements.txt(15B)
----setup.py(1KB)
----NEWS(0B)

网友评论