Skip to main content

适用于 Nonebot2 的词云插件

Project description

nonebot

NoneBot Plugin WordCloud

✨ NoneBot 词云插件 ✨

license pypi python

使用方式

因为插件依赖数据库,所以需要在配置文件中添加

DATASTORE_ENABLE_DATABASE=true

插件启动完成后,发送 /今日词云/昨日词云 获取词云。

配置项

配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可。

wordcloud_width

  • 类型: int
  • 默认: 1920
  • 说明: 生成图片的宽度

wordcloud_height

  • 类型: int
  • 默认: 1200
  • 说明: 生成图片的高度

wordcloud_background_color

  • 类型: str
  • 默认: black
  • 说明: 生成图片的背景颜色

wordcloud_font_path

  • 类型: str
  • 默认: 自带的字体(思源黑体)
  • 说明: 生成图片的字体文件位置

wordcloud_stopwords_path

  • 类型: str
  • 默认: 自带的停用词表
  • 说明: 生成图片的停词表位置

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-wordcloud-0.0.3.tar.gz (7.2 MB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_wordcloud-0.0.3-py3-none-any.whl (7.2 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page