Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-acgnshow

✨ 从哔哩哔哩会员购获取展览简易信息 ✨

license pypi python

📖 介绍

一个简单的 Nonebot2 插件,可以从哔哩哔哩会员购 API 获取展览(漫展等)的时间,地点,票价等信息。

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-acgnshow
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-acgnshow
pdm
pdm add nonebot-plugin-acgnshow
poetry
poetry add nonebot-plugin-acgnshow
conda
conda install nonebot-plugin-acgnshow

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

plugins = ["nonebot_plugin_acgnshow"]

🎉 使用

发送展览指令可以获取使用说明

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的配置

配置项 必填 默认值 说明
ACGNSHOW_PAGESIZE 否 10 单个图片的条目数,最大为 20,条目数过大可能导致 Bot 无法发送
ACGNSHOW_BGIMAGE_PATH 否 插件内置背景图 插件返回图片的背景图目录路径
ACGNSHOW_SEND_SHOW_DETAILS_HTML 否 false 是否发送展览的 HTML 详情信息图片(会员购的“活动介绍”栏目),实验性功能
ACGNSHOW_SHOW_DETAILS_HTML_SCALE 否 0.6 HTML 详情信息图片的缩放比例,过大可能导致 Bot 无法发送
ACGNSHOW_SHOW_DETAILS_HTML_IMG_COUNT 否 2 每一张 HTML 详情信息图片中包含的图片个数,过大可能导致 Bot 无法发送

Metadata

Release files for nonebot-plugin-acgnshow 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-acgnshow 0.3.1
File Size Uploaded Provenance Actions
nonebot_plugin_acgnshow-0.3.1.tar.gz 10.6 MB Without provenance Details for nonebot_plugin_acgnshow-0.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-acgnshow 0.3.1
File Interpreter ABI Platform Actions
nonebot_plugin_acgnshow-0.3.1-py3-none-any.whl Python 3 none any Details for nonebot_plugin_acgnshow-0.3.1-py3-none-any.whl

Total release size: 21.3 MB

Release files / nonebot_plugin_acgnshow-0.3.1.tar.gz

Download URL nonebot_plugin_acgnshow-0.3.1.tar.gz
Size 10.6 MB
Tags Source
SHA-256 checksum
How to use checksums
61e76aa69e7d3b320d88ff9d55bbce9347a94b7f53e0d0a440ca987d49652875
BLAKE2b-256 checksum
How to use checksums
6c869fdc3325f2e160978cc01a6ceb760ce8fe0962ace8cedc0157d0f2cbc868
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / nonebot_plugin_acgnshow-0.3.1-py3-none-any.whl

Download URL nonebot_plugin_acgnshow-0.3.1-py3-none-any.whl
Size 10.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
98a772bbee6b1f4ca7e4695b81d01b591a753c28976626e700b7514ba7082a70
BLAKE2b-256 checksum
How to use checksums
16aa929b1ee7506593958363c29a5b740bbba1dc09a9917d10817be6c0d22dc2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for nonebot-plugin-acgnshow 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page