nonebot-plugin-pjsk


Namenonebot-plugin-pjsk JSON
Version 0.4.1 PyPI version JSON
download
home_pageNone
SummaryProject Sekai Sticker Creator for NoneBot2.
upload_time2024-12-05 05:16:32
maintainerNone
docs_urlNone
authorNone
requires_python<=4,>=3.9
licenseMIT
keywords pjsk nonebot2 plugin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable MD024 MD026 MD031 MD033 MD036 MD041 -->

<div align="center">

<a href="https://v2.nonebot.dev/store">
  <img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="NoneBotPluginLogo">
</a>

<p>
  <img src="https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg" alt="NoneBotPluginText">
</p>

# NoneBot-Plugin-PJSK

_✨ Project Sekai 表情包制作 ✨_

<img src="https://img.shields.io/badge/python-3.9+-blue.svg" alt="python">
<a href="https://pdm.fming.dev">
  <img src="https://img.shields.io/badge/pdm-managed-blueviolet" alt="pdm-managed">
</a>
<a href="https://jq.qq.com/?_wv=1027&k=l82tMuPG">
  <img src="https://img.shields.io/badge/QQ%E7%BE%A4-424506063-orange" alt="QQ Chat Group">
</a>

<br />

<a href="https://pydantic.dev">
  <img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/pyd-v1-or-v2.json" alt="Pydantic Version 1 Or 2" >
</a>
<a href="./LICENSE">
  <img src="https://img.shields.io/github/license/Agnes4m/nonebot_plugin_pjsk.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-pjsk">
  <img src="https://img.shields.io/pypi/v/nonebot-plugin-pjsk.svg" alt="pypi">
</a>
<a href="https://pypi.python.org/pypi/nonebot-plugin-pjsk">
  <img src="https://img.shields.io/pypi/dm/nonebot-plugin-pjsk" alt="pypi download">
</a>

<br />

<a href="https://registry.nonebot.dev/plugin/nonebot-plugin-pjsk:nonebot_plugin_pjsk">
  <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin%2Fnonebot-plugin-pjsk" alt="NoneBot Registry">
</a>
<a href="https://registry.nonebot.dev/plugin/nonebot-plugin-pjsk:nonebot_plugin_pjsk">
  <img src="https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin-adapters%2Fnonebot-plugin-pjsk" alt="Supported Adapters">
</a>

</div>

## 💬 前言

- ~~由于本人没玩过啤酒烧烤,~~ 可能出现一些小问题,可以提 issue 或者 [加群](https://jq.qq.com/?_wv=1027&k=l82tMuPG)反馈 ~~或者单纯进来玩~~
- 本项目仅供学习使用,请勿用于商业用途,喜欢该项目可以 Star 或者提供 PR,如果构成侵权将在 24 小时内删除

<!-- - 如遇字体大小不协调问题,请更新插件到最新版本,并且删除 `data/pjsk/fonts` 文件夹下的所有文件 -->
<!-- - 如果遇到资源文件下载失败的情况,请参考 [这个 issue](https://github.com/Agnes4m/nonebot_plugin_pjsk/issues/15) -->

## 📖 介绍

### Wonderhoy!

![Wonderhoy](https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/pjsk/wonderhoy.png)

## 💿 安装

以下提到的方法 任选**其一** 即可

<details open>
<summary>[推荐] 使用 nb-cli 安装</summary>
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装

```bash
nb plugin install nonebot-plugin-pjsk
```

</details>

<details>
<summary>使用包管理器安装</summary>
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令

<details>
<summary>pip</summary>

```bash
pip install nonebot-plugin-pjsk
```

</details>
<details>
<summary>pdm</summary>

```bash
pdm add nonebot-plugin-pjsk
```

</details>
<details>
<summary>poetry</summary>

```bash
poetry add nonebot-plugin-pjsk
```

</details>
<details>
<summary>conda</summary>

```bash
conda install nonebot-plugin-pjsk
```

</details>

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

```toml
[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_pjsk"
]
```

</details>

## ⚙️ 配置

插件开箱即用,所有配置项皆为可选。请**按需添加**下面的配置项到 `.env` 文件中

|        配置项        | 必填 | 默认值  |                               说明                               |
| :------------------: | :--: | :-----: | :--------------------------------------------------------------: |
| `PJSK_ASSETS_PREFIX` |  否  |   ...   | TheOriginalAyaka/sekai-stickers 仓库 GitHubUserContent 地址列表  |
|  `PJSK_REPO_PREFIX`  |  否  |   ...   |                本仓库 GitHubUserContent 地址列表                 |
| `PJSK_HELP_AS_IMAGE` |  否  | `True`  |                   是否将帮助信息渲染为图片发送                   |
|     `PJSK_REPLY`     |  否  | `True`  |                        是否回复消息发送者                        |
|   `PJSK_REQ_RETRY`   |  否  |   `1`   |                    插件请求 URL 时的重试次数                     |
|   `PJSK_REQ_PROXY`   |  否  | `None`  |                     插件下载资源时使用的代理                     |
|   `PJSK_USE_CACHE`   |  否  | `True`  |                    是否缓存插件生成的所有图片                    |
|  `PJSK_CLEAR_CACHE`  |  否  | `False` | 是否在插件启动时清空缓存文件夹,禁用时只会清理非表情包的图片缓存 |

## 🎉 使用

直接使用指令 `pjsk` 进入交互创建模式;  
使用指令 `pjsk -h` 了解使用 Shell-Like 指令创建表情的帮助

### 效果图

<details>
<summary>使用交互创建模式</summary>

![example](https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/pjsk/example-interact.png)

</details>

<details>
<summary>使用 Shell-Like 指令</summary>

![example](https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/pjsk/example.png)

</details>

## 📞 联系

### Agnes Digital

QQ 群: [424506063](https://jq.qq.com/?_wv=1027&k=l82tMuPG)

### student_2333

QQ:3076823485  
Telegram:[@lgc2333](https://t.me/lgc2333)  
吹水群:[1105946125](https://jq.qq.com/?_wv=1027&k=Z3n1MpEp)  
邮箱:<lgc2333@126.com>

## 💡 鸣谢

### [TheOriginalAyaka/sekai-stickers](https://github.com/TheOriginalAyaka/sekai-stickers)

- 原项目 & 素材来源

## 💰 赞助

感谢大家的赞助!你们的赞助将是我继续创作的动力!

### Agnes Digital

- [爱发电](https://afdian.net/a/agnes_digital)

### student_2333

- [点这里](https://blog.lgc2333.top/donate)

## 📝 更新日志

### 0.4.0

- 适配 Pydantic V1 & V2

### 0.3.1

- 修复无法生成图片的 Bug

### 0.3.0

- 重构插件:
  - 弃用 `imagetext-py` 与 `Pillow`,改用 `htmlrender` 渲染 `svg`(表情) 与 `html`(总览、帮助)
  - 弃用 `saa`,换用 `alconna`
- 配置项更改:
  - 添加 `PJSK_USE_CACHE`、`PJSK_CLEAR_CACHE`
  - 移除 `PJSK_EMOJI_SOURCE`、`PJSK_STICKER_FORMAT`
  - `PJSK_REQ_RETRY` 默认值 从 `2` 改为 `1`
  - `PJSK_ASSETS_PERFIX`、`PJSK_REPO_PREFIX` 默认值 删除 `ghproxy` 源

### 0.2.10

- 修复指定保存格式无效的 Bug
- 添加指令参数 `--auto-adjust`(`-A`)
- 其他小修改

### 0.2.9

- 指令参数增加与变更:
  - 修改 `--line-spacing` 参数简写为 `-S`
  - 增加 `--stroke-color`(`-C`)参数
  - 增加 `--font-color`(`-c`)参数
  - 增加 `--format`(`-f`)参数
- 配置项增加与变更:
  - 增加 `PJSK_REQ_RETRY`、`PJSK_REQ_PROXY`、`PJSK_STICKER_FORMAT`
  - 修改 `PJSK_ASSETS_PREFIX`、`PJSK_REPO_PREFIX` 类型为 `List[str]`
- 其他小修复,小优化

### 0.2.8

- 修复无法自定义表情源的 bug

### 0.2.7

- 修复参数为 `0` 时不生效的 Bug
- 现在可以关闭回复消息发送者的特性了
- 命令参数调整:
  - 删除 `--weight` 参数,因为没有实际意义
  - `--rotate` 参数可以接受小数了
  - `--stroke-width` 参数添加简写 `-W`
  - `--line-spacing` 参数添加简写 `-C`

### 0.2.6

- 插件会按角色名重新排序表情列表与表情 ID,以防数据源表情 ID 冲突
- 角色列表名称展示优化

### 0.2.5

- 使用自己合并的字体文件避免某些字不显示的问题

### 0.2.4

- 在交互模式中提供的参数会去掉指令前缀,以防 Adapter 删掉参数开头的 Bot 昵称,导致参数不对的情况
- 重写帮助图片的渲染(个人感觉效果还不是很好……)

### 0.2.3

- 限制了贴纸文本大小,以免 Bot 瞬间爆炸
- 未提供字体大小时适应性调节 ([#14](https://github.com/Agnes4m/nonebot_plugin_pjsk/issues/14))
- 参数 `--rotate` 改为提供角度值,正数为顺时针旋转
- 将指令帮助渲染为图片发送(可以关)
- 丢掉了 `pil-utils` 依赖

### 0.2.2

- 修改了 0.2.1 版的交互创建模式的触发方式
- 试验性地支持了 Emoji

### 0.2.1

- 更改指令 `pjsk列表` 的交互方式

### 0.2.0

- 重构插件

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "nonebot-plugin-pjsk",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<=4,>=3.9",
    "maintainer_email": null,
    "keywords": "pjsk, nonebot2, plugin",
    "author": null,
    "author_email": "Agnes_Digital <Z735803792@163.com>, student_2333 <lgc2333@126.com>",
    "download_url": "https://files.pythonhosted.org/packages/10/b4/1028fb30976623af96fbdaa5422460e5e28c32f6bf4fffbb2291bee41117/nonebot_plugin_pjsk-0.4.1.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable MD024 MD026 MD031 MD033 MD036 MD041 -->\n\n<div align=\"center\">\n\n<a href=\"https://v2.nonebot.dev/store\">\n  <img src=\"https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\">\n</a>\n\n<p>\n  <img src=\"https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/plugin.svg\" alt=\"NoneBotPluginText\">\n</p>\n\n# NoneBot-Plugin-PJSK\n\n_\u2728 Project Sekai \u8868\u60c5\u5305\u5236\u4f5c \u2728_\n\n<img src=\"https://img.shields.io/badge/python-3.9+-blue.svg\" alt=\"python\">\n<a href=\"https://pdm.fming.dev\">\n  <img src=\"https://img.shields.io/badge/pdm-managed-blueviolet\" alt=\"pdm-managed\">\n</a>\n<a href=\"https://jq.qq.com/?_wv=1027&k=l82tMuPG\">\n  <img src=\"https://img.shields.io/badge/QQ%E7%BE%A4-424506063-orange\" alt=\"QQ Chat Group\">\n</a>\n\n<br />\n\n<a href=\"https://pydantic.dev\">\n  <img src=\"https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/template/pyd-v1-or-v2.json\" alt=\"Pydantic Version 1 Or 2\" >\n</a>\n<a href=\"./LICENSE\">\n  <img src=\"https://img.shields.io/github/license/Agnes4m/nonebot_plugin_pjsk.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-pjsk\">\n  <img src=\"https://img.shields.io/pypi/v/nonebot-plugin-pjsk.svg\" alt=\"pypi\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot-plugin-pjsk\">\n  <img src=\"https://img.shields.io/pypi/dm/nonebot-plugin-pjsk\" alt=\"pypi download\">\n</a>\n\n<br />\n\n<a href=\"https://registry.nonebot.dev/plugin/nonebot-plugin-pjsk:nonebot_plugin_pjsk\">\n  <img src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin%2Fnonebot-plugin-pjsk\" alt=\"NoneBot Registry\">\n</a>\n<a href=\"https://registry.nonebot.dev/plugin/nonebot-plugin-pjsk:nonebot_plugin_pjsk\">\n  <img src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fnbbdg.lgc2333.top%2Fplugin-adapters%2Fnonebot-plugin-pjsk\" alt=\"Supported Adapters\">\n</a>\n\n</div>\n\n## \ud83d\udcac \u524d\u8a00\n\n- ~~\u7531\u4e8e\u672c\u4eba\u6ca1\u73a9\u8fc7\u5564\u9152\u70e7\u70e4\uff0c~~ \u53ef\u80fd\u51fa\u73b0\u4e00\u4e9b\u5c0f\u95ee\u9898\uff0c\u53ef\u4ee5\u63d0 issue \u6216\u8005 [\u52a0\u7fa4](https://jq.qq.com/?_wv=1027&k=l82tMuPG)\u53cd\u9988 ~~\u6216\u8005\u5355\u7eaf\u8fdb\u6765\u73a9~~\n- \u672c\u9879\u76ee\u4ec5\u4f9b\u5b66\u4e60\u4f7f\u7528\uff0c\u8bf7\u52ff\u7528\u4e8e\u5546\u4e1a\u7528\u9014\uff0c\u559c\u6b22\u8be5\u9879\u76ee\u53ef\u4ee5 Star \u6216\u8005\u63d0\u4f9b PR\uff0c\u5982\u679c\u6784\u6210\u4fb5\u6743\u5c06\u5728 24 \u5c0f\u65f6\u5185\u5220\u9664\n\n<!-- - \u5982\u9047\u5b57\u4f53\u5927\u5c0f\u4e0d\u534f\u8c03\u95ee\u9898\uff0c\u8bf7\u66f4\u65b0\u63d2\u4ef6\u5230\u6700\u65b0\u7248\u672c\uff0c\u5e76\u4e14\u5220\u9664 `data/pjsk/fonts` \u6587\u4ef6\u5939\u4e0b\u7684\u6240\u6709\u6587\u4ef6 -->\n<!-- - \u5982\u679c\u9047\u5230\u8d44\u6e90\u6587\u4ef6\u4e0b\u8f7d\u5931\u8d25\u7684\u60c5\u51b5\uff0c\u8bf7\u53c2\u8003 [\u8fd9\u4e2a issue](https://github.com/Agnes4m/nonebot_plugin_pjsk/issues/15) -->\n\n## \ud83d\udcd6 \u4ecb\u7ecd\n\n### Wonderhoy!\n\n![Wonderhoy](https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/pjsk/wonderhoy.png)\n\n## \ud83d\udcbf \u5b89\u88c5\n\n\u4ee5\u4e0b\u63d0\u5230\u7684\u65b9\u6cd5 \u4efb\u9009**\u5176\u4e00** \u5373\u53ef\n\n<details open>\n<summary>[\u63a8\u8350] \u4f7f\u7528 nb-cli \u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u6839\u76ee\u5f55\u4e0b\u6253\u5f00\u547d\u4ee4\u884c, \u8f93\u5165\u4ee5\u4e0b\u6307\u4ee4\u5373\u53ef\u5b89\u88c5\n\n```bash\nnb plugin install nonebot-plugin-pjsk\n```\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528\u5305\u7ba1\u7406\u5668\u5b89\u88c5</summary>\n\u5728 nonebot2 \u9879\u76ee\u7684\u63d2\u4ef6\u76ee\u5f55\u4e0b, \u6253\u5f00\u547d\u4ee4\u884c, \u6839\u636e\u4f60\u4f7f\u7528\u7684\u5305\u7ba1\u7406\u5668, \u8f93\u5165\u76f8\u5e94\u7684\u5b89\u88c5\u547d\u4ee4\n\n<details>\n<summary>pip</summary>\n\n```bash\npip install nonebot-plugin-pjsk\n```\n\n</details>\n<details>\n<summary>pdm</summary>\n\n```bash\npdm add nonebot-plugin-pjsk\n```\n\n</details>\n<details>\n<summary>poetry</summary>\n\n```bash\npoetry add nonebot-plugin-pjsk\n```\n\n</details>\n<details>\n<summary>conda</summary>\n\n```bash\nconda install nonebot-plugin-pjsk\n```\n\n</details>\n\n\u6253\u5f00 nonebot2 \u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684 `pyproject.toml` \u6587\u4ef6, \u5728 `[tool.nonebot]` \u90e8\u5206\u7684 `plugins` \u9879\u91cc\u8ffd\u52a0\u5199\u5165\n\n```toml\n[tool.nonebot]\nplugins = [\n    # ...\n    \"nonebot_plugin_pjsk\"\n]\n```\n\n</details>\n\n## \u2699\ufe0f \u914d\u7f6e\n\n\u63d2\u4ef6\u5f00\u7bb1\u5373\u7528\uff0c\u6240\u6709\u914d\u7f6e\u9879\u7686\u4e3a\u53ef\u9009\u3002\u8bf7**\u6309\u9700\u6dfb\u52a0**\u4e0b\u9762\u7684\u914d\u7f6e\u9879\u5230 `.env` \u6587\u4ef6\u4e2d\n\n|        \u914d\u7f6e\u9879        | \u5fc5\u586b | \u9ed8\u8ba4\u503c  |                               \u8bf4\u660e                               |\n| :------------------: | :--: | :-----: | :--------------------------------------------------------------: |\n| `PJSK_ASSETS_PREFIX` |  \u5426  |   ...   | TheOriginalAyaka/sekai-stickers \u4ed3\u5e93 GitHubUserContent \u5730\u5740\u5217\u8868  |\n|  `PJSK_REPO_PREFIX`  |  \u5426  |   ...   |                \u672c\u4ed3\u5e93 GitHubUserContent \u5730\u5740\u5217\u8868                 |\n| `PJSK_HELP_AS_IMAGE` |  \u5426  | `True`  |                   \u662f\u5426\u5c06\u5e2e\u52a9\u4fe1\u606f\u6e32\u67d3\u4e3a\u56fe\u7247\u53d1\u9001                   |\n|     `PJSK_REPLY`     |  \u5426  | `True`  |                        \u662f\u5426\u56de\u590d\u6d88\u606f\u53d1\u9001\u8005                        |\n|   `PJSK_REQ_RETRY`   |  \u5426  |   `1`   |                    \u63d2\u4ef6\u8bf7\u6c42 URL \u65f6\u7684\u91cd\u8bd5\u6b21\u6570                     |\n|   `PJSK_REQ_PROXY`   |  \u5426  | `None`  |                     \u63d2\u4ef6\u4e0b\u8f7d\u8d44\u6e90\u65f6\u4f7f\u7528\u7684\u4ee3\u7406                     |\n|   `PJSK_USE_CACHE`   |  \u5426  | `True`  |                    \u662f\u5426\u7f13\u5b58\u63d2\u4ef6\u751f\u6210\u7684\u6240\u6709\u56fe\u7247                    |\n|  `PJSK_CLEAR_CACHE`  |  \u5426  | `False` | \u662f\u5426\u5728\u63d2\u4ef6\u542f\u52a8\u65f6\u6e05\u7a7a\u7f13\u5b58\u6587\u4ef6\u5939\uff0c\u7981\u7528\u65f6\u53ea\u4f1a\u6e05\u7406\u975e\u8868\u60c5\u5305\u7684\u56fe\u7247\u7f13\u5b58 |\n\n## \ud83c\udf89 \u4f7f\u7528\n\n\u76f4\u63a5\u4f7f\u7528\u6307\u4ee4 `pjsk` \u8fdb\u5165\u4ea4\u4e92\u521b\u5efa\u6a21\u5f0f\uff1b  \n\u4f7f\u7528\u6307\u4ee4 `pjsk -h` \u4e86\u89e3\u4f7f\u7528 Shell-Like \u6307\u4ee4\u521b\u5efa\u8868\u60c5\u7684\u5e2e\u52a9\n\n### \u6548\u679c\u56fe\n\n<details>\n<summary>\u4f7f\u7528\u4ea4\u4e92\u521b\u5efa\u6a21\u5f0f</summary>\n\n![example](https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/pjsk/example-interact.png)\n\n</details>\n\n<details>\n<summary>\u4f7f\u7528 Shell-Like \u6307\u4ee4</summary>\n\n![example](https://raw.githubusercontent.com/lgc-NB2Dev/readme/main/pjsk/example.png)\n\n</details>\n\n## \ud83d\udcde \u8054\u7cfb\n\n### Agnes Digital\n\nQQ \u7fa4: [424506063](https://jq.qq.com/?_wv=1027&k=l82tMuPG)\n\n### student_2333\n\nQQ\uff1a3076823485  \nTelegram\uff1a[@lgc2333](https://t.me/lgc2333)  \n\u5439\u6c34\u7fa4\uff1a[1105946125](https://jq.qq.com/?_wv=1027&k=Z3n1MpEp)  \n\u90ae\u7bb1\uff1a<lgc2333@126.com>\n\n## \ud83d\udca1 \u9e23\u8c22\n\n### [TheOriginalAyaka/sekai-stickers](https://github.com/TheOriginalAyaka/sekai-stickers)\n\n- \u539f\u9879\u76ee & \u7d20\u6750\u6765\u6e90\n\n## \ud83d\udcb0 \u8d5e\u52a9\n\n\u611f\u8c22\u5927\u5bb6\u7684\u8d5e\u52a9\uff01\u4f60\u4eec\u7684\u8d5e\u52a9\u5c06\u662f\u6211\u7ee7\u7eed\u521b\u4f5c\u7684\u52a8\u529b\uff01\n\n### Agnes Digital\n\n- [\u7231\u53d1\u7535](https://afdian.net/a/agnes_digital)\n\n### student_2333\n\n- [\u70b9\u8fd9\u91cc](https://blog.lgc2333.top/donate)\n\n## \ud83d\udcdd \u66f4\u65b0\u65e5\u5fd7\n\n### 0.4.0\n\n- \u9002\u914d Pydantic V1 & V2\n\n### 0.3.1\n\n- \u4fee\u590d\u65e0\u6cd5\u751f\u6210\u56fe\u7247\u7684 Bug\n\n### 0.3.0\n\n- \u91cd\u6784\u63d2\u4ef6\uff1a\n  - \u5f03\u7528 `imagetext-py` \u4e0e `Pillow`\uff0c\u6539\u7528 `htmlrender` \u6e32\u67d3 `svg`\uff08\u8868\u60c5\uff09 \u4e0e `html`\uff08\u603b\u89c8\u3001\u5e2e\u52a9\uff09\n  - \u5f03\u7528 `saa`\uff0c\u6362\u7528 `alconna`\n- \u914d\u7f6e\u9879\u66f4\u6539\uff1a\n  - \u6dfb\u52a0 `PJSK_USE_CACHE`\u3001`PJSK_CLEAR_CACHE`\n  - \u79fb\u9664 `PJSK_EMOJI_SOURCE`\u3001`PJSK_STICKER_FORMAT`\n  - `PJSK_REQ_RETRY` \u9ed8\u8ba4\u503c \u4ece `2` \u6539\u4e3a `1`\n  - `PJSK_ASSETS_PERFIX`\u3001`PJSK_REPO_PREFIX` \u9ed8\u8ba4\u503c \u5220\u9664 `ghproxy` \u6e90\n\n### 0.2.10\n\n- \u4fee\u590d\u6307\u5b9a\u4fdd\u5b58\u683c\u5f0f\u65e0\u6548\u7684 Bug\n- \u6dfb\u52a0\u6307\u4ee4\u53c2\u6570 `--auto-adjust`\uff08`-A`\uff09\n- \u5176\u4ed6\u5c0f\u4fee\u6539\n\n### 0.2.9\n\n- \u6307\u4ee4\u53c2\u6570\u589e\u52a0\u4e0e\u53d8\u66f4\uff1a\n  - \u4fee\u6539 `--line-spacing` \u53c2\u6570\u7b80\u5199\u4e3a `-S`\n  - \u589e\u52a0 `--stroke-color`\uff08`-C`\uff09\u53c2\u6570\n  - \u589e\u52a0 `--font-color`\uff08`-c`\uff09\u53c2\u6570\n  - \u589e\u52a0 `--format`\uff08`-f`\uff09\u53c2\u6570\n- \u914d\u7f6e\u9879\u589e\u52a0\u4e0e\u53d8\u66f4\uff1a\n  - \u589e\u52a0 `PJSK_REQ_RETRY`\u3001`PJSK_REQ_PROXY`\u3001`PJSK_STICKER_FORMAT`\n  - \u4fee\u6539 `PJSK_ASSETS_PREFIX`\u3001`PJSK_REPO_PREFIX` \u7c7b\u578b\u4e3a `List[str]`\n- \u5176\u4ed6\u5c0f\u4fee\u590d\uff0c\u5c0f\u4f18\u5316\n\n### 0.2.8\n\n- \u4fee\u590d\u65e0\u6cd5\u81ea\u5b9a\u4e49\u8868\u60c5\u6e90\u7684 bug\n\n### 0.2.7\n\n- \u4fee\u590d\u53c2\u6570\u4e3a `0` \u65f6\u4e0d\u751f\u6548\u7684 Bug\n- \u73b0\u5728\u53ef\u4ee5\u5173\u95ed\u56de\u590d\u6d88\u606f\u53d1\u9001\u8005\u7684\u7279\u6027\u4e86\n- \u547d\u4ee4\u53c2\u6570\u8c03\u6574\uff1a\n  - \u5220\u9664 `--weight` \u53c2\u6570\uff0c\u56e0\u4e3a\u6ca1\u6709\u5b9e\u9645\u610f\u4e49\n  - `--rotate` \u53c2\u6570\u53ef\u4ee5\u63a5\u53d7\u5c0f\u6570\u4e86\n  - `--stroke-width` \u53c2\u6570\u6dfb\u52a0\u7b80\u5199 `-W`\n  - `--line-spacing` \u53c2\u6570\u6dfb\u52a0\u7b80\u5199 `-C`\n\n### 0.2.6\n\n- \u63d2\u4ef6\u4f1a\u6309\u89d2\u8272\u540d\u91cd\u65b0\u6392\u5e8f\u8868\u60c5\u5217\u8868\u4e0e\u8868\u60c5 ID\uff0c\u4ee5\u9632\u6570\u636e\u6e90\u8868\u60c5 ID \u51b2\u7a81\n- \u89d2\u8272\u5217\u8868\u540d\u79f0\u5c55\u793a\u4f18\u5316\n\n### 0.2.5\n\n- \u4f7f\u7528\u81ea\u5df1\u5408\u5e76\u7684\u5b57\u4f53\u6587\u4ef6\u907f\u514d\u67d0\u4e9b\u5b57\u4e0d\u663e\u793a\u7684\u95ee\u9898\n\n### 0.2.4\n\n- \u5728\u4ea4\u4e92\u6a21\u5f0f\u4e2d\u63d0\u4f9b\u7684\u53c2\u6570\u4f1a\u53bb\u6389\u6307\u4ee4\u524d\u7f00\uff0c\u4ee5\u9632 Adapter \u5220\u6389\u53c2\u6570\u5f00\u5934\u7684 Bot \u6635\u79f0\uff0c\u5bfc\u81f4\u53c2\u6570\u4e0d\u5bf9\u7684\u60c5\u51b5\n- \u91cd\u5199\u5e2e\u52a9\u56fe\u7247\u7684\u6e32\u67d3\uff08\u4e2a\u4eba\u611f\u89c9\u6548\u679c\u8fd8\u4e0d\u662f\u5f88\u597d\u2026\u2026\uff09\n\n### 0.2.3\n\n- \u9650\u5236\u4e86\u8d34\u7eb8\u6587\u672c\u5927\u5c0f\uff0c\u4ee5\u514d Bot \u77ac\u95f4\u7206\u70b8\n- \u672a\u63d0\u4f9b\u5b57\u4f53\u5927\u5c0f\u65f6\u9002\u5e94\u6027\u8c03\u8282 ([#14](https://github.com/Agnes4m/nonebot_plugin_pjsk/issues/14))\n- \u53c2\u6570 `--rotate` \u6539\u4e3a\u63d0\u4f9b\u89d2\u5ea6\u503c\uff0c\u6b63\u6570\u4e3a\u987a\u65f6\u9488\u65cb\u8f6c\n- \u5c06\u6307\u4ee4\u5e2e\u52a9\u6e32\u67d3\u4e3a\u56fe\u7247\u53d1\u9001\uff08\u53ef\u4ee5\u5173\uff09\n- \u4e22\u6389\u4e86 `pil-utils` \u4f9d\u8d56\n\n### 0.2.2\n\n- \u4fee\u6539\u4e86 0.2.1 \u7248\u7684\u4ea4\u4e92\u521b\u5efa\u6a21\u5f0f\u7684\u89e6\u53d1\u65b9\u5f0f\n- \u8bd5\u9a8c\u6027\u5730\u652f\u6301\u4e86 Emoji\n\n### 0.2.1\n\n- \u66f4\u6539\u6307\u4ee4 `pjsk\u5217\u8868` \u7684\u4ea4\u4e92\u65b9\u5f0f\n\n### 0.2.0\n\n- \u91cd\u6784\u63d2\u4ef6\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Project Sekai Sticker Creator for NoneBot2.",
    "version": "0.4.1",
    "project_urls": {
        "homepage": "https://github.com/lgc-NB2Dev/nonebot-plugin-pjsk"
    },
    "split_keywords": [
        "pjsk",
        " nonebot2",
        " plugin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "41880f7f4355133c5a9bfa65a6ba43b03c7e32c3fd86aa726174634cd0f19f8f",
                "md5": "8b6a9a1ef1011d1e43098991ab18607c",
                "sha256": "07dbd5df47ec98ccaf1620710c048dacc1d51cfdcdc1da84816dacd5e38a4c17"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_pjsk-0.4.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8b6a9a1ef1011d1e43098991ab18607c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<=4,>=3.9",
            "size": 18708,
            "upload_time": "2024-12-05T05:16:30",
            "upload_time_iso_8601": "2024-12-05T05:16:30.880844Z",
            "url": "https://files.pythonhosted.org/packages/41/88/0f7f4355133c5a9bfa65a6ba43b03c7e32c3fd86aa726174634cd0f19f8f/nonebot_plugin_pjsk-0.4.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "10b41028fb30976623af96fbdaa5422460e5e28c32f6bf4fffbb2291bee41117",
                "md5": "57365a97ba62ba358bb4b7e8f06a6645",
                "sha256": "6735c2f84f57b20917a96f4ad983762da45e26df398240aa17ec38d7e8fd97c7"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_pjsk-0.4.1.tar.gz",
            "has_sig": false,
            "md5_digest": "57365a97ba62ba358bb4b7e8f06a6645",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<=4,>=3.9",
            "size": 18411,
            "upload_time": "2024-12-05T05:16:32",
            "upload_time_iso_8601": "2024-12-05T05:16:32.842653Z",
            "url": "https://files.pythonhosted.org/packages/10/b4/1028fb30976623af96fbdaa5422460e5e28c32f6bf4fffbb2291bee41117/nonebot_plugin_pjsk-0.4.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-05 05:16:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "lgc-NB2Dev",
    "github_project": "nonebot-plugin-pjsk",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "nonebot-plugin-pjsk"
}
        
Elapsed time: 0.52602s