Skip to main content

适用于 NoneBot2 的词云插件

Project description

nonebot

NoneBot Plugin WordCloud

✨ NoneBot 词云插件 ✨

license pypi python

使用方式

插件依赖 nonebot-plugin-chatrecorder 提供消息存储。

待插件启动完成后,发送 /今日词云/昨日词云/本周词云/本月词云/年度词云/历史词云 即可获取词云。

如果想获取自己的词云,可在上述指令前添加 我的,如 /我的今日词云

配置项

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

wordcloud_width

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

wordcloud_height

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

wordcloud_background_color

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

wordcloud_font_path

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

wordcloud_stopwords_path

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

wordcloud_userdict_path

wordcloud_timezone

  • 类型: str
  • 默认: None
  • 说明: 用户自定义的 时区,留空则使用系统时区

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.1.1.tar.gz (7.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_wordcloud-0.1.1-py3-none-any.whl (7.2 MB view details)

Uploaded Python 3

File details

Details for the file nonebot-plugin-wordcloud-0.1.1.tar.gz.

File metadata

  • Download URL: nonebot-plugin-wordcloud-0.1.1.tar.gz
  • Upload date:
  • Size: 7.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.12 Windows/10

File hashes

Hashes for nonebot-plugin-wordcloud-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4ec0db58d087a3eb782271f03310de57ff82f0afd6f472fcb570c15f4d8567de
MD5 57777ec83e6bc12924f7dde1b982c0c5
BLAKE2b-256 6eb58b8482446caacf793157124e685e9d567fb4b521ed39ba096c7ba21361b2

See more details on using hashes here.

File details

Details for the file nonebot_plugin_wordcloud-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_wordcloud-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8127f710e5814780b0cee3a452d113916ac60689e512d9ac904abcbd12a56a8d
MD5 4908ac35d0dc89f484e271229189108f
BLAKE2b-256 88c1549830bb9978c3039837e420c1f83433be73a32618194836ca8828d4bb18

See more details on using hashes here.

Supported by

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