Default template for PDM package
Project description
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-两种,如果不写参数的话那就是直接查询 |
指令例子
点击展开
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
Built Distribution
File details
Details for the file nonebot_plugin_pypistats-0.1.5.tar.gz
.
File metadata
- Download URL: nonebot_plugin_pypistats-0.1.5.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10bd441866ac431559a577537121978daef47ca66406f03c5748d8c0290b831 |
|
MD5 | aff6b8aac9a86907d0ff267a87671c25 |
|
BLAKE2b-256 | 07c0cb9c3c085528358d6095bbe869fb56611a37cb33cd6f0a4fdd7ad903bd1c |
File details
Details for the file nonebot_plugin_pypistats-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: nonebot_plugin_pypistats-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45a4ee1326a7feae16104e2aa330396d2d240af390b9816c2570936f0125fda |
|
MD5 | 2d1b82abf63803ad1231d34a56273b72 |
|
BLAKE2b-256 | a33b765203c5a4b117c398d36d0f2a219e907e9e8b3c111571d500678783b479 |