nonebot-plugin-dialectlist 2.6.0__tar.gz → 2.6.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {nonebot_plugin_dialectlist-2.6.0/nonebot_plugin_dialectlist.egg-info → nonebot_plugin_dialectlist-2.6.2}/PKG-INFO +23 -56
  2. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/README.md +19 -52
  3. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2/nonebot_plugin_dialectlist.egg-info}/PKG-INFO +23 -56
  4. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist.egg-info/requires.txt +1 -1
  5. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/pyproject.toml +3 -3
  6. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/LICENSE +0 -0
  7. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/MANIFEST.in +0 -0
  8. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/__init__.py +0 -0
  9. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/config.py +0 -0
  10. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/model.py +0 -0
  11. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/storage.py +0 -0
  12. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/template/avatar/default.jpg +0 -0
  13. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/template/css/style.css +0 -0
  14. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/template/rank_template.j2 +0 -0
  15. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/time.py +0 -0
  16. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/usage.py +0 -0
  17. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist/utils.py +0 -0
  18. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist.egg-info/SOURCES.txt +0 -0
  19. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist.egg-info/dependency_links.txt +0 -0
  20. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/nonebot_plugin_dialectlist.egg-info/top_level.txt +0 -0
  21. {nonebot_plugin_dialectlist-2.6.0 → nonebot_plugin_dialectlist-2.6.2}/setup.cfg +0 -0
@@ -1,13 +1,13 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: nonebot-plugin-dialectlist
3
- Version: 2.6.0
3
+ Version: 2.6.2
4
4
  Summary: 看看你群群友有多能说
5
5
  Author-email: Chen_Xu233 <woyerpa@outlook.com>
6
6
  License: MIT
7
- Requires-Python: <3.13,>=3.9
7
+ Requires-Python: <4.0,>=3.9
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
- Requires-Dist: nonebot-plugin-chatrecorder>=0.6.0
10
+ Requires-Dist: nonebot-plugin-chatrecorder<0.7.0,>=0.6.0
11
11
  Requires-Dist: nonebot-plugin-orm[default]
12
12
  Requires-Dist: nonebot-plugin-apscheduler>=0.4.0
13
13
  Requires-Dist: nonebot-plugin-alconna>=0.50.2
@@ -82,15 +82,20 @@ nb plugin install nonebot-plugin-dialectlist
82
82
 
83
83
  在 .env 中,可以添加以下配置项
84
84
  ```python
85
- dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
86
- dialectlist__get_num = 10 #获取人数数量
87
- dialectlist__visualization = True #是否可视化
88
- # dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
89
- dialectlist__font = "SimHei" #字体格式
90
- dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
91
- dialectlist__excluded_self = True #是否排除机器人自己 QQ
92
- dialectlist__suffix: bool = False # 是否显示后缀
93
- dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
85
+ dialectlist__get_num: int = 5 # 获取人数数量
86
+ dialectlist__font: str = "SimHei" # 字体格式
87
+ dialectlist__suffix: bool = True # 是否显示后缀
88
+ dialectlist__excluded_self: bool = True # 是否排除自己
89
+ dialectlist__visualization: bool = True # 是否可视化
90
+ dialectlist__show_text_rank: bool = True # 是否显示文本排名
91
+ dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
92
+ dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
93
+ dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
94
+ dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
95
+ dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
96
+ dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
97
+ dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
98
+ dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
94
99
  ```
95
100
  💭也可以不进行配置,这将会使插件按照默认配置运行
96
101
 
@@ -98,6 +103,8 @@ dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式
98
103
 
99
104
  > 在旧版插件(2.0.0 以下)中,dialectlist 与后面的配置项只隔了一个下划线,若更新到新版本以后需要俩个下划线。
100
105
 
106
+ > 由于插件依赖chatrecord多次引入爆炸性修改,建议在遇到问题后优先尝试降级chatrecord插件
107
+
101
108
  ## 🗨命令
102
109
  __!!注意!!__
103
110
  新版本指令调用方式改变,改为更易理解也更好打的 B 话榜。
@@ -154,6 +161,9 @@ __!!注意!!__
154
161
  `/kkb 114514 1919810 ♂`
155
162
  `/kkb @man -k ♂`
156
163
 
164
+ > [!IMPORTANT]
165
+ > 关键词支持正则表达式!
166
+
157
167
  ## 💪 目前支持的平台
158
168
 
159
169
  | 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
@@ -223,49 +233,6 @@ __!!注意!!__
223
233
 
224
234
  待补充。.....
225
235
 
226
- ## 📖版本日志
227
-
228
- <details>
229
- <summary>点我展开</summary>
230
-
231
- ### V1.0
232
-
233
- - 看看群里群友能有多话痨
234
-
235
- ### V1.1
236
-
237
- - 支持频道咯!(*^_^*)
238
-
239
- ### V1.2
240
-
241
- - 排行榜可视化
242
-
243
- ### V1.3
244
-
245
- - 添加了一些可配置项
246
-
247
- ### V1.4
248
-
249
- - 适配新版本的 chatrecorder, 暂时停止频道支持
250
-
251
- ### V2.0
252
-
253
- - 理论支持全平台!暂停图片支持。
254
-
255
-
256
- ### V2.1
257
-
258
- - 恢复图片支持。
259
-
260
- ### V2.2
261
-
262
- - 优化代码,添加一些新的可配置项。
263
-
264
- ### V2.4
265
-
266
- - 添加一些新的可配置项。
267
-
268
- </details>
269
236
 
270
237
  ### 👾题外话
271
238
  ~~整个项目快被我写成屎山了~~
@@ -54,15 +54,20 @@ nb plugin install nonebot-plugin-dialectlist
54
54
 
55
55
  在 .env 中,可以添加以下配置项
56
56
  ```python
57
- dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
58
- dialectlist__get_num = 10 #获取人数数量
59
- dialectlist__visualization = True #是否可视化
60
- # dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
61
- dialectlist__font = "SimHei" #字体格式
62
- dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
63
- dialectlist__excluded_self = True #是否排除机器人自己 QQ
64
- dialectlist__suffix: bool = False # 是否显示后缀
65
- dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
57
+ dialectlist__get_num: int = 5 # 获取人数数量
58
+ dialectlist__font: str = "SimHei" # 字体格式
59
+ dialectlist__suffix: bool = True # 是否显示后缀
60
+ dialectlist__excluded_self: bool = True # 是否排除自己
61
+ dialectlist__visualization: bool = True # 是否可视化
62
+ dialectlist__show_text_rank: bool = True # 是否显示文本排名
63
+ dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
64
+ dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
65
+ dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
66
+ dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
67
+ dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
68
+ dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
69
+ dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
70
+ dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
66
71
  ```
67
72
  💭也可以不进行配置,这将会使插件按照默认配置运行
68
73
 
@@ -70,6 +75,8 @@ dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式
70
75
 
71
76
  > 在旧版插件(2.0.0 以下)中,dialectlist 与后面的配置项只隔了一个下划线,若更新到新版本以后需要俩个下划线。
72
77
 
78
+ > 由于插件依赖chatrecord多次引入爆炸性修改,建议在遇到问题后优先尝试降级chatrecord插件
79
+
73
80
  ## 🗨命令
74
81
  __!!注意!!__
75
82
  新版本指令调用方式改变,改为更易理解也更好打的 B 话榜。
@@ -126,6 +133,9 @@ __!!注意!!__
126
133
  `/kkb 114514 1919810 ♂`
127
134
  `/kkb @man -k ♂`
128
135
 
136
+ > [!IMPORTANT]
137
+ > 关键词支持正则表达式!
138
+
129
139
  ## 💪 目前支持的平台
130
140
 
131
141
  | 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
@@ -195,49 +205,6 @@ __!!注意!!__
195
205
 
196
206
  待补充。.....
197
207
 
198
- ## 📖版本日志
199
-
200
- <details>
201
- <summary>点我展开</summary>
202
-
203
- ### V1.0
204
-
205
- - 看看群里群友能有多话痨
206
-
207
- ### V1.1
208
-
209
- - 支持频道咯!(*^_^*)
210
-
211
- ### V1.2
212
-
213
- - 排行榜可视化
214
-
215
- ### V1.3
216
-
217
- - 添加了一些可配置项
218
-
219
- ### V1.4
220
-
221
- - 适配新版本的 chatrecorder, 暂时停止频道支持
222
-
223
- ### V2.0
224
-
225
- - 理论支持全平台!暂停图片支持。
226
-
227
-
228
- ### V2.1
229
-
230
- - 恢复图片支持。
231
-
232
- ### V2.2
233
-
234
- - 优化代码,添加一些新的可配置项。
235
-
236
- ### V2.4
237
-
238
- - 添加一些新的可配置项。
239
-
240
- </details>
241
208
 
242
209
  ### 👾题外话
243
210
  ~~整个项目快被我写成屎山了~~
@@ -1,13 +1,13 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: nonebot-plugin-dialectlist
3
- Version: 2.6.0
3
+ Version: 2.6.2
4
4
  Summary: 看看你群群友有多能说
5
5
  Author-email: Chen_Xu233 <woyerpa@outlook.com>
6
6
  License: MIT
7
- Requires-Python: <3.13,>=3.9
7
+ Requires-Python: <4.0,>=3.9
8
8
  Description-Content-Type: text/markdown
9
9
  License-File: LICENSE
10
- Requires-Dist: nonebot-plugin-chatrecorder>=0.6.0
10
+ Requires-Dist: nonebot-plugin-chatrecorder<0.7.0,>=0.6.0
11
11
  Requires-Dist: nonebot-plugin-orm[default]
12
12
  Requires-Dist: nonebot-plugin-apscheduler>=0.4.0
13
13
  Requires-Dist: nonebot-plugin-alconna>=0.50.2
@@ -82,15 +82,20 @@ nb plugin install nonebot-plugin-dialectlist
82
82
 
83
83
  在 .env 中,可以添加以下配置项
84
84
  ```python
85
- dialectlist__string_format = "第{index}名:\n{nickname},{chatdatanum}条消息、\n" #消息格式
86
- dialectlist__get_num = 10 #获取人数数量
87
- dialectlist__visualization = True #是否可视化
88
- # dialectlist__visualization_type = "圆环图" #可视化方案 (不再支持)
89
- dialectlist__font = "SimHei" #字体格式
90
- dialectlist__excluded_people = [] #排除的人的 QQ 号(或频道号?(未经测试))
91
- dialectlist__excluded_self = True #是否排除机器人自己 QQ
92
- dialectlist__suffix: bool = False # 是否显示后缀
93
- dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式后缀
85
+ dialectlist__get_num: int = 5 # 获取人数数量
86
+ dialectlist__font: str = "SimHei" # 字体格式
87
+ dialectlist__suffix: bool = True # 是否显示后缀
88
+ dialectlist__excluded_self: bool = True # 是否排除自己
89
+ dialectlist__visualization: bool = True # 是否可视化
90
+ dialectlist__show_text_rank: bool = True # 是否显示文本排名
91
+ dialectlist__counting_cache: bool = False # 计数缓存(能够提高回复速度)
92
+ dialectlist__excluded_people: List[str] = [] # 排除的人的QQ号
93
+ dialectlist__use_user_info_cache: bool = False # 是否使用用户信息缓存
94
+ dialectlist__aggregate_transmission: bool = False # 是否聚合转发消息
95
+ dialectlist__timezone: Optional[str] = "Asia/Shanghai" # 时区,影响统计时间
96
+ dialectlist__string_suffix: str = "统计花费时间:{timecost}秒" # 消息格式后缀
97
+ dialectlist__template_path: str = "./template/rank_template.j2" # 模板路径
98
+ dialectlist__string_format: str = "第{index}名:\n{nickname},{chatdatanum}条消息\n" # 消息格式
94
99
  ```
95
100
  💭也可以不进行配置,这将会使插件按照默认配置运行
96
101
 
@@ -98,6 +103,8 @@ dialectlist__string_suffix: str = "统计花费时间{timecost}" # 消息格式
98
103
 
99
104
  > 在旧版插件(2.0.0 以下)中,dialectlist 与后面的配置项只隔了一个下划线,若更新到新版本以后需要俩个下划线。
100
105
 
106
+ > 由于插件依赖chatrecord多次引入爆炸性修改,建议在遇到问题后优先尝试降级chatrecord插件
107
+
101
108
  ## 🗨命令
102
109
  __!!注意!!__
103
110
  新版本指令调用方式改变,改为更易理解也更好打的 B 话榜。
@@ -154,6 +161,9 @@ __!!注意!!__
154
161
  `/kkb 114514 1919810 ♂`
155
162
  `/kkb @man -k ♂`
156
163
 
164
+ > [!IMPORTANT]
165
+ > 关键词支持正则表达式!
166
+
157
167
  ## 💪 目前支持的平台
158
168
 
159
169
  | 平台 | 是否经过测试 | 是否能够正常工作 | 测试环境 |
@@ -223,49 +233,6 @@ __!!注意!!__
223
233
 
224
234
  待补充。.....
225
235
 
226
- ## 📖版本日志
227
-
228
- <details>
229
- <summary>点我展开</summary>
230
-
231
- ### V1.0
232
-
233
- - 看看群里群友能有多话痨
234
-
235
- ### V1.1
236
-
237
- - 支持频道咯!(*^_^*)
238
-
239
- ### V1.2
240
-
241
- - 排行榜可视化
242
-
243
- ### V1.3
244
-
245
- - 添加了一些可配置项
246
-
247
- ### V1.4
248
-
249
- - 适配新版本的 chatrecorder, 暂时停止频道支持
250
-
251
- ### V2.0
252
-
253
- - 理论支持全平台!暂停图片支持。
254
-
255
-
256
- ### V2.1
257
-
258
- - 恢复图片支持。
259
-
260
- ### V2.2
261
-
262
- - 优化代码,添加一些新的可配置项。
263
-
264
- ### V2.4
265
-
266
- - 添加一些新的可配置项。
267
-
268
- </details>
269
236
 
270
237
  ### 👾题外话
271
238
  ~~整个项目快被我写成屎山了~~
@@ -1,4 +1,4 @@
1
- nonebot-plugin-chatrecorder>=0.6.0
1
+ nonebot-plugin-chatrecorder<0.7.0,>=0.6.0
2
2
  nonebot-plugin-orm[default]
3
3
  nonebot-plugin-apscheduler>=0.4.0
4
4
  nonebot-plugin-alconna>=0.50.2
@@ -1,12 +1,12 @@
1
1
  [project]
2
2
  name = "nonebot-plugin-dialectlist"
3
- version = "2.6.0"
3
+ version = "2.6.2"
4
4
  description = "看看你群群友有多能说"
5
5
  authors = [
6
6
  {name = "Chen_Xu233", email = "woyerpa@outlook.com"},
7
7
  ]
8
8
  dependencies = [
9
- "nonebot-plugin-chatrecorder>=0.6.0",
9
+ "nonebot-plugin-chatrecorder>=0.6.0,<0.7.0",
10
10
  "nonebot-plugin-orm[default]",
11
11
  "nonebot-plugin-apscheduler>=0.4.0",
12
12
  "nonebot-plugin-alconna>=0.50.2",
@@ -17,7 +17,7 @@ dependencies = [
17
17
  "pillow>=10.4.0",
18
18
  "nonebot-plugin-uninfo>=0.1.1",
19
19
  ]
20
- requires-python = ">=3.9,<3.13"
20
+ requires-python = ">=3.9,<4.0"
21
21
  readme = "README.md"
22
22
  license = {text = "MIT"}
23
23