semvec/pypi-packages huggingface dataset:
nonebot-plugin-rtfm 0.2.2
A plugin for searching docs in QQ, use NoneBot and OneBot V11
License: MIT
Requires Python: >=3.8,<4.0
Keywords: nonebot,onebot,search,plugin,docs

<p align="center">
  <img src="https://s2.loli.net/2022/05/01/fbZuQPidkqt6vjp.png">
</p>

<div align="center">

<!-- prettier-ignore-start -->
<!-- markdownlint-disable-next-line MD036 -->

# nonebot-plugin-rtfm

_✨ NoneBot2 文档搜索插件 ✨_
<!-- prettier-ignore-end -->

</div>

## 🚀安装

此插件需要 **Python 3.8 及以上**

```bash
# 通过 nb-cli
nb plugin install nonebot-plugin-rtfm
# 通过 poetry
poetry add nonebot_plugin_rtfm
# 通过 pip
pip install nonebot_plugin_rtfm
```

## 📝命令

### /rtfm [关键词]

#### 概述

若提供了关键词，则根据关键词进行搜索 NoneBot2 文档，否则进入对话模式获取关键词后搜索

#### 例子

<details>
<summary>图片</summary>

![-ff3a75dd1b3b136.png](https://s2.loli.net/2022/04/26/jBCWS9Z6NvdTJeA.png)

</details>

### /obrtfm [关键词]

#### 概述

若提供了关键词，则根据关键词进行搜索 OneBot 适配器 文档，否则进入对话模式获取关键词后搜索

#### 例子

<details>
<summary>图片</summary>

![-736fa5bfcf4805f2.png](https://s2.loli.net/2022/04/26/Tsn8QrWvODygqwI.png)

</details>

### /插件列表

#### 概述

获取商店里的全部插件的简要信息，支持 `/page` 和 `戳一戳`

#### 例子

<details>
<summary>图片</summary>

![_J_T~YS6NJDRF61__6_8M~4.png](https://s2.loli.net/2022/04/27/lmLwqRY86yesfAM.png)

</details>

### /搜索插件 <关键字> [-t] [-n] [-a] [-d] [-p=[0-1]]

**WIP：此功能尚未完成**

#### 概述

搜索插件列表的插件，支持 `/page` 和 `戳一戳`

#### 参数

- `-t`，`--without_tag` 查询时不使用标签查询
- `-n`，`--without_name` 查询时不使用插件名称查询
- `-a`，`--without_author` 查询时不使用作者名查询
- `-d`，`--without_desc` 查询时不使用描述查询
- `-p=[0-1]`，`--percent=[0-1]` 相似度，越接近1相似度越高

### /page <页码>

#### 概述

查看指定页的文档，来源根据上一次的查询结果的缓存

#### 例子

<details>
<summary>图片</summary>

![1650986335404.png](https://s2.loli.net/2022/04/26/vrdhkiVnTs1w37K.png)

</details>

#### 使用戳一戳

戳机器人会发送下一页文档

<details>
<summary>图片</summary>

![1650986464565.png](https://s2.loli.net/2022/04/26/QWH1ul72O9MGqZm.png)

</details>

## 🔧配置

- rtfm_page
  - 设置一条消息的结果数（默认：5）
- use_proxy
  - 使用 `jsdelivr` 源获取插件信息（默认：True）

## 🚧预期加入功能

- [ ] Python 文档查询
- [ ] 插件文档查询（基于 [`nonebot-plugin-help`](https://github.com/XZhouQD/nonebot-plugin-help) 的文档接入方式）
- [ ] 图片生成（预期使用 [`nonebot-plugin-htmlrender`](https://github.com/kexue-z/nonebot-plugin-htmlrender)或 `PIL`）
- [ ] _More..._

## 🐛Bug 反馈或提交建议

请通过 [Issue](https://github.com/MingxuanGame/nonebot-plugin-rtfm/issues) 向我反馈 Bug 或提交建议

## 👥参与开发

_待补充_

## 🔒️许可

本插件使用 [MIT 许可证](https://github.com/MingxuanGame/nonebot-plugin-rtfm/blob/master/LICENSE) 开源

```
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```
flake8-debugger 4.1.2
ipdb/pdb statement checker plugin for flake8
License: MIT
Requires Python: >=3.7
Keywords: flake8,plugin,linting,debugger,ipdb,code quality

Flake8 debugger plugin
======================

Check for pdb;idbp imports and set traces, as well as `from IPython.terminal.embed import InteractiveShellEmbed` and `InteractiveShellEmbed()()`.

This module provides a plugin for ``flake8``, the Python code checker.


Installation
------------

You can install or upgrade ``flake8-debugger`` with these commands::

    $ pip install flake8-debugger
    $ pip install --upgrade flake8-debugger


Plugin for Flake8
-----------------

When both ``flake8 2.2`` and ``flake8-debugger`` are installed, the plugin is
available in ``flake8``::

    $ flake8 --version
    2.0 (pep8: 1.4.5, flake8-debugger: 1.0, pyflakes: 0.6.1)


Changes
-------

##### 4.1.2 - 2022-04-30

* Add tests to bundle.

##### 4.1.1 - 2022-04-30

* Add tests to bundle.

##### 4.1.0 - 2022-04-30

* Drop support for python 3.6 and remove special handling code.
* bundle licence file.

##### 4.0.0 - 2020-11-29

* Opted back into using Poetry now that the existing issues have been fixed.
* Python 2.7 support was no officially dropped.

##### 3.2.1 - 2019-10-31

* Swapped back from poetry to setup.py :(....python ecosystem issues....

##### 3.2.0 - 2019-10-15

* Forgot to add `breakpoint` support to the last changelog entry as well as fixing a bug introduced into that version that flagged `import builtins` as noteworthy.


##### 3.1.1 - 2019-10-12

* Fix reading from stdin when it is closed (requires flake8 > 2.1).
* Swapped to poetry from setup.py
* Ran black on the repository

##### 3.1.0 - 2018-02-11
* Add a framework classifier for use in pypi.org
* Fix entry_point in setup.py leaving it off by default again
* Detect __import__ debugger statements
* Add support for `pudb` detection

##### 3.0.0 - 2017-05-11
* fix the refactor of the detector in 2.0.0 that was removed from pypi.
* fix a flake8 issue that had it turned off by default.


##### 2.0.0 - 2016-09-19
* refactor detector
* drop official support for python 2.6 and 3.3


##### 1.4.0 - 2015-05-18
* refactor detector, run tests in python 2.6, 2.7 and 3.4 as well as adding a check for InteractiveShellEmbed.

##### 1.3.2 - 2014-11-04
* more tests, fix edge case and debugger identification.

##### 1.3.1 - 2014-11-04
* more tests, a little refactoring and improvements in catching.

##### 1.3 - 2014-11-04
* using ast instead of regular expressions

##### 1.2 - 2014-06-30
* Added a few simple tests

##### 1.1 - 2014-06-30
* First release

##### 1.0 - 2014-06-30
* Whoops