nonebot-plugin-abstain-diary


Namenonebot-plugin-abstain-diary JSON
Version 0.1.0 PyPI version JSON
download
home_pagehttps://github.com/Ikaros-521/nonebot_plugin_abstain_diary
Summary适用于nonebot2 v11的戒x打卡日记插件
upload_time2022-12-25 08:50:43
maintainer
docs_urlNone
authorIkaros
requires_python>=3.8,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <div align="center">
  <a href="https://v2.nonebot.dev/store"><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png" width="180" height="180" alt="NoneBotPluginLogo"></a>
  <br>
  <p><img src="https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg" width="240" alt="NoneBotPluginText"></p>
</div>

<div align="center">

# nonebot_plugin_abstain_diary
  
_✨ NoneBot 戒x打卡日记 插件 ✨_
  
<a href="https://github.com/Ikaros-521/nonebot_plugin_abstain_diary/stargazers">
    <img alt="GitHub stars" src="https://img.shields.io/github/stars/Ikaros-521/nonebot_plugin_abstain_diary?color=%09%2300BFFF&style=flat-square">
</a>
<a href="https://github.com/Ikaros-521/nonebot_plugin_abstain_diary/issues">
    <img alt="GitHub issues" src="https://img.shields.io/github/issues/Ikaros-521/nonebot_plugin_abstain_diary?color=Emerald%20green&style=flat-square">
</a>
<a href="https://github.com/Ikaros-521/nonebot_plugin_abstain_diary/network">
    <img alt="GitHub forks" src="https://img.shields.io/github/forks/Ikaros-521/nonebot_plugin_abstain_diary?color=%2300BFFF&style=flat-square">
</a>
<a href="./LICENSE">
    <img src="https://img.shields.io/github/license/Ikaros-521/nonebot_plugin_abstain_diary.svg" alt="license">
</a>
<a href="https://pypi.python.org/pypi/nonebot_plugin_abstain_diary">
    <img src="https://img.shields.io/pypi/v/nonebot_plugin_abstain_diary.svg" alt="pypi">
</a>
<a href="https://www.python.org">
    <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
</a>

</div>

适用于nonebot2 v11的戒色打卡日记插件    

## 🔧 开发环境
Nonebot2:2.0.0b5  
python:3.8.13  
操作系统:Windows10(Linux兼容性问题不大)  
编辑器:VS Code  

## 💿 安装

### 1. nb-cli安装(推荐)
在你bot工程的文件夹下,运行cmd(运行路径要对啊),执行nb命令安装插件,插件配置会自动添加至配置文件  
```
nb plugin install nonebot_plugin_abstain_diary
```

### 2. 本地安装
将项目clone到你的机器人插件下的对应插件目录内(一般为机器人文件夹下的`src/plugins`),然后把`nonebot_plugin_abstain_diary`文件夹里的内容拷贝至上一级目录即可。  
clone命令参考(得先装`git`,懂的都懂):
```
git clone https://github.com/Ikaros-521/nonebot_plugin_abstain_diary.git
``` 
也可以直接下载压缩包到插件目录解压,然后同样提取`nonebot_plugin_abstain_diary`至上一级目录。  
目录结构: ```你的bot/src/plugins/nonebot_plugin_abstain_diary/__init__.py```  


### 3. pip安装
```
pip install nonebot_plugin_abstain_diary
```  
打开 nonebot2 项目的 ```bot.py``` 文件, 在其中写入  
```nonebot.load_plugin('nonebot_plugin_abstain_diary')```  
当然,如果是默认nb-cli创建的nonebot2的话,在bot路径```pyproject.toml```的```[tool.nonebot]```的```plugins```中添加```nonebot_plugin_abstain_diary```即可  
pyproject.toml配置例如:  
``` 
[tool.nonebot]
plugin_dirs = ["src/plugins"]
plugins = ["nonebot_plugin_abstain_diary"]
``` 

### 更新版本
```
nb plugin update nonebot_plugin_abstain_diary
```

## 🔧 配置  
暂无,感觉没必要自定义了,先不开放。  

## 🎉 功能
戒色打卡(群聊内使用)。将用户期望戒色天数,用户群,用户QQ昵称,用户当前戒色天数等信息记录于本地bot的data/data.json文件中,方便用户对自己戒色信息的相关查询。  
*财能使人贪,色能使人嗜,名能使人矜,潜能使人倚,四患既都去,岂在浮尘里。*  

## 👉 命令

以下命令使用时记得加上自己的命令前缀哦~(一般为/) 
下面的xx表示自定义内容,可以自行替换成你想要戒的内容。   

### 1、戒帮助
命令结构:```/戒帮助``` 或 ```/戒说明``` 或 ```/戒命令```  
例如:```/戒帮助```  
bot返回内容:  
```
戒命令如下(【】中的才是命令哦,记得加命令前缀):
【戒xx 目标】【戒xx 设置】,后面追加戒xx目标天数。例如:/戒氪金 目标 30

【戒xx】,每日打卡,请勿中断喵。例如:/戒氪金

【群戒】【戒情况】【群友戒情况】,查看本群所有戒情况。例如:/群戒

【戒xx 放弃】【戒xx 取消】,删除戒xx目标。例如:/戒氪金 放弃

财能使人贪,色能使人嗜,名能使人矜,潜能使人倚,四患既都去,岂在浮尘里。
```

### 2、戒xx 目标
命令结构:```/戒xx 目标``` 或 ```/戒xx 设置``` 后面追加 戒xx的目标天数  
例如:```/戒色 目标 30```  
bot返回内容:  
```
戒色目标天数:30,设置成功!今天是打卡第一天,加油!你我都有美好的未来!
```

### 3、戒xx
命令结构:```/戒xx``` 
例如:```/戒色```  
bot返回内容:  
```
戒色打卡成功!您已打卡1天!
```

### 4、群戒
命令结构:```/群戒``` 或 ```/戒情况``` 或 ```/群友戒情况```  
例如:```/群戒```  
bot返回内容:  
```
🥵🥵🥵群戒信息
打卡数  群昵称  目标数
——————————————
戒只因
1  小  5
1  黑  4
——————————————
戒霓
1  子  5
——————————————
```

### 4、戒xx 放弃
命令结构:```/戒xx 放弃``` 或 ```/戒xx 取消```  
例如:```/戒色 放弃```  
bot返回内容:  
```
戒色打卡已取消,您可以开冲啦!!!
```

![](docs/result.png)

## 📝 更新日志

<details>
<summary>展开/收起</summary>

### 0.0.1

- 插件初次发布  
  
### 0.0.2

- 修复首次运行数据文件加载失败bug
- 优化功能逻辑,设置目标即为开始打开第一天
- 优化文字描述

### 0.0.3

- 新增取消戒色功能
- 优化戒色目标天数校验
- 修复文件第二次加载时的数据异常bug

### 0.0.4

- 修复文件json数据加载bug
- 优化文档

### 0.0.5

- bug也太多了,绷

### 0.0.6

- 优化输出文字排版和描述

### 0.0.7

- 优化日志打印

### 0.0.8

- 添加插件元信息,标准化
- 文档描述优化

### 0.0.9

- 修改24h打卡间隔改为真实日期一天的间隔

### 0.1.0

- 重构项目,命令全部推翻,用户可以自己的戒的内容。


</details>

## 项目打包上传至pypi

官网:https://pypi.org,注册账号,在系统用户根目录下创建`.pypirc`,配置  
``` 
[distutils] 
index-servers=pypi 
 
[pypi] repository = https://upload.pypi.org/legacy/ 
username = 用户名 
password = 密码
```

### poetry

```
# 参考 https://www.freesion.com/article/58051228882/
# poetry config pypi-token.pypi

# 1、安装poetry
pip install poetry

# 2、初始化配置文件(根据提示填写)
poetry init

# 3、微调配置文件pyproject.toml

# 4、运行 poetry install, 可生成 “poetry.lock” 文件(可跳过)
poetry install

# 5、编译,生成dist
poetry build

# 6、发布(poetry config pypi-token.pypi 配置token)
poetry publish

```

### twine

```
# 参考 https://www.cnblogs.com/danhuai/p/14915042.html
#创建setup.py文件 填写相关信息

# 1、可以先升级打包工具
pip install --upgrade setuptools wheel twine

# 2、打包
python setup.py sdist bdist_wheel

# 3、可以先检查一下包
twine check dist/*

# 4、上传包到pypi(需输入用户名、密码)
twine upload dist/*
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Ikaros-521/nonebot_plugin_abstain_diary",
    "name": "nonebot-plugin-abstain-diary",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Ikaros",
    "author_email": "327209194@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/38/03/858857ac3d0e14b139056693a53bd1fabd924e9868fbcc360742d2eb1e4a/nonebot_plugin_abstain_diary-0.1.0.tar.gz",
    "platform": null,
    "description": "<div align=\"center\">\n  <a href=\"https://v2.nonebot.dev/store\"><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/nbp_logo.png\" width=\"180\" height=\"180\" alt=\"NoneBotPluginLogo\"></a>\n  <br>\n  <p><img src=\"https://github.com/A-kirami/nonebot-plugin-template/blob/resources/NoneBotPlugin.svg\" width=\"240\" alt=\"NoneBotPluginText\"></p>\n</div>\n\n<div align=\"center\">\n\n# nonebot_plugin_abstain_diary\n  \n_\u2728 NoneBot \u6212x\u6253\u5361\u65e5\u8bb0 \u63d2\u4ef6 \u2728_\n  \n<a href=\"https://github.com/Ikaros-521/nonebot_plugin_abstain_diary/stargazers\">\n    <img alt=\"GitHub stars\" src=\"https://img.shields.io/github/stars/Ikaros-521/nonebot_plugin_abstain_diary?color=%09%2300BFFF&style=flat-square\">\n</a>\n<a href=\"https://github.com/Ikaros-521/nonebot_plugin_abstain_diary/issues\">\n    <img alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Ikaros-521/nonebot_plugin_abstain_diary?color=Emerald%20green&style=flat-square\">\n</a>\n<a href=\"https://github.com/Ikaros-521/nonebot_plugin_abstain_diary/network\">\n    <img alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/Ikaros-521/nonebot_plugin_abstain_diary?color=%2300BFFF&style=flat-square\">\n</a>\n<a href=\"./LICENSE\">\n    <img src=\"https://img.shields.io/github/license/Ikaros-521/nonebot_plugin_abstain_diary.svg\" alt=\"license\">\n</a>\n<a href=\"https://pypi.python.org/pypi/nonebot_plugin_abstain_diary\">\n    <img src=\"https://img.shields.io/pypi/v/nonebot_plugin_abstain_diary.svg\" alt=\"pypi\">\n</a>\n<a href=\"https://www.python.org\">\n    <img src=\"https://img.shields.io/badge/python-3.8+-blue.svg\" alt=\"python\">\n</a>\n\n</div>\n\n\u9002\u7528\u4e8enonebot2 v11\u7684\u6212\u8272\u6253\u5361\u65e5\u8bb0\u63d2\u4ef6    \n\n## \ud83d\udd27 \u5f00\u53d1\u73af\u5883\nNonebot2\uff1a2.0.0b5  \npython\uff1a3.8.13  \n\u64cd\u4f5c\u7cfb\u7edf\uff1aWindows10\uff08Linux\u517c\u5bb9\u6027\u95ee\u9898\u4e0d\u5927\uff09  \n\u7f16\u8f91\u5668\uff1aVS Code  \n\n## \ud83d\udcbf \u5b89\u88c5\n\n### 1. nb-cli\u5b89\u88c5\uff08\u63a8\u8350\uff09\n\u5728\u4f60bot\u5de5\u7a0b\u7684\u6587\u4ef6\u5939\u4e0b\uff0c\u8fd0\u884ccmd\uff08\u8fd0\u884c\u8def\u5f84\u8981\u5bf9\u554a\uff09\uff0c\u6267\u884cnb\u547d\u4ee4\u5b89\u88c5\u63d2\u4ef6\uff0c\u63d2\u4ef6\u914d\u7f6e\u4f1a\u81ea\u52a8\u6dfb\u52a0\u81f3\u914d\u7f6e\u6587\u4ef6  \n```\nnb plugin install nonebot_plugin_abstain_diary\n```\n\n### 2. \u672c\u5730\u5b89\u88c5\n\u5c06\u9879\u76eeclone\u5230\u4f60\u7684\u673a\u5668\u4eba\u63d2\u4ef6\u4e0b\u7684\u5bf9\u5e94\u63d2\u4ef6\u76ee\u5f55\u5185\uff08\u4e00\u822c\u4e3a\u673a\u5668\u4eba\u6587\u4ef6\u5939\u4e0b\u7684`src/plugins`\uff09\uff0c\u7136\u540e\u628a`nonebot_plugin_abstain_diary`\u6587\u4ef6\u5939\u91cc\u7684\u5185\u5bb9\u62f7\u8d1d\u81f3\u4e0a\u4e00\u7ea7\u76ee\u5f55\u5373\u53ef\u3002  \nclone\u547d\u4ee4\u53c2\u8003\uff08\u5f97\u5148\u88c5`git`\uff0c\u61c2\u7684\u90fd\u61c2\uff09\uff1a\n```\ngit clone https://github.com/Ikaros-521/nonebot_plugin_abstain_diary.git\n``` \n\u4e5f\u53ef\u4ee5\u76f4\u63a5\u4e0b\u8f7d\u538b\u7f29\u5305\u5230\u63d2\u4ef6\u76ee\u5f55\u89e3\u538b\uff0c\u7136\u540e\u540c\u6837\u63d0\u53d6`nonebot_plugin_abstain_diary`\u81f3\u4e0a\u4e00\u7ea7\u76ee\u5f55\u3002  \n\u76ee\u5f55\u7ed3\u6784\uff1a ```\u4f60\u7684bot/src/plugins/nonebot_plugin_abstain_diary/__init__.py```  \n\n\n### 3. pip\u5b89\u88c5\n```\npip install nonebot_plugin_abstain_diary\n```  \n\u6253\u5f00 nonebot2 \u9879\u76ee\u7684 ```bot.py``` \u6587\u4ef6, \u5728\u5176\u4e2d\u5199\u5165  \n```nonebot.load_plugin('nonebot_plugin_abstain_diary')```  \n\u5f53\u7136\uff0c\u5982\u679c\u662f\u9ed8\u8ba4nb-cli\u521b\u5efa\u7684nonebot2\u7684\u8bdd\uff0c\u5728bot\u8def\u5f84```pyproject.toml```\u7684```[tool.nonebot]```\u7684```plugins```\u4e2d\u6dfb\u52a0```nonebot_plugin_abstain_diary```\u5373\u53ef  \npyproject.toml\u914d\u7f6e\u4f8b\u5982\uff1a  \n``` \n[tool.nonebot]\nplugin_dirs = [\"src/plugins\"]\nplugins = [\"nonebot_plugin_abstain_diary\"]\n``` \n\n### \u66f4\u65b0\u7248\u672c\n```\nnb plugin update nonebot_plugin_abstain_diary\n```\n\n## \ud83d\udd27 \u914d\u7f6e  \n\u6682\u65e0\uff0c\u611f\u89c9\u6ca1\u5fc5\u8981\u81ea\u5b9a\u4e49\u4e86\uff0c\u5148\u4e0d\u5f00\u653e\u3002  \n\n## \ud83c\udf89 \u529f\u80fd\n\u6212\u8272\u6253\u5361\uff08\u7fa4\u804a\u5185\u4f7f\u7528\uff09\u3002\u5c06\u7528\u6237\u671f\u671b\u6212\u8272\u5929\u6570\uff0c\u7528\u6237\u7fa4\uff0c\u7528\u6237QQ\u6635\u79f0\uff0c\u7528\u6237\u5f53\u524d\u6212\u8272\u5929\u6570\u7b49\u4fe1\u606f\u8bb0\u5f55\u4e8e\u672c\u5730bot\u7684data/data.json\u6587\u4ef6\u4e2d\uff0c\u65b9\u4fbf\u7528\u6237\u5bf9\u81ea\u5df1\u6212\u8272\u4fe1\u606f\u7684\u76f8\u5173\u67e5\u8be2\u3002  \n*\u8d22\u80fd\u4f7f\u4eba\u8d2a\uff0c\u8272\u80fd\u4f7f\u4eba\u55dc\uff0c\u540d\u80fd\u4f7f\u4eba\u77dc\uff0c\u6f5c\u80fd\u4f7f\u4eba\u501a\uff0c\u56db\u60a3\u65e2\u90fd\u53bb\uff0c\u5c82\u5728\u6d6e\u5c18\u91cc\u3002*  \n\n## \ud83d\udc49 \u547d\u4ee4\n\n\u4ee5\u4e0b\u547d\u4ee4\u4f7f\u7528\u65f6\u8bb0\u5f97\u52a0\u4e0a\u81ea\u5df1\u7684\u547d\u4ee4\u524d\u7f00\u54e6~\uff08\u4e00\u822c\u4e3a/\uff09 \n\u4e0b\u9762\u7684xx\u8868\u793a\u81ea\u5b9a\u4e49\u5185\u5bb9\uff0c\u53ef\u4ee5\u81ea\u884c\u66ff\u6362\u6210\u4f60\u60f3\u8981\u6212\u7684\u5185\u5bb9\u3002   \n\n### 1\u3001\u6212\u5e2e\u52a9\n\u547d\u4ee4\u7ed3\u6784\uff1a```/\u6212\u5e2e\u52a9``` \u6216 ```/\u6212\u8bf4\u660e``` \u6216 ```/\u6212\u547d\u4ee4```  \n\u4f8b\u5982\uff1a```/\u6212\u5e2e\u52a9```  \nbot\u8fd4\u56de\u5185\u5bb9\uff1a  \n```\n\u6212\u547d\u4ee4\u5982\u4e0b(\u3010\u3011\u4e2d\u7684\u624d\u662f\u547d\u4ee4\u54e6\uff0c\u8bb0\u5f97\u52a0\u547d\u4ee4\u524d\u7f00)\uff1a\n\u3010\u6212xx \u76ee\u6807\u3011\u3010\u6212xx \u8bbe\u7f6e\u3011\uff0c\u540e\u9762\u8ffd\u52a0\u6212xx\u76ee\u6807\u5929\u6570\u3002\u4f8b\u5982\uff1a/\u6212\u6c2a\u91d1 \u76ee\u6807 30\n\n\u3010\u6212xx\u3011\uff0c\u6bcf\u65e5\u6253\u5361\uff0c\u8bf7\u52ff\u4e2d\u65ad\u55b5\u3002\u4f8b\u5982\uff1a/\u6212\u6c2a\u91d1\n\n\u3010\u7fa4\u6212\u3011\u3010\u6212\u60c5\u51b5\u3011\u3010\u7fa4\u53cb\u6212\u60c5\u51b5\u3011\uff0c\u67e5\u770b\u672c\u7fa4\u6240\u6709\u6212\u60c5\u51b5\u3002\u4f8b\u5982\uff1a/\u7fa4\u6212\n\n\u3010\u6212xx \u653e\u5f03\u3011\u3010\u6212xx \u53d6\u6d88\u3011\uff0c\u5220\u9664\u6212xx\u76ee\u6807\u3002\u4f8b\u5982\uff1a/\u6212\u6c2a\u91d1 \u653e\u5f03\n\n\u8d22\u80fd\u4f7f\u4eba\u8d2a\uff0c\u8272\u80fd\u4f7f\u4eba\u55dc\uff0c\u540d\u80fd\u4f7f\u4eba\u77dc\uff0c\u6f5c\u80fd\u4f7f\u4eba\u501a\uff0c\u56db\u60a3\u65e2\u90fd\u53bb\uff0c\u5c82\u5728\u6d6e\u5c18\u91cc\u3002\n```\n\n### 2\u3001\u6212xx \u76ee\u6807\n\u547d\u4ee4\u7ed3\u6784\uff1a```/\u6212xx \u76ee\u6807``` \u6216 ```/\u6212xx \u8bbe\u7f6e``` \u540e\u9762\u8ffd\u52a0 \u6212xx\u7684\u76ee\u6807\u5929\u6570  \n\u4f8b\u5982\uff1a```/\u6212\u8272 \u76ee\u6807 30```  \nbot\u8fd4\u56de\u5185\u5bb9\uff1a  \n```\n\u6212\u8272\u76ee\u6807\u5929\u6570\uff1a30\uff0c\u8bbe\u7f6e\u6210\u529f\uff01\u4eca\u5929\u662f\u6253\u5361\u7b2c\u4e00\u5929\uff0c\u52a0\u6cb9\uff01\u4f60\u6211\u90fd\u6709\u7f8e\u597d\u7684\u672a\u6765\uff01\n```\n\n### 3\u3001\u6212xx\n\u547d\u4ee4\u7ed3\u6784\uff1a```/\u6212xx``` \n\u4f8b\u5982\uff1a```/\u6212\u8272```  \nbot\u8fd4\u56de\u5185\u5bb9\uff1a  \n```\n\u6212\u8272\u6253\u5361\u6210\u529f\uff01\u60a8\u5df2\u6253\u53611\u5929\uff01\n```\n\n### 4\u3001\u7fa4\u6212\n\u547d\u4ee4\u7ed3\u6784\uff1a```/\u7fa4\u6212``` \u6216 ```/\u6212\u60c5\u51b5``` \u6216 ```/\u7fa4\u53cb\u6212\u60c5\u51b5```  \n\u4f8b\u5982\uff1a```/\u7fa4\u6212```  \nbot\u8fd4\u56de\u5185\u5bb9\uff1a  \n```\n\ud83e\udd75\ud83e\udd75\ud83e\udd75\u7fa4\u6212\u4fe1\u606f\n\u6253\u5361\u6570  \u7fa4\u6635\u79f0  \u76ee\u6807\u6570\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\n\u6212\u53ea\u56e0\n1  \u5c0f  5\n1  \u9ed1  4\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\n\u6212\u9713\n1  \u5b50  5\n\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\u2014\n```\n\n### 4\u3001\u6212xx \u653e\u5f03\n\u547d\u4ee4\u7ed3\u6784\uff1a```/\u6212xx \u653e\u5f03``` \u6216 ```/\u6212xx \u53d6\u6d88```  \n\u4f8b\u5982\uff1a```/\u6212\u8272 \u653e\u5f03```  \nbot\u8fd4\u56de\u5185\u5bb9\uff1a  \n```\n\u6212\u8272\u6253\u5361\u5df2\u53d6\u6d88\uff0c\u60a8\u53ef\u4ee5\u5f00\u51b2\u5566\uff01\uff01\uff01\n```\n\n![](docs/result.png)\n\n## \ud83d\udcdd \u66f4\u65b0\u65e5\u5fd7\n\n<details>\n<summary>\u5c55\u5f00/\u6536\u8d77</summary>\n\n### 0.0.1\n\n- \u63d2\u4ef6\u521d\u6b21\u53d1\u5e03  \n  \n### 0.0.2\n\n- \u4fee\u590d\u9996\u6b21\u8fd0\u884c\u6570\u636e\u6587\u4ef6\u52a0\u8f7d\u5931\u8d25bug\n- \u4f18\u5316\u529f\u80fd\u903b\u8f91\uff0c\u8bbe\u7f6e\u76ee\u6807\u5373\u4e3a\u5f00\u59cb\u6253\u5f00\u7b2c\u4e00\u5929\n- \u4f18\u5316\u6587\u5b57\u63cf\u8ff0\n\n### 0.0.3\n\n- \u65b0\u589e\u53d6\u6d88\u6212\u8272\u529f\u80fd\n- \u4f18\u5316\u6212\u8272\u76ee\u6807\u5929\u6570\u6821\u9a8c\n- \u4fee\u590d\u6587\u4ef6\u7b2c\u4e8c\u6b21\u52a0\u8f7d\u65f6\u7684\u6570\u636e\u5f02\u5e38bug\n\n### 0.0.4\n\n- \u4fee\u590d\u6587\u4ef6json\u6570\u636e\u52a0\u8f7dbug\n- \u4f18\u5316\u6587\u6863\n\n### 0.0.5\n\n- bug\u4e5f\u592a\u591a\u4e86\uff0c\u7ef7\n\n### 0.0.6\n\n- \u4f18\u5316\u8f93\u51fa\u6587\u5b57\u6392\u7248\u548c\u63cf\u8ff0\n\n### 0.0.7\n\n- \u4f18\u5316\u65e5\u5fd7\u6253\u5370\n\n### 0.0.8\n\n- \u6dfb\u52a0\u63d2\u4ef6\u5143\u4fe1\u606f\uff0c\u6807\u51c6\u5316\n- \u6587\u6863\u63cf\u8ff0\u4f18\u5316\n\n### 0.0.9\n\n- \u4fee\u653924h\u6253\u5361\u95f4\u9694\u6539\u4e3a\u771f\u5b9e\u65e5\u671f\u4e00\u5929\u7684\u95f4\u9694\n\n### 0.1.0\n\n- \u91cd\u6784\u9879\u76ee\uff0c\u547d\u4ee4\u5168\u90e8\u63a8\u7ffb\uff0c\u7528\u6237\u53ef\u4ee5\u81ea\u5df1\u7684\u6212\u7684\u5185\u5bb9\u3002\n\n\n</details>\n\n## \u9879\u76ee\u6253\u5305\u4e0a\u4f20\u81f3pypi\n\n\u5b98\u7f51\uff1ahttps://pypi.org\uff0c\u6ce8\u518c\u8d26\u53f7\uff0c\u5728\u7cfb\u7edf\u7528\u6237\u6839\u76ee\u5f55\u4e0b\u521b\u5efa`.pypirc`\uff0c\u914d\u7f6e  \n``` \n[distutils] \nindex-servers=pypi \n \n[pypi] repository = https://upload.pypi.org/legacy/ \nusername = \u7528\u6237\u540d \npassword = \u5bc6\u7801\n```\n\n### poetry\n\n```\n# \u53c2\u8003 https://www.freesion.com/article/58051228882/\n# poetry config pypi-token.pypi\n\n# 1\u3001\u5b89\u88c5poetry\npip install poetry\n\n# 2\u3001\u521d\u59cb\u5316\u914d\u7f6e\u6587\u4ef6\uff08\u6839\u636e\u63d0\u793a\u586b\u5199\uff09\npoetry init\n\n# 3\u3001\u5fae\u8c03\u914d\u7f6e\u6587\u4ef6pyproject.toml\n\n# 4\u3001\u8fd0\u884c poetry install, \u53ef\u751f\u6210 \u201cpoetry.lock\u201d \u6587\u4ef6\uff08\u53ef\u8df3\u8fc7\uff09\npoetry install\n\n# 5\u3001\u7f16\u8bd1\uff0c\u751f\u6210dist\npoetry build\n\n# 6\u3001\u53d1\u5e03(poetry config pypi-token.pypi \u914d\u7f6etoken)\npoetry publish\n\n```\n\n### twine\n\n```\n# \u53c2\u8003 https://www.cnblogs.com/danhuai/p/14915042.html\n#\u521b\u5efasetup.py\u6587\u4ef6 \u586b\u5199\u76f8\u5173\u4fe1\u606f\n\n# 1\u3001\u53ef\u4ee5\u5148\u5347\u7ea7\u6253\u5305\u5de5\u5177\npip install --upgrade setuptools wheel twine\n\n# 2\u3001\u6253\u5305\npython setup.py sdist bdist_wheel\n\n# 3\u3001\u53ef\u4ee5\u5148\u68c0\u67e5\u4e00\u4e0b\u5305\ntwine check dist/*\n\n# 4\u3001\u4e0a\u4f20\u5305\u5230pypi\uff08\u9700\u8f93\u5165\u7528\u6237\u540d\u3001\u5bc6\u7801\uff09\ntwine upload dist/*\n```",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "\u9002\u7528\u4e8enonebot2 v11\u7684\u6212x\u6253\u5361\u65e5\u8bb0\u63d2\u4ef6",
    "version": "0.1.0",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "d54f89199425a95bf76bad81aa2c589d",
                "sha256": "fc0250dab96bc9413b5891d884671e5b68b6b23b7613ae1e217f053fd9da2f65"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_abstain_diary-0.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d54f89199425a95bf76bad81aa2c589d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8,<4.0",
            "size": 8999,
            "upload_time": "2022-12-25T08:50:42",
            "upload_time_iso_8601": "2022-12-25T08:50:42.073063Z",
            "url": "https://files.pythonhosted.org/packages/1a/f6/b55f00d7a93848932ff53799c41f617df4563495899db9800fc79cf8f814/nonebot_plugin_abstain_diary-0.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "cab3e40b7c857b3ac3f77f314e0468e7",
                "sha256": "4d367deb8767843b0f205c1a3a8fdea2b95bd38df31b194c981fec312aba8baf"
            },
            "downloads": -1,
            "filename": "nonebot_plugin_abstain_diary-0.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "cab3e40b7c857b3ac3f77f314e0468e7",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8,<4.0",
            "size": 9812,
            "upload_time": "2022-12-25T08:50:43",
            "upload_time_iso_8601": "2022-12-25T08:50:43.237453Z",
            "url": "https://files.pythonhosted.org/packages/38/03/858857ac3d0e14b139056693a53bd1fabd924e9868fbcc360742d2eb1e4a/nonebot_plugin_abstain_diary-0.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-25 08:50:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Ikaros-521",
    "github_project": "nonebot_plugin_abstain_diary",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "nonebot-plugin-abstain-diary"
}
        
Elapsed time: 0.02363s