Metadata-Version: 2.4
Name: nonebot_plugin_liteperm
Version: 0.1.0
Summary: 基于权限节点/权限组/特殊权限的Nonebot权限管理插件。
Author-email: JohnRichard4096 <windowserror@163.com>, MrlingXD <wlingzhenyu@163.com>
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/LiteSuggarDEV/plugin-liteperm
Project-URL: Source, https://github.com/LiteSuggarDEV/plugin-liteperm
Project-URL: Issue Tracker, https://github.com/LiteSuggarDEV/plugin-liteperm/issues
Keywords: nonebot
Requires-Python: <3.14,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: nonebot2>=2.2.0
Requires-Dist: nonebot-adapter-onebot>=2.0.0
Requires-Dist: nonebot-plugin-localstore>=0.7
Requires-Dist: typing-extensions>=4.13.2
Requires-Dist: tomli>=2.2.1
Requires-Dist: tomli-w>=1.2.0
Requires-Dist: pydantic>=2.0.0
Dynamic: license-file

# NoneBot Plugin LitePerm 文档

<div align="center">
  <a href="https://github.com/JohnRichard4096/nonebot_plugin_liteperm/">
    <img src="https://github.com/user-attachments/assets/b5162036-5b17-4cf4-b0cb-8ec842a71bc6" width="200" alt="SuggarChat Logo">
  </a>
  <h1>LitePerm</h1>
  <h3>权限节点权限管理插件</h3>

  <p>
    <a href="https://pypi.org/project/nonebot-plugin-liteperm/">
      <img src="https://img.shields.io/pypi/v/nonebot-plugin-liteperm?color=blue&style=flat-square" alt="PyPI Version">
    </a>
    <a href="https://www.python.org/">
      <img src="https://img.shields.io/badge/python-3.9+-blue?logo=python&style=flat-square" alt="Python Version">
    </a>
    <a href="https://nonebot.dev/">
      <img src="https://img.shields.io/badge/nonebot2-2.0.0rc4+-blue?style=flat-square" alt="NoneBot Version">
    </a>
    <a href="LICENSE">
      <img src="https://img.shields.io/github/license/LiteSuggarDEV/plugin-liteperm?style=flat-square" alt="License">
    </a>
    <a href="https://qm.qq.com/q/PFcfb4296m">
      <img src="https://img.shields.io/badge/QQ%E7%BE%A4-1002495699-blue?style=flat-square" alt="QQ Group">
    </a>
  </p>
</div>


基于权限节点+特殊权限+权限组的依赖权限管理插件！

>本项目灵感来自于[LuckPerms](https://github.com/LuckPerms/LuckPerms)

## 特性

- 节点权限管理
- 特殊权限管理
- 权限组管理
- 用户/群 权限分配

## 快速开始

### 安装

- 使用nb-cli安装

  ```bash
  nb plugin install nonebot-plugin-liteperm
  ```

- 使用uv安装

  ```bash
  uv add nonebot-plugin-liteperm
  ```

### 启用

修改`pyproject.toml`，在`[tool.nonebot]`下的`plugins = ["nonebot_plugin_liteperm"]`添加插件

## 内置权限节点

| 权限节点 | 权限描述 |
| --- | --- |
| `liteperm.admin` | LitePerm管理员 |

## 文档

[点击前往](https://docs.suggar.top/project/liteperm/)
