Skip to main content

插件描述

Project description

logo

✨ nonebot-plugin-hzys ✨

LICENSE python Adapters

uv ruff

📖 介绍

由于饼干的 nonebot-plugin-ottohzys 已归档,写了这个插件来跟踪最新上游数据。服务端来自 kaixinol/otto-hzys-api-backend,上游数据源来自 hua-zhi-wan/otto-hzys

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-hzys --upgrade

使用 pypi 源安装

nb plugin install nonebot-plugin-hzys --upgrade -i "https://pypi.org/simple"

使用清华源安装

nb plugin install nonebot-plugin-hzys --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
uv
uv add nonebot-plugin-hzys

安装仓库 main 分支

uv add git+https://github.com/Misty02600/nonebot-plugin-hzys@main
pdm
pdm add nonebot-plugin-hzys

安装仓库 main 分支

pdm add git+https://github.com/Misty02600/nonebot-plugin-hzys@main
poetry
poetry add nonebot-plugin-hzys

安装仓库 main 分支

poetry add git+https://github.com/Misty02600/nonebot-plugin-hzys@main

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_hzys"]
使用 nbr 安装(使用 uv 管理依赖可用)

nbr 是一个基于 uv 的 nb-cli,可以方便地管理 nonebot2

nbr plugin install nonebot-plugin-hzys

使用 pypi 源安装

nbr plugin install nonebot-plugin-hzys -i "https://pypi.org/simple"

使用清华源安装

nbr plugin install nonebot-plugin-hzys -i "https://pypi.tuna.tsinghua.edu.cn/simple"

⚙️ 配置

在 NoneBot 项目的 .env 中配置:

配置项 必填 默认值 说明
OTTO_HZYS_BACKEND_URL https://otto-hzys-api-backend.vercel.app 后端地址,例如 http://127.0.0.1:3000
OTTO_HZYS_API_KEY 后端 Token

示例:

OTTO_HZYS_BACKEND_URL=http://127.0.0.1:3000

🎉 使用

指令表

指令 说明
ottohzys/活字印刷 <文本> 生成活字印刷语音

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_hzys-0.2.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_hzys-0.2.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_hzys-0.2.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_hzys-0.2.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_hzys-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7518801f8f179be6e4261ab4805a2a8b1e26e395ec786736e066fbbc4d69fc9c
MD5 92f594edfea4e71bf5f722dca10505a1
BLAKE2b-256 d9b48969f78743139804856b97c2297d811ee20f271e936ea20e49a1033f53b8

See more details on using hashes here.

File details

Details for the file nonebot_plugin_hzys-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_hzys-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for nonebot_plugin_hzys-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 77d037ec71853a5d20a8b54fc460dfb3a749c5473cfef35b385b004b614dba2e
MD5 cc2789dde1c4c502ad6f5a5d38467f38
BLAKE2b-256 05da6792a2ed2712c05643db572685795d44985918d4456d2bf09c8d0ef30157

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