nonebot-plugin-osubot 6.22.1__py3-none-any.whl → 6.22.3__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.
@@ -123,6 +123,7 @@ async def fetch_score_batch(
123
123
  od=i.beatmap.accuracy,
124
124
  stars=i.beatmap.difficulty_rating,
125
125
  ),
126
+ beatmapset=i.beatmapset,
126
127
  )
127
128
  for i in scores
128
129
  ]
@@ -0,0 +1,58 @@
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>
@@ -129,3 +129,4 @@ class UnifiedScore(Base):
129
129
  beatmap: Optional[UnifiedBeatmap] = None
130
130
  passed: bool
131
131
  pp: Optional[float] = None
132
+ beatmapset: Optional[Beatmapset] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nonebot-plugin-osubot
3
- Version: 6.22.1
3
+ Version: 6.22.3
4
4
  Summary: OSUbot in NoneBot2
5
5
  License: AGPL-3.0
6
6
  Author-email: yaowan233 <572473053@qq.com>
@@ -1,7 +1,9 @@
1
1
  nonebot_plugin_osubot/__init__.py,sha256=Q-mTTnOIdKiKG6JrVm-kqpPrAhOP9lWyiKHNRqA7gpc,1478
2
- nonebot_plugin_osubot/api.py,sha256=0o6Gp_4YzVtYDDRJYoIl4yTW8gy4eSY0LY8COkzkOBo,16363
2
+ nonebot_plugin_osubot/api.py,sha256=8NnLtAFR4-ING4Ja6vR5TfU1VDXOitp0aczGmZBPl54,16400
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
+ nonebot_plugin_osubot/data/osu/1849145.osz,sha256=enbHOvDu6ZkvQBM7gtvgZBY-r0a7z87pG62Xm9hXUSI,6933013
6
+ nonebot_plugin_osubot/data/osu/1849145.zip,sha256=k957Du9QVliv1rt6ku3sKDoTIOeyJkFtUqufXzD4WLE,6933013
5
7
  nonebot_plugin_osubot/database/__init__.py,sha256=7CDo9xU_DGLQ6uTj_mU_Px92phg_DMU5mP6WvgOxFLY,101
6
8
  nonebot_plugin_osubot/database/models.py,sha256=VF_MxR70eRbiIHtqWjpE_Vea4xR38X0RJiQIO96mjsY,1595
7
9
  nonebot_plugin_osubot/draw/__init__.py,sha256=dRELA2Vi4gTe8v48q0iHXLDOEj7Unk-_ChDXJp3qkhg,265
@@ -49,6 +51,7 @@ nonebot_plugin_osubot/draw/templates/bpa_chart.html,sha256=R-fO46HtmC4y3brMFGz6M
49
51
  nonebot_plugin_osubot/draw/templates/echarts.min.js,sha256=IF32ooP8NPIzQg_fs7lVHpwG92JcCPE1TZAEyFSgGZU,1022939
50
52
  nonebot_plugin_osubot/draw/templates/mod_chart.html,sha256=Iz71KM5v9z_Rt2vqJ5WIZumRIHgDfcGIUmWGvVGZ-nQ,1508
51
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
52
55
  nonebot_plugin_osubot/draw/utils.py,sha256=6QDbByPQZCxI0k_i5MsExyWZ-sHgJUw6nEWLv85IgLY,15826
53
56
  nonebot_plugin_osubot/exceptions.py,sha256=N_FsEk-9Eu2QnuznhdfWn6OoyA1HH73Q7bUaY89gVi0,40
54
57
  nonebot_plugin_osubot/file.py,sha256=GhG54EdVsxFf8_8GZOPh4YGvw9iw5bAX9JFz4Mg4kMg,4379
@@ -402,9 +405,9 @@ nonebot_plugin_osubot/schema/beatmap.py,sha256=UnobfZEHq1V2HG-A4j3BECubO-dB1JzTM
402
405
  nonebot_plugin_osubot/schema/match.py,sha256=lR3pGNVR9K_5GZAdOLG6Ki-W3fwJvgMlNhYOzKNE3lg,494
403
406
  nonebot_plugin_osubot/schema/ppysb/__init__.py,sha256=JK2Z4n44gUJPVKdETMJYJ5uIw-4a8T50y6j5n-YrlYM,1375
404
407
  nonebot_plugin_osubot/schema/sayo_beatmap.py,sha256=lS1PQZ-HvHl0VhkzlI0-pNLeJrLYWVqmKAo6xZr5I2U,959
405
- nonebot_plugin_osubot/schema/score.py,sha256=uqIKLKgnvnQKuJBFcmmioKeiU4ThG6uKsxMFHRov_dA,3189
408
+ nonebot_plugin_osubot/schema/score.py,sha256=gxF_RVSUOyj7EF_q3XeHhNj5qg19MW-B1aePjnTmi08,3233
406
409
  nonebot_plugin_osubot/schema/user.py,sha256=sxNmqymG_kIVuGuzfchSv9UML6NPG70cqo2_h5xDIpM,2250
407
410
  nonebot_plugin_osubot/utils/__init__.py,sha256=pyv8XxBcCOeQVDj1E4dgvktzcefgQXfKBlarsYGx1sg,815
408
- nonebot_plugin_osubot-6.22.1.dist-info/WHEEL,sha256=B19PGBCYhWaz2p_UjAoRVh767nYQfk14Sn4TpIZ-nfU,87
409
- nonebot_plugin_osubot-6.22.1.dist-info/METADATA,sha256=ZN_77-BBWGsr45EC7w82GvWFWGaTAj0rFyDAKlaQj_w,4476
410
- nonebot_plugin_osubot-6.22.1.dist-info/RECORD,,
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,,