Skip to main content
NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-pypistats

✨ 通过机器人查看PyPi包的下载次数 ✨

一个通过nonebot与pypistats对接实现的下载量查询插件

[!IMPORTANT] 数据是否可信请自行判断

💿 安装

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

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

plugins = ["nonebot_plugin_pypistats"]

🎉 使用

指令表

指令 权限 需要@ 范围 说明
下载统计 [包名] [类型] all all 类型选项有p:nonebot-plugin-和a: nonebot-adapter-两种,如果不写参数的话那就是直接查询

指令例子

点击展开

图一 图二

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_pypistats-0.1.6.tar.gz (4.4 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_pypistats-0.1.6-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_pypistats-0.1.6.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_pypistats-0.1.6.tar.gz
Algorithm Hash digest
SHA256 623a4812bcf977436a03e04640147353461f92e5c83e23e8097c1e0e3b93aa2f
MD5 0a7eaf31003ed52e29098673f9ae76fc
BLAKE2b-256 0a8760e42c4d9b2d5af9aaa32481d97ce1351da6c6833672ed62476337d6bd0b

See more details on using hashes here.

File details

Details for the file nonebot_plugin_pypistats-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_pypistats-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 08a20f6f306935f462a9084f208b977cbbd48c170fa4c288f01576d85237024a
MD5 2fac4e568d6ca7537dfca9b86b6fc8c7
BLAKE2b-256 9bdef55af81c3d3a739f3bfc84d045dacd94a1d03210423e505f9f05845dbab1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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