Skip to main content

NoneBotPluginText

nonebot-plugin-zxpix

✨ 基于 NoneBot2 的一个插件 ✨

python nonebot onebot license

API文档

📖 介绍

🎉 这是一个公开的图库API,希望大家共同维护,看看你的xp(bushi 🎉

小真寻会将你的xp分享给其他人!
通过提交的 PID, UID, 关键词 来收录图片
为保证质量, UID 收录只会保存收藏数大于 450 的图片

📈 统计

stat

💿 安装

pip install nonebot-plugin-zxpix
nb plugin install nonebot-plugin-zxpix

💿 配置

配置 类型 默认值 说明
zxpix_api str http://pix.zhenxun.org zhenxun-pix-api地址
zxpix_image_size str large ["large", "medium", "original", "square_medium"]图片大小
zxpix_timeout int 10 请求时长
zxpix_show_info bool true 显示图片的uid,pid,标题
zxpix_allow_group_r18 bool false 允许群组中使用-r参数
zxpix_system_proxy str None 系统代理
zxpix_max_once_num2forward int 0 多于该数量的图片时使用转发消息,0为不使用
zxpix_nginx str pixiv.re 反代地址
zxpix_small_nginx str i.suimoe.com 缩略图反代地址
zxpix_image_to_bytes bool false 是否将图片转换为bytes发送

🎁 使用

pix ?*[tags] ?[-n 1] ?*[--nsfw [0, 1, 2]] ?[--ratio r1,r2]
        : 通过 tag 获取相似图片,不含tag时随机抽取,
        -n表示数量, -r表示查看r18, -noai表示过滤ai
        --nsfw 表示获取的 nsfw-tag,0: 普通, 1: 色图, 2: R18
        --ratio 表示获取的图片比例,示例: 0.5,1.5 表示长宽比大于0.5小于1.5
        
    示例:pix 萝莉 白丝
    示例:pix 萝莉 白丝 -n 10  (10为数量)
    示例:pix 13929393-0   查看pid为13929393的第1张的图片(多图时)
    示例:pix 121323322    查看uid或pid为121323322的图片

pix图库 ?[tags](使用空格分隔): 查看pix图库数量

pix添加 ['u', 'p'] [*content]
        u: uid
        p: pid

    示例:
        pix添加 u 123456789 12312333 ...
        pix添加 p 123456789

以下block与nsfw设置仅仅提交一个请求,需要图库管理员审核

引用 /original : 下载原图
引用 /info : 引用图片查看图片信息
引用 /block ?[-u]: 提交图片block请求,存在-u时将block该uid下所有图片
引用 /nsfw n: 设置图片nsfw,n在[0, 1, 2]之间
    0: 普通
    1: 色图
    2: r18

引用消息 /star     : 收藏图片
引用消息 /unatar   : 取消收藏图片
pix收藏           : 查看个人收藏
pix排行 ?[10] -r: 查看收藏排行, 默认获取前10,包含-r时会获取包括r18在内的排行

❤ 感谢

  • 可爱的小真寻 Bot zhenxun_bot: 我谢我自己,桀桀桀
  • Ailitonia: 谢谢你的xp,嘿嘿

Metadata

Release files for nonebot-plugin-zxpix 0.2.6

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-zxpix 0.2.6
File Size Uploaded Provenance Actions
nonebot_plugin_zxpix-0.2.6.tar.gz 26.9 kB Without provenance Details for nonebot_plugin_zxpix-0.2.6.tar.gz

Built distribution (wheel)

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

Total release size: 60.6 kB

Release files / nonebot_plugin_zxpix-0.2.6.tar.gz

Download URL nonebot_plugin_zxpix-0.2.6.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6d99b8b6a88b51c11bab3b3daad87083f3c0d20cc9c9ba1c6d90c89da1dc5d2c
BLAKE2b-256 checksum
How to use checksums
8d2236b83be29640c69046e0515cb92abbd8f55fcca1dace25b7804505cbc191
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Windows/10

Release files / nonebot_plugin_zxpix-0.2.6-py3-none-any.whl

Download URL nonebot_plugin_zxpix-0.2.6-py3-none-any.whl
Size 33.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e6baaf8156b34d8d555ddb34e5ebb164bd25b3dfe0ca69652eb5148168ca3da6
BLAKE2b-256 checksum
How to use checksums
6b8a8364f206a7c42b9ca8d926a48ad6d43f9afa89d4472b3c3db1f44175410d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.11.9 Windows/10

Security for nonebot-plugin-zxpix 0.2.6

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