nonebot-plugin-osubot 6.22.3__py3-none-any.whl → 6.23.1__py3-none-any.whl

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.

Potentially problematic release.


This version of nonebot-plugin-osubot might be problematic. Click here for more details.

@@ -189,6 +189,7 @@ async def get_user_scores(
189
189
  ended_at=datetime.strptime(i.play_time, "%Y-%m-%dT%H:%M:%S") + timedelta(hours=8),
190
190
  max_combo=i.max_combo,
191
191
  passed=True,
192
+ pp=i.pp,
192
193
  statistics=NewStatistics(
193
194
  miss=i.nmiss,
194
195
  perfect=i.ngeki,
@@ -7,7 +7,7 @@ from ..file import get_projectimg
7
7
  from ..api import get_sayo_map_info
8
8
  from ..exceptions import NetworkError
9
9
  from .utils import crop_bg, stars_diff, calc_songlen
10
- from .static import Image, BarImg, IconLs, Torus_SemiBold_20, Torus_SemiBold_40, Torus_SemiBold_50, extra_30
10
+ from .static import Image, BarImg, IconLs, Torus_SemiBold_20, Torus_SemiBold_40, Torus_SemiBold_50, extra_30, Stars
11
11
 
12
12
 
13
13
  async def draw_bmap_info(mapid) -> BytesIO:
@@ -59,7 +59,7 @@ async def draw_bmap_info(mapid) -> BytesIO:
59
59
  # 难度
60
60
  draw.text((20, 320 + h_num), IconLs[cmap.mode], font=extra_30, anchor="lt")
61
61
  # 星星
62
- stars_bg = stars_diff(cmap.star)
62
+ stars_bg = stars_diff(cmap.star, Stars)
63
63
  stars_img = stars_bg.resize((80, 30))
64
64
  im.alpha_composite(stars_img, (60, 320 + h_num))
65
65
  # diff
@@ -29,8 +29,6 @@ async def draw_bp(
29
29
  source: str,
30
30
  ) -> BytesIO:
31
31
  scores = await get_user_scores(uid, mode, "best", source=source, legacy_only=not is_lazer)
32
- if not is_lazer:
33
- scores = [i for i in scores if any(mod.acronym == "CL" for mod in i.mods)]
34
32
  if mods:
35
33
  mods_ls = get_mods_list(scores, mods)
36
34
  if low_bound > len(mods_ls):
@@ -50,8 +48,6 @@ async def draw_bp(
50
48
  # 判断是否开启lazer模式
51
49
  if is_lazer:
52
50
  score_info.legacy_total_score = score_info.total_score
53
- if not is_lazer and Mod(acronym="CL") in score_info.mods:
54
- score_info.mods.remove(Mod(acronym="CL"))
55
51
  if score_info.ruleset_id == 3 and not is_lazer:
56
52
  score_info.accuracy = cal_legacy_acc(score_info.statistics)
57
53
  if not is_lazer:
@@ -20,7 +20,8 @@ async def draw_bpa_plot(name, pp_ls, length_ls, mod_pp_ls, mapper_pp_ls) -> byte
20
20
  pic = await template_to_pic(
21
21
  template_path,
22
22
  template_name,
23
- {"name": name, "pp_ls": pp_ls, "length_ls": length_ls, "mod_pp_ls": mod_pp_ls, "mapper_pp_ls": mapper_pp_ls},
23
+ {"name": name, "pp_ls": pp_ls, "length_ls": length_ls, "mod_pp_ls": mod_pp_ls,
24
+ "mapper_pp_ls": mapper_pp_ls, "length": len(pp_ls)},
24
25
  )
25
26
  return pic
26
27
 
@@ -23,6 +23,7 @@ from .static import (
23
23
  Torus_SemiBold_25,
24
24
  osufile,
25
25
  extra_30,
26
+ Stars,
26
27
  )
27
28
 
28
29
 
@@ -68,7 +69,7 @@ async def draw_map_info(mapid: int, mods: list[str], is_lazer) -> BytesIO:
68
69
  # 模式
69
70
  draw.text((50, 65), IconLs[FGM[mapinfo.mode]], font=extra_30, anchor="lt")
70
71
  # 难度星星
71
- stars_bg = stars_diff(ss_pp_info.difficulty.stars)
72
+ stars_bg = stars_diff(ss_pp_info.difficulty.stars, Stars)
72
73
  stars_img = stars_bg.resize((80, 30))
73
74
  im.alpha_composite(stars_img, (90, 65))
74
75
  if ss_pp_info.difficulty.stars < 6.5:
@@ -79,8 +79,6 @@ async def draw_score(
79
79
  scores = await get_user_scores(uid, mode, "recent", source=source, legacy_only=not is_lazer, limit=best)
80
80
  if not scores:
81
81
  raise NetworkError("未查询到游玩记录")
82
- if not is_lazer:
83
- scores = [i for i in scores if Mod(acronym="CL") in i.mods]
84
82
  if project in ("recent", "pr"):
85
83
  if len(scores) < best:
86
84
  raise NetworkError("未查询到游玩记录")
@@ -149,10 +147,6 @@ async def get_score_data(
149
147
  ]
150
148
  else:
151
149
  score_ls = await get_ppysb_map_scores(map_json["checksum"], uid, mode)
152
- if not is_lazer:
153
- score_ls = [i for i in score_ls if Mod(acronym="CL") in i.mods]
154
- for i in score_ls:
155
- i.mods.remove(Mod(acronym="CL"))
156
150
  if not score_ls:
157
151
  raise NetworkError("未查询到游玩记录")
158
152
  if mods:
@@ -804,8 +798,6 @@ def cal_legacy_rank(score_info: UnifiedScore, is_hidden: bool):
804
798
  def cal_score_info(is_lazer: bool, score_info: UnifiedScore) -> UnifiedScore:
805
799
  if is_lazer:
806
800
  score_info.legacy_total_score = score_info.total_score
807
- if not is_lazer and Mod(acronym="CL") in score_info.mods:
808
- score_info.mods = [i for i in score_info.mods if i.acronym != "CL"]
809
801
  if score_info.ruleset_id == 3 and not is_lazer:
810
802
  score_info.accuracy = cal_legacy_acc(score_info.statistics)
811
803
  if not is_lazer:
@@ -4,7 +4,7 @@ from pathlib import Path
4
4
 
5
5
  from PIL import Image, ImageDraw
6
6
 
7
- from .static import Torus_Regular_8, Torus_Regular_15, Torus_Regular_20, Torus_Regular_25, Torus_Regular_30
7
+ from .static import Torus_Regular_8, Torus_Regular_15
8
8
 
9
9
  HIT_DON = 0x00
10
10
  HIT_KAT = 0x01
@@ -35,20 +35,21 @@ def map_to_image(map_data) -> BytesIO:
35
35
  img = Image.new(mode="RGB", size=(3000, 30000), color=0x121212)
36
36
  draw = ImageDraw.Draw(img)
37
37
 
38
- title_font = Torus_Regular_30
39
- semi_font = Torus_Regular_25
40
- reg_font = Torus_Regular_20
38
+ # title_font = Torus_Regular_30
39
+ # semi_font = Torus_Regular_25
40
+ # reg_font = Torus_Regular_20
41
41
  small_font = Torus_Regular_15
42
42
  tiny_font = Torus_Regular_8
43
43
 
44
- draw.text(
45
- (LEFT_MARGIN, 40),
46
- map_data.artist + " - " + map_data.title + " [" + map_data.diff + "]",
47
- font=title_font,
48
- fill="#FFF",
49
- )
50
- draw.text((LEFT_MARGIN, 90), "by " + map_data.creator, font=semi_font, fill="#CCC")
51
- draw.text((LEFT_MARGIN, 135), "HP = " + str(map_data.hp) + " OD = " + str(map_data.od), font=reg_font, fill="#AAA")
44
+ # draw.text(
45
+ # (LEFT_MARGIN, 40),
46
+ # map_data.artist + " - " + map_data.title + " [" + map_data.diff + "]",
47
+ # font=title_font,
48
+ # fill="#FFF",
49
+ # )
50
+ # draw.text((LEFT_MARGIN, 90), "by " + map_data.creator, font=semi_font, fill="#CCC")
51
+ # draw.text((LEFT_MARGIN, 135), "HP = " + str(map_data.hp) +
52
+ # " OD = " + str(map_data.od), font=reg_font, fill="#AAA")
52
53
 
53
54
  max_meter = 0
54
55
  timing_sections = [] # (start, beat_ms, meter, [list of hit_object])
@@ -67,7 +68,7 @@ def map_to_image(map_data) -> BytesIO:
67
68
  (map_data.timing_points[i][0], map_data.timing_points[i][1], map_data.timing_points[i][2], current_list)
68
69
  )
69
70
 
70
- y_start = 200
71
+ y_start = 40
71
72
  max_x = 0
72
73
  max_y = 0
73
74
  bar_number = 1
@@ -43,7 +43,7 @@
43
43
  xAxis: [
44
44
  {
45
45
  type: 'category',
46
- data: Array.from({ length: 200 }, (_, i) => i),
46
+ data: Array.from({ length: {{length}} }, (_, i) => i),
47
47
  axisLabel: {
48
48
  interval: 9
49
49
  }
@@ -34,12 +34,17 @@ async def _(event: Event, state: T_State):
34
34
  uid = state["user"]
35
35
  lazer_mode = "lazer模式下" if state["is_lazer"] else "stable模式下"
36
36
  try:
37
- score_ls = await get_user_scores(uid, NGM[state["mode"]], "best", legacy_only=not state["is_lazer"])
37
+ score_ls = await get_user_scores(
38
+ uid, NGM[state["mode"]], "best", state["source"], legacy_only=not state["is_lazer"]
39
+ )
38
40
  except NetworkError as e:
39
41
  await UniMessage.text(
40
42
  f"在查找用户:{state['username']} {NGM[state['mode']]}模式 {lazer_mode}时 {str(e)}"
41
43
  ).finish(reply_to=True)
42
44
  for score in score_ls:
45
+ # Filter mods outside of the iteration
46
+ if not state["is_lazer"] or state["source"] == "ppysb":
47
+ score.mods = [mod for mod in score.mods if mod.acronym != "CL"]
43
48
  for mod in score.mods:
44
49
  if mod.acronym == "DT" or mod.acronym == "NC":
45
50
  score.beatmap.total_length /= 1.5
@@ -69,6 +69,6 @@ async def _(msg: Message = CommandArg()):
69
69
  for beatmap in medal_data["beatmaps"]:
70
70
  msg += (
71
71
  f"{beatmap['SongTitle']} [{beatmap['DifficultyName']}]\n{beatmap['Difficulty']}⭐\n"
72
- + f"https://osu.ppy.sh/b/{beatmap['BeatmapID']}"
72
+ + f"https://osu.ppy.sh/b/{beatmap['BeatmapID']}\n"
73
73
  )
74
74
  await msg.send()
@@ -43,8 +43,6 @@ async def _recent(event: Event, state: T_State):
43
43
  f"在查找用户:{state['username']} {NGM[state['mode']]}模式"
44
44
  f" {lazer_mode}{mods} 最近{state['range']}成绩时 {str(e)}"
45
45
  ).finish(reply_to=True)
46
- if not player.lazer_mode:
47
- scores = [i for i in scores if any(mod.acronym == "CL" for mod in i.mods)]
48
46
  for score in scores:
49
47
  cal_score_info(player.lazer_mode, score)
50
48
  pic = await draw_pfm("relist", state["user"], scores, scores, mode, state["source"], is_lazer=player.lazer_mode)
@@ -99,8 +97,6 @@ async def _pr(event: Event, state: T_State):
99
97
  f"在查找用户:{state['username']} {NGM[state['mode']]}模式"
100
98
  f" {lazer_mode}{mods} 最近{state['range']}成绩时 {str(e)}"
101
99
  ).finish(reply_to=True)
102
- if not player.lazer_mode:
103
- scores = [i for i in scores if any(mod.acronym == "CL" for mod in i.mods)]
104
100
  for score_info in scores:
105
101
  cal_score_info(player.lazer_mode, score_info)
106
102
  pic = await draw_pfm(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nonebot-plugin-osubot
3
- Version: 6.22.3
3
+ Version: 6.23.1
4
4
  Summary: OSUbot in NoneBot2
5
5
  License: AGPL-3.0
6
6
  Author-email: yaowan233 <572473053@qq.com>
@@ -1,5 +1,5 @@
1
1
  nonebot_plugin_osubot/__init__.py,sha256=Q-mTTnOIdKiKG6JrVm-kqpPrAhOP9lWyiKHNRqA7gpc,1478
2
- nonebot_plugin_osubot/api.py,sha256=8NnLtAFR4-ING4Ja6vR5TfU1VDXOitp0aczGmZBPl54,16400
2
+ nonebot_plugin_osubot/api.py,sha256=sPCRCm6zZ90-e-NvN5b2yFAI1RALid5zMP9ra7xQ8c8,16425
3
3
  nonebot_plugin_osubot/beatmap_stats_moder.py,sha256=mNNTufc-gvO4NdYa3TnealSZI4-LBoiTlb599SeLBck,2915
4
4
  nonebot_plugin_osubot/config.py,sha256=Ub2s5Ny09-d1ZwT6x8cirB6zWy0brtO-oZV3W0qEM5Q,311
5
5
  nonebot_plugin_osubot/data/osu/1849145.osz,sha256=enbHOvDu6ZkvQBM7gtvgZBY-r0a7z87pG62Xm9hXUSI,6933013
@@ -7,8 +7,8 @@ nonebot_plugin_osubot/data/osu/1849145.zip,sha256=k957Du9QVliv1rt6ku3sKDoTIOeyJk
7
7
  nonebot_plugin_osubot/database/__init__.py,sha256=7CDo9xU_DGLQ6uTj_mU_Px92phg_DMU5mP6WvgOxFLY,101
8
8
  nonebot_plugin_osubot/database/models.py,sha256=VF_MxR70eRbiIHtqWjpE_Vea4xR38X0RJiQIO96mjsY,1595
9
9
  nonebot_plugin_osubot/draw/__init__.py,sha256=dRELA2Vi4gTe8v48q0iHXLDOEj7Unk-_ChDXJp3qkhg,265
10
- nonebot_plugin_osubot/draw/bmap.py,sha256=GzEiUEkcwdX6ixZ-qmM8TQQf0imD8taur3eX4lJ5wVg,5128
11
- nonebot_plugin_osubot/draw/bp.py,sha256=_l7UdicosUwD6HdaI5U0AWgJBwWNAfJqvzC9DzXz_Pg,9172
10
+ nonebot_plugin_osubot/draw/bmap.py,sha256=vOf6SeeIHV7d13TF_7KLJwfqsKEGr9LW_WPtfcoJCgQ,5142
11
+ nonebot_plugin_osubot/draw/bp.py,sha256=EffKW5HcbqQheGRzr8VAU5q6OJ1je21XxVJ2JTmPL9E,8948
12
12
  nonebot_plugin_osubot/draw/catch_preview.py,sha256=uSYoTqfdxRy4anpH9Uhj8NntPo008pzw1t6xRMTBBkI,1397
13
13
  nonebot_plugin_osubot/draw/catch_preview_templates/css/style.css,sha256=2I1VwycLhKJMxwjHj19zAV6MBkFMLu_qLunpoiRlGlM,3919
14
14
  nonebot_plugin_osubot/draw/catch_preview_templates/js/beatmap/beatmap.js,sha256=xh6RUz3D40-HJHu0KGqac_eAIHGoAR12bF58V9ft7iQ,5784
@@ -39,19 +39,18 @@ nonebot_plugin_osubot/draw/catch_preview_templates/js/util.js,sha256=XveUlX-d0vr
39
39
  nonebot_plugin_osubot/draw/catch_preview_templates/js/viewbox.js,sha256=RPsUyoKNAQub2n7oUGwWyFppZu0iVuy6DD5gggQZS3E,1641
40
40
  nonebot_plugin_osubot/draw/catch_preview_templates/js/zip.min.js,sha256=pQmrVxuGCMeLS-XS3QsVhzjwap28fr9Ya083uPlg1sM,86405
41
41
  nonebot_plugin_osubot/draw/catch_preview_templates/pic.html,sha256=jwPxxyYFLGpbD29h8u_j3LBY33ya7BS2R_t95EldAmk,3092
42
- nonebot_plugin_osubot/draw/echarts.py,sha256=OzL_397yWrDAIXsEWf72hAiqdIUBz1D182cli6ORD6s,1037
42
+ nonebot_plugin_osubot/draw/echarts.py,sha256=RFnJRC5FkATE2QeAbilgKVYq0Y42dVEPXH4bRez9F78,1068
43
43
  nonebot_plugin_osubot/draw/info.py,sha256=i2YcJmSdTpwhZl_nDe7GJv4jQTB8_9oBfpq2Zw2hwo0,11162
44
- nonebot_plugin_osubot/draw/map.py,sha256=4M8xRd0dIbC5g1s8I4eTZ3vRglM6r_TSznFOZ62K2wk,8654
44
+ nonebot_plugin_osubot/draw/map.py,sha256=toEsZkuru5y1K21X9gZj2wlBBCYSp8SqTFpAkwk0BL8,8672
45
45
  nonebot_plugin_osubot/draw/match_history.py,sha256=GBJl6lAA27U7NSMC2isEzD_YsoIPAeG6ijDu7Oflcl0,997
46
46
  nonebot_plugin_osubot/draw/rating.py,sha256=pA7mGLI4IujmYB6kQf_tSkR7mZGpUAVLRLyaAsZhqTM,20397
47
- nonebot_plugin_osubot/draw/score.py,sha256=z7HNBOFVHaarbeo2FK8vIpoGVhu47E2BgCqG_axTwSo,29610
47
+ nonebot_plugin_osubot/draw/score.py,sha256=65XjTD5nZ3lJt6yvlv2DWcpu14IKFkqWmD88Q0RnuvQ,29218
48
48
  nonebot_plugin_osubot/draw/static.py,sha256=wdlzNO3xyiauKiMLr_h-B9uAsFU7fX_Y-fOusYKZP3k,4132
49
- nonebot_plugin_osubot/draw/taiko_preview.py,sha256=tqhuHSdxUJEuXqKHMJDeSLdusuJhSnMMiaG5FbUnaJw,11441
50
- nonebot_plugin_osubot/draw/templates/bpa_chart.html,sha256=R-fO46HtmC4y3brMFGz6MQkna8ke7WGHVIgUnvcY248,7012
49
+ nonebot_plugin_osubot/draw/taiko_preview.py,sha256=X2hzWewMfH_0wFLBBtAALrXwT55pdytIu7215p0Gfws,11414
50
+ nonebot_plugin_osubot/draw/templates/bpa_chart.html,sha256=J0YbxM2_iGHIgLKs6qBbL-wdmNJ4Fc4FAQcc22RDuD8,7019
51
51
  nonebot_plugin_osubot/draw/templates/echarts.min.js,sha256=IF32ooP8NPIzQg_fs7lVHpwG92JcCPE1TZAEyFSgGZU,1022939
52
52
  nonebot_plugin_osubot/draw/templates/mod_chart.html,sha256=Iz71KM5v9z_Rt2vqJ5WIZumRIHgDfcGIUmWGvVGZ-nQ,1508
53
53
  nonebot_plugin_osubot/draw/templates/pp_rank_line_chart.html,sha256=Gyf-GR8ZBlWQTks0TlB3M8EWUBMVwiUaesFAmDISxLo,1417
54
- nonebot_plugin_osubot/draw/templates/t.html,sha256=_A4c7lR3zfjIWoeR38jBMtuUCA6SFEYNZWPAkbNfHPk,10597
55
54
  nonebot_plugin_osubot/draw/utils.py,sha256=6QDbByPQZCxI0k_i5MsExyWZ-sHgJUw6nEWLv85IgLY,15826
56
55
  nonebot_plugin_osubot/exceptions.py,sha256=N_FsEk-9Eu2QnuznhdfWn6OoyA1HH73Q7bUaY89gVi0,40
57
56
  nonebot_plugin_osubot/file.py,sha256=GhG54EdVsxFf8_8GZOPh4YGvw9iw5bAX9JFz4Mg4kMg,4379
@@ -62,7 +61,7 @@ nonebot_plugin_osubot/mania/__init__.py,sha256=XRPn563jDJiPohFekcoFFCqCJYznb-6uO
62
61
  nonebot_plugin_osubot/matcher/__init__.py,sha256=yID7QcdQF6_Mouwbej3JwYUBbKSU3VQdrjq6B1Fz9P8,1331
63
62
  nonebot_plugin_osubot/matcher/bind.py,sha256=QQJc2S7XFo5tu4CPloIET6fKaeiQixgb8M7QvULV6E0,2834
64
63
  nonebot_plugin_osubot/matcher/bp.py,sha256=GidJfuZ9lJ7LwMq126DDOwMksNUOz4Bkab83OlKg8t8,3983
65
- nonebot_plugin_osubot/matcher/bp_analyze.py,sha256=L2ccAi7TQvpD036DyA27D8wuiqBBkcfLT0ldk_Apv8w,3820
64
+ nonebot_plugin_osubot/matcher/bp_analyze.py,sha256=HyTirmfDHiXDXlyHFrACwa5T-WYRzvZ3a16muAvZiAI,4046
66
65
  nonebot_plugin_osubot/matcher/getbg.py,sha256=Ar2yIST556MYRxzuXCLSDAMAmESRENN1fCty-kdH7PI,699
67
66
  nonebot_plugin_osubot/matcher/guess.py,sha256=QmD-a88pnPfSSBAvSpD2tlHDGMRpYWqtxfNuLsHuBYM,24144
68
67
  nonebot_plugin_osubot/matcher/history.py,sha256=ZYkVJHdXuVJmhovRhwxFdqNp0o2uJJOACAZhhutyS3w,1577
@@ -70,11 +69,11 @@ nonebot_plugin_osubot/matcher/info.py,sha256=8CJHTOMTx_nzJ4ZwXo6ZfBwCuO3DtLprRX7
70
69
  nonebot_plugin_osubot/matcher/map.py,sha256=sFpOoFv63y-NOkCJhE6aW0DRYDl_8SoQOPsdq50QxT0,1404
71
70
  nonebot_plugin_osubot/matcher/map_convert.py,sha256=YfR-_u5F_GCdn2mv9ZvMEpfxTc63f9nmihIUdu54eN8,5716
72
71
  nonebot_plugin_osubot/matcher/match.py,sha256=uyrm8I_WgHK2ya1q46AUxNk_cQiKKh7GKlUzrrG1o7w,472
73
- nonebot_plugin_osubot/matcher/medal.py,sha256=OlJTwBvh0kGx_KWhjksozI910c8QdaVFBgtnwqLVyLU,2965
72
+ nonebot_plugin_osubot/matcher/medal.py,sha256=LZf8hlXGHy8mdK2l97SsYCChfYYovEDBGNbUPO3AOsw,2967
74
73
  nonebot_plugin_osubot/matcher/mu.py,sha256=l3Ebz47o46EvN2nvo9-zzQI4CTaLMcd5XW0qljqSGIM,445
75
74
  nonebot_plugin_osubot/matcher/osu_help.py,sha256=64rOkYEOETvU8AF__0xLZjVRs3cTac0D1XEultPK_kM,728
76
75
  nonebot_plugin_osubot/matcher/osudl.py,sha256=yLEblYnLprTf2T00FiRWJ8CuCd0IHyUY9Ka68yAKOXo,872
77
- nonebot_plugin_osubot/matcher/pr.py,sha256=WAVXsercYxsB7L576QjaBmUz4zoMcpC73BnlrIEWMfg,5193
76
+ nonebot_plugin_osubot/matcher/pr.py,sha256=xGjQvEJHmIZkq9luu8TtbjBB8FykGI4Wzi_-eXghOjQ,4951
78
77
  nonebot_plugin_osubot/matcher/preview.py,sha256=n9wgdNG9SF_JQ78nShTsTElJkBDJQr67DRc8Q9sVcCo,1896
79
78
  nonebot_plugin_osubot/matcher/rank.py,sha256=sFEim3cR_vswzLmbagjqy-ypolcprAxQpawiSEcFqEI,3619
80
79
  nonebot_plugin_osubot/matcher/rating.py,sha256=JY1Q1ELU3Y1FhQ7kVWVkgVsYEVxkAcxjsoMcwC_u234,450
@@ -408,6 +407,6 @@ nonebot_plugin_osubot/schema/sayo_beatmap.py,sha256=lS1PQZ-HvHl0VhkzlI0-pNLeJrLY
408
407
  nonebot_plugin_osubot/schema/score.py,sha256=gxF_RVSUOyj7EF_q3XeHhNj5qg19MW-B1aePjnTmi08,3233
409
408
  nonebot_plugin_osubot/schema/user.py,sha256=sxNmqymG_kIVuGuzfchSv9UML6NPG70cqo2_h5xDIpM,2250
410
409
  nonebot_plugin_osubot/utils/__init__.py,sha256=pyv8XxBcCOeQVDj1E4dgvktzcefgQXfKBlarsYGx1sg,815
411
- nonebot_plugin_osubot-6.22.3.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
412
- nonebot_plugin_osubot-6.22.3.dist-info/METADATA,sha256=W5SBCHCY_fvgyPBvigIq-9sN6VcJasfmZbp-bKXrvqg,4476
413
- nonebot_plugin_osubot-6.22.3.dist-info/RECORD,,
410
+ nonebot_plugin_osubot-6.23.1.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
411
+ nonebot_plugin_osubot-6.23.1.dist-info/METADATA,sha256=21rD1niY9PgeEXvIBmEyyDSdS6oUA9Cwh8-BdK4UDTs,4476
412
+ nonebot_plugin_osubot-6.23.1.dist-info/RECORD,,
@@ -1,58 +0,0 @@
1
- <head>
2
- <meta charset="UTF-8">
3
- <title>Awesome-pyecharts</title>
4
- <script type="text/javascript" src="./echarts.min.js"></script>
5
- </head>
6
- <body >
7
- <div id="1" class="chart-container" style="width:900px; height:500px; "></div>
8
- <script>
9
- const chart = echarts.init(
10
- document.getElementById('1'), 'white', {renderer: 'canvas'}
11
- );
12
- const option = {
13
- "animation": false,
14
- title: {
15
- text: 'title',
16
- left: 'center' // 标题水平居中
17
- },
18
- xAxis: {
19
- type: 'category',
20
- data: ['2023-09-10', '2023-09-11', '2023-09-12', '2023-09-13', '2023-09-14', '2023-09-15', '2023-09-16', '2023-09-17', '2023-09-18', '2023-09-19', '2023-09-20', '2023-09-21', '2023-09-22', '2023-09-23', '2023-09-24', '2023-09-25', '2023-09-26', '2023-09-27', '2023-09-28', '2023-09-29', '2023-09-30', '2023-10-01', '2023-10-02', '2023-10-03', '2023-10-04', '2023-10-05', '2023-10-06', '2023-10-07', '2023-10-08', '2023-10-09', '2023-10-10', '2023-10-11', '2023-10-12', '2023-10-13', '2023-10-14', '2023-10-15', '2023-10-16', '2023-10-17', '2023-10-18', '2023-10-19', '2023-10-20', '2023-10-21', '2023-10-22', '2023-10-23', '2023-10-24', '2023-10-25', '2023-10-26', '2023-11-04', '2023-11-05', '2023-11-06', '2023-11-07', '2023-11-08', '2023-11-09', '2023-11-10', '2023-11-11', '2023-11-14', '2023-11-15', '2023-11-16', '2023-11-17', '2023-11-18', '2023-11-19', '2023-11-21', '2023-11-22', '2023-11-23', '2023-11-24', '2023-11-25', '2023-11-26', '2023-11-27', '2023-11-28', '2023-11-29', '2023-11-30', '2023-12-01', '2023-12-02', '2023-12-03', '2023-12-04', '2023-12-05', '2023-12-06', '2023-12-07', '2023-12-08', '2023-12-10', '2023-12-11', '2023-12-13', '2023-12-14', '2023-12-15', '2023-12-16', '2023-12-17', '2023-12-18', '2023-12-19', '2023-12-20', '2023-12-21', '2023-12-22', '2023-12-23', '2023-12-24', '2023-12-25', '2023-12-26', '2023-12-27', '2023-12-28', '2023-12-29', '2023-12-30', '2023-12-31', '2024-01-02', '2024-01-03', '2024-01-04', '2024-01-05', '2024-01-06', '2024-01-07', '2024-01-08', '2024-01-09', '2024-01-10', '2024-01-12', '2024-01-13', '2024-01-14', '2024-01-15', '2024-01-16', '2024-01-17', '2024-01-18', '2024-01-19', '2024-01-20', '2024-01-21', '2024-01-23', '2024-01-24', '2024-01-25', '2024-01-26', '2024-01-27', '2024-01-28', '2024-01-29', '2024-01-30', '2024-01-31', '2024-02-01', '2024-02-02', '2024-02-03', '2024-02-04', '2024-02-05', '2024-02-06', '2024-02-07', '2024-02-08', '2024-02-09', '2024-02-10', '2024-02-11', '2024-02-12', '2024-02-13', '2024-02-14', '2024-02-15', '2024-02-16', '2024-02-17', '2024-02-18', '2024-02-19', '2024-02-20', '2024-02-21', '2024-02-22', '2024-02-23', '2024-02-24', '2024-02-25', '2024-02-26', '2024-02-27', '2024-02-28', '2024-03-01', '2024-03-03', '2024-03-03', '2024-03-04', '2024-03-05', '2024-03-06', '2024-03-07', '2024-03-08', '2024-03-09', '2024-03-10', '2024-03-11', '2024-03-12', '2024-03-13', '2024-03-14', '2024-03-15', '2024-03-16', '2024-03-17', '2024-03-18', '2024-03-19', '2024-03-20', '2024-03-21', '2024-03-22', '2024-03-23', '2024-03-24', '2024-03-25', '2024-03-26', '2024-03-27', '2024-03-28', '2024-03-29', '2024-03-30', '2024-03-31', '2024-04-01', '2024-04-02', '2024-04-03', '2024-04-04', '2024-04-05', '2024-04-06', '2024-04-07', '2024-04-08', '2024-04-09', '2024-04-10', '2024-04-11', '2024-04-12', '2024-04-13', '2024-04-14', '2024-04-15', '2024-04-17', '2024-04-18', '2024-04-19', '2024-04-20', '2024-04-21', '2024-04-22', '2024-04-23', '2024-04-25', '2024-04-26', '2024-04-27', '2024-04-28', '2024-04-29', '2024-04-30', '2024-05-01', '2024-05-02', '2024-05-03', '2024-05-04', '2024-05-05', '2024-05-06', '2024-05-07', '2024-05-08', '2024-05-09', '2024-05-10', '2024-05-11', '2024-05-12', '2024-05-13', '2024-05-14', '2024-05-15', '2024-05-16', '2024-05-17', '2024-05-18', '2024-05-19', '2024-05-20', '2024-05-21', '2024-05-22', '2024-05-23', '2024-05-24', '2024-05-25', '2024-05-26', '2024-05-27', '2024-05-28', '2024-05-29', '2024-06-08', '2024-06-09', '2024-06-10', '2024-06-11', '2024-06-12', '2024-06-13', '2024-06-14', '2024-06-15', '2024-06-16', '2024-06-17', '2024-06-18', '2024-06-19', '2024-06-20', '2024-06-21', '2024-06-22', '2024-06-23', '2024-06-24', '2024-06-25', '2024-06-26', '2024-06-27', '2024-06-28', '2024-06-29', '2024-06-30', '2024-07-01', '2024-07-02', '2024-07-03', '2024-07-04', '2024-07-05', '2024-07-06', '2024-07-07', '2024-07-08', '2024-07-09', '2024-07-10', '2024-07-11', '2024-07-12', '2024-07-13', '2024-07-14', '2024-07-15', '2024-07-16', '2024-07-17', '2024-07-18', '2024-07-19', '2024-07-20', '2024-07-21', '2024-07-22', '2024-07-23', '2024-07-24', '2024-07-25', '2024-07-26', '2024-07-27', '2024-07-28', '2024-07-29', '2024-07-30', '2024-07-31', '2024-08-01', '2024-08-02', '2024-08-03', '2024-08-04', '2024-08-05', '2024-08-06', '2024-08-07', '2024-08-08', '2024-08-09', '2024-08-10', '2024-08-11', '2024-08-12', '2024-08-13', '2024-08-14', '2024-08-15', '2024-08-16', '2024-08-17', '2024-08-18', '2024-08-19', '2024-08-20', '2024-08-21', '2024-08-23', '2024-08-25', '2024-08-26', '2024-08-27', '2024-08-28', '2024-08-29', '2024-08-30']
21
- },
22
- yAxis: [{
23
- type: 'value',
24
- scale: true,
25
- name: 'pp'
26
- },
27
- {
28
- type: 'value',
29
- scale: true,
30
- alignTicks: true,
31
- inverse: true,
32
- nameLocation: 'start',
33
- name: 'rank'
34
- }],
35
- legend: {
36
- top: 30,
37
- left: 'center',
38
- data: ['pp', 'rank']
39
- },
40
- series: [
41
- {
42
- name: 'pp',
43
- type: 'line',
44
- data: [35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 35.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 63.0, 65.0, 65.0, 65.0, 65.0, 65.0, 65.0, 65.0, 65.0, 217.0, 279.0, 502.0, 502.0, 502.0, 502.0, 502.0, 594.0, 645.0, 675.0, 711.0, 711.0, 734.0, 734.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 760.0, 773.0, 773.0, 773.0, 780.0, 780.0, 780.0, 780.0, 780.0, 786.0, 786.0, 786.0, 786.0, 786.0, 846.0, 846.0, 846.0, 846.0, 846.0, 846.0, 846.0, 846.0, 846.0, 846.0, 846.0, 884.0, 884.0, 884.0, 884.0, 884.0, 884.0, 884.0, 884.0, 884.0, 884.0, 901.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0, 918.0],
45
- yAxisIndex: 0,
46
- connectNulls: true
47
- },
48
- {
49
- name: 'rank',
50
- type: 'line',
51
- data: [597621, 598017, 598412, 598767, 599153, 599495, 599903, 600412, 600872, 601316, 601679, 602046, 602400, 602790, 603231, 603760, 604147, 604497, 604820, 605196, 605577, 606022, 606488, 606853, 607191, 607557, 607913, 608261, 608681, 609189, 609639, 610012, 610323, 610642, 610970, 611454, 611952, 612305, 612572, 612889, 613222, 613566, 614023, 614580, 614970, 615316, 615640, 618935, 619325, 619730, 620037, 620351, 620701, 621013, 621284, 622414, 622694, 622977, 623326, 623619, 623980, 624757, 625055, 625356, 625664, 625971, 626366, 626791, 627138, 627423, 627712, 628022, 628337, 628720, 629199, 629589, 629898, 630255, 630600, 631390, 631936, 633019, 633590, 634155, 634735, 635357, 636031, 636623, 637181, 637746, 638261, 638809, 638605, 639212, 639770, 640255, 640827, 641344, 641896, 642430, 643496, 643933, 644375, 644850, 644850, 645880, 646435, 646927, 647343, 648158, 648600, 649131, 649686, 650155, 650600, 651045, 651475, 651957, 652499, 653539, 653971, 654374, 654812, 655251, 655682, 656172, 656601, 657000, 657822, 658591, 659287, 660112, 660941, 661668, 662235, 662789, 663393, 664001, 664666, 665370, 666053, 666615, 667178, 667714, 668259, 668887, 669565, 670199, 670736, 671250, 671776, 672296, 672932, 672932, 674074, 674503, 675478, 676604, 676604, 677239, 677775, 678202, 678720, 679203, 679741, 680402, 681106, 681673, 682155, 682631, 683145, 683670, 684280, 684917, 685457, 685457, 701150, 701651, 702135, 702795, 703522, 704087, 704631, 705183, 705739, 706353, 707034, 707670, 708247, 708749, 709234, 709779, 710305, 710950, 711583, 712212, 712710, 713224, 713735, 714246, 714922, 715662, 716697, 717180, 717673, 718171, 718757, 719415, 719919, 720831, 721296, 721774, 722332, 722973, 723572, 724099, 724663, 725187, 725693, 726334, 726995, 727524, 722529, 723092, 723640, 724227, 724924, 725686, 726264, 726868, 517992, 473344, 364793, 365036, 365375, 365644, 365934, 333701, 317654, 309231, 299124, 299380, 293440, 293604, 288836, 289058, 289313, 289520, 289718, 289897, 290101, 290283, 290491, 290714, 290904, 291090, 291279, 291481, 291701, 288439, 288649, 288876, 287321, 287500, 287716, 287924, 288139, 286780, 286979, 287181, 287349, 287536, 272991, 273177, 273370, 273535, 273713, 273880, 274026, 274197, 274394, 274601, 274776, 266252, 266401, 266549, 266721, 266909, 267071, 267252, 267425, 267610, 267803, 264244, 260838, 261041, 261208, 261373, 261565, 261748, 261950, 262150, 262353, 262457, 262622, 262785, 262954, 263153, 263354, 263533, 263696, 263858, 264027, 264196, 264371, 264534, 264743, 264946, 265108, 265452, 265827, 266022, 266220, 266373, 266559, 266726],
52
- yAxisIndex: 1,
53
- connectNulls: true
54
- }
55
- ]};
56
- chart.setOption(option);
57
- </script>
58
- </body>