telegrinder 0.1.dev167__py3-none-any.whl → 0.1.dev169__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 telegrinder might be problematic. Click here for more details.
- telegrinder/__init__.py +9 -3
- telegrinder/bot/__init__.py +7 -5
- telegrinder/bot/cute_types/base.py +12 -14
- telegrinder/bot/cute_types/callback_query.py +55 -44
- telegrinder/bot/cute_types/chat_join_request.py +8 -7
- telegrinder/bot/cute_types/chat_member_updated.py +23 -17
- telegrinder/bot/cute_types/inline_query.py +1 -1
- telegrinder/bot/cute_types/message.py +331 -183
- telegrinder/bot/cute_types/update.py +4 -8
- telegrinder/bot/cute_types/utils.py +1 -5
- telegrinder/bot/dispatch/__init__.py +2 -3
- telegrinder/bot/dispatch/abc.py +4 -0
- telegrinder/bot/dispatch/context.py +9 -4
- telegrinder/bot/dispatch/dispatch.py +33 -30
- telegrinder/bot/dispatch/handler/func.py +33 -12
- telegrinder/bot/dispatch/handler/message_reply.py +6 -3
- telegrinder/bot/dispatch/middleware/abc.py +4 -4
- telegrinder/bot/dispatch/process.py +40 -13
- telegrinder/bot/dispatch/return_manager/abc.py +12 -12
- telegrinder/bot/dispatch/return_manager/callback_query.py +1 -3
- telegrinder/bot/dispatch/return_manager/inline_query.py +1 -3
- telegrinder/bot/dispatch/view/abc.py +74 -31
- telegrinder/bot/dispatch/view/box.py +66 -50
- telegrinder/bot/dispatch/view/message.py +1 -5
- telegrinder/bot/dispatch/view/raw.py +6 -6
- telegrinder/bot/dispatch/waiter_machine/__init__.py +2 -1
- telegrinder/bot/dispatch/waiter_machine/machine.py +86 -50
- telegrinder/bot/dispatch/waiter_machine/middleware.py +31 -7
- telegrinder/bot/dispatch/waiter_machine/short_state.py +26 -7
- telegrinder/bot/polling/polling.py +4 -4
- telegrinder/bot/rules/__init__.py +9 -6
- telegrinder/bot/rules/abc.py +99 -22
- telegrinder/bot/rules/adapter/__init__.py +4 -1
- telegrinder/bot/rules/adapter/abc.py +11 -6
- telegrinder/bot/rules/adapter/errors.py +1 -2
- telegrinder/bot/rules/adapter/event.py +14 -9
- telegrinder/bot/rules/adapter/node.py +42 -0
- telegrinder/bot/rules/callback_data.py +13 -15
- telegrinder/bot/rules/chat_join.py +3 -2
- telegrinder/bot/rules/command.py +26 -14
- telegrinder/bot/rules/enum_text.py +5 -5
- telegrinder/bot/rules/func.py +6 -6
- telegrinder/bot/rules/fuzzy.py +5 -7
- telegrinder/bot/rules/inline.py +4 -5
- telegrinder/bot/rules/integer.py +10 -8
- telegrinder/bot/rules/is_from.py +63 -91
- telegrinder/bot/rules/markup.py +5 -5
- telegrinder/bot/rules/mention.py +4 -4
- telegrinder/bot/rules/message.py +1 -1
- telegrinder/bot/rules/node.py +27 -0
- telegrinder/bot/rules/regex.py +5 -5
- telegrinder/bot/rules/rule_enum.py +4 -4
- telegrinder/bot/rules/start.py +5 -5
- telegrinder/bot/rules/text.py +9 -13
- telegrinder/bot/rules/update.py +4 -4
- telegrinder/bot/scenario/__init__.py +3 -3
- telegrinder/bot/scenario/checkbox.py +5 -5
- telegrinder/bot/scenario/choice.py +5 -5
- telegrinder/model.py +49 -15
- telegrinder/modules.py +14 -6
- telegrinder/msgspec_utils.py +8 -17
- telegrinder/node/__init__.py +26 -8
- telegrinder/node/attachment.py +13 -9
- telegrinder/node/base.py +27 -14
- telegrinder/node/callback_query.py +18 -0
- telegrinder/node/command.py +29 -0
- telegrinder/node/composer.py +119 -30
- telegrinder/node/me.py +14 -0
- telegrinder/node/message.py +2 -4
- telegrinder/node/polymorphic.py +44 -0
- telegrinder/node/rule.py +26 -22
- telegrinder/node/scope.py +36 -0
- telegrinder/node/source.py +37 -10
- telegrinder/node/text.py +11 -5
- telegrinder/node/tools/__init__.py +2 -2
- telegrinder/node/tools/generator.py +6 -6
- telegrinder/tools/__init__.py +9 -14
- telegrinder/tools/buttons.py +23 -17
- telegrinder/tools/error_handler/error_handler.py +11 -14
- telegrinder/tools/formatting/__init__.py +0 -6
- telegrinder/tools/formatting/html.py +10 -12
- telegrinder/tools/formatting/links.py +0 -5
- telegrinder/tools/formatting/spec_html_formats.py +0 -11
- telegrinder/tools/global_context/abc.py +1 -3
- telegrinder/tools/global_context/global_context.py +6 -16
- telegrinder/tools/i18n/simple.py +1 -3
- telegrinder/tools/kb_set/yaml.py +1 -2
- telegrinder/tools/keyboard.py +7 -8
- telegrinder/tools/limited_dict.py +13 -3
- telegrinder/tools/loop_wrapper/loop_wrapper.py +6 -5
- telegrinder/tools/magic.py +27 -5
- telegrinder/types/__init__.py +20 -0
- telegrinder/types/enums.py +37 -31
- telegrinder/types/methods.py +613 -401
- telegrinder/types/objects.py +1151 -757
- {telegrinder-0.1.dev167.dist-info → telegrinder-0.1.dev169.dist-info}/LICENSE +1 -1
- {telegrinder-0.1.dev167.dist-info → telegrinder-0.1.dev169.dist-info}/METADATA +9 -8
- telegrinder-0.1.dev169.dist-info/RECORD +143 -0
- telegrinder/bot/dispatch/composition.py +0 -88
- telegrinder-0.1.dev167.dist-info/RECORD +0 -137
- {telegrinder-0.1.dev167.dist-info → telegrinder-0.1.dev169.dist-info}/WHEEL +0 -0
|
@@ -19,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
19
19
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
20
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
21
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
-
SOFTWARE.
|
|
22
|
+
SOFTWARE.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: telegrinder
|
|
3
|
-
Version: 0.1.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.1.dev169
|
|
4
|
+
Summary: Modern visionary telegram bot framework.
|
|
5
5
|
Home-page: https://github.com/timoniq/telegrinder
|
|
6
6
|
License: MIT
|
|
7
|
-
Keywords: asyncio,api schema,async,bot building,bot api,custom rules,telegram,telegram bot api framework,telegrinder,middleware,composition
|
|
7
|
+
Keywords: asyncio,api schema,async,bot building,bot api,custom rules,telegram,telegram bot api framework,telegrinder framework,middleware,composition,framework,telegrinder,waiter machine
|
|
8
8
|
Author: timoniq
|
|
9
9
|
Author-email: tesseradecades@mail.ru
|
|
10
10
|
Maintainer: luwqz1
|
|
@@ -30,6 +30,7 @@ Requires-Dist: msgspec (>=0.18.6,<0.19.0)
|
|
|
30
30
|
Requires-Dist: requests (>=2.28.1,<3.0.0)
|
|
31
31
|
Requires-Dist: typing-extensions (>=4.10.0,<5.0.0)
|
|
32
32
|
Requires-Dist: vbml (>=1.1.post1,<2.0)
|
|
33
|
+
Project-URL: Bug Tracker, https://github.com/timoniq/telegrinder/issues
|
|
33
34
|
Project-URL: Repository, https://github.com/timoniq/telegrinder
|
|
34
35
|
Description-Content-Type: text/markdown
|
|
35
36
|
|
|
@@ -49,23 +50,23 @@ Still in development.
|
|
|
49
50
|
|
|
50
51
|
Install using pip:
|
|
51
52
|
|
|
52
|
-
```
|
|
53
|
+
```console
|
|
53
54
|
pip install telegrinder
|
|
54
55
|
```
|
|
55
56
|
|
|
56
57
|
Using poetry:
|
|
57
58
|
|
|
58
|
-
```
|
|
59
|
+
```console
|
|
59
60
|
poetry add telegrinder
|
|
60
61
|
```
|
|
61
62
|
|
|
62
63
|
Install from github:
|
|
63
64
|
|
|
64
|
-
```
|
|
65
|
+
```console
|
|
65
66
|
pip install -U https://github.com/timoniq/telegrinder/archive/dev.zip
|
|
66
67
|
```
|
|
67
68
|
|
|
68
|
-
```
|
|
69
|
+
```console
|
|
69
70
|
poetry add git+https://github.com/timoniq/telegrinder.git#dev
|
|
70
71
|
```
|
|
71
72
|
|
|
@@ -104,7 +105,7 @@ Join our [telegram forum](https://t.me/botoforum).
|
|
|
104
105
|
|
|
105
106
|
# License
|
|
106
107
|
|
|
107
|
-
Telegrinder is [MIT licensed](./LICENSE)
|
|
108
|
+
Telegrinder is [MIT licensed](./LICENSE)\
|
|
108
109
|
Copyright © 2022-2024 [timoniq](https://github.com/timoniq)\
|
|
109
110
|
Copyright © 2024 [luwqz1](https://github.com/luwqz1)
|
|
110
111
|
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
telegrinder/__init__.py,sha256=_oJyGLb0znFMchGTHQtqeBYlvgvTb9FE9QxnyJvzuTQ,4230
|
|
2
|
+
telegrinder/api/__init__.py,sha256=pIDtnsL0NwT5PgVm43Gkp-ByOqDsqnD-oFDiC9tcPT4,246
|
|
3
|
+
telegrinder/api/abc.py,sha256=IPPGed6dSDvK5lMQ2eABHD_aiXVC2geY04u7ZFlGiCI,1799
|
|
4
|
+
telegrinder/api/api.py,sha256=3vq9o0s2y3kCFjH-PcIcAMY071Cs_A3BSazgTzum39c,2473
|
|
5
|
+
telegrinder/api/error.py,sha256=NOlVjQ6AsgCldCgeHZ2zFSA4DXolP6ADBPA16xFEwJU,417
|
|
6
|
+
telegrinder/api/response.py,sha256=d7Oxd5kOdbZNJiALkzkecHl8Y3K_BzCmsRq2Sn3otqA,491
|
|
7
|
+
telegrinder/bot/__init__.py,sha256=bGXs_-fHjyeZ736Jyy9GN1J0W4ar4Kl58IBkybj5k30,1918
|
|
8
|
+
telegrinder/bot/bot.py,sha256=FZFyi-CLEcJYlOz5BbL5Ev6dZQ5VhVqxh1nYburXplQ,2464
|
|
9
|
+
telegrinder/bot/cute_types/__init__.py,sha256=XDcZJMKDFYJExvaNSm3B-bMQ2_wRETALz7-OWAytBC0,457
|
|
10
|
+
telegrinder/bot/cute_types/base.py,sha256=IemxYRLA6s046BM_J4Qvu07Oo3_-TslFUnVzgJPMpnA,4475
|
|
11
|
+
telegrinder/bot/cute_types/callback_query.py,sha256=U2t9918soc-voh-r6Tkiqyaggx9FY3zeBko6vkKbICY,20640
|
|
12
|
+
telegrinder/bot/cute_types/chat_join_request.py,sha256=JJFYgaofPZeegBC-gAWUaClzzb7yOhNN_DEd3Y4A8oU,2264
|
|
13
|
+
telegrinder/bot/cute_types/chat_member_updated.py,sha256=bxsuBZxADVuN-DBj_nrRmWSbekdGZZCR7ZiTPJt-yt8,10938
|
|
14
|
+
telegrinder/bot/cute_types/inline_query.py,sha256=wd_zhUQXNi1xOVnDBleD4GZXgH63g5STFXUJaW0YE0Q,2474
|
|
15
|
+
telegrinder/bot/cute_types/message.py,sha256=gvTfMs6J1yTgoKPaafiy-bkEB2d5BnPx2E8R3sQQYbo,149711
|
|
16
|
+
telegrinder/bot/cute_types/update.py,sha256=scz99PDbfsClEIoZbHTBbx-XnxnHAewK2kksT1IxD9U,674
|
|
17
|
+
telegrinder/bot/cute_types/utils.py,sha256=9y3E3RfoRuLcqlFYqem5Al0aMATDA0Vd5Azgc5yM9vA,17048
|
|
18
|
+
telegrinder/bot/dispatch/__init__.py,sha256=TN2vOJrZeSeO8WV7YD6WpE-eeJIKGqQNVD3dmQrfYsg,1468
|
|
19
|
+
telegrinder/bot/dispatch/abc.py,sha256=jl2ut8qfsax8OIMGxXo4roNjQvwTStG1X1Bw5f07c8U,588
|
|
20
|
+
telegrinder/bot/dispatch/context.py,sha256=sfLaLuv4nj38ECky9EQAlQ-CreMnfZnDnz5Zl6U3Z90,2381
|
|
21
|
+
telegrinder/bot/dispatch/dispatch.py,sha256=0IfpgOZtCt7PHcK8WjmZ0y9gcXKBS4rpcQ1bzMbcsQg,5247
|
|
22
|
+
telegrinder/bot/dispatch/handler/__init__.py,sha256=mzchbArrm0eoTEeVKHYrtJX4WSfW5t6T4xDU3-mtYaA,169
|
|
23
|
+
telegrinder/bot/dispatch/handler/abc.py,sha256=ry5gMUxB6buiDksAFiuWM-LcIAg5S8rJZlW_0PWpVJA,570
|
|
24
|
+
telegrinder/bot/dispatch/handler/func.py,sha256=JyW47LcbRvsUIp1qot4DHN3okdXgaYw_Pe35Fp4Ssqg,3728
|
|
25
|
+
telegrinder/bot/dispatch/handler/message_reply.py,sha256=2tKJ50_MA8ZlrIOHOcxjXnfItRjp3w_bPZcqq0JbEmU,1935
|
|
26
|
+
telegrinder/bot/dispatch/middleware/__init__.py,sha256=qDuTt2ZZKX9UMjPdw5xaaNZdMI-i3P4Px2T8qbYCMJw,61
|
|
27
|
+
telegrinder/bot/dispatch/middleware/abc.py,sha256=uguHsUc1MR1BNFBIqowWpOvnnI7Mss_J_KEMY-B80uw,433
|
|
28
|
+
telegrinder/bot/dispatch/process.py,sha256=VBuMJH1wSjMXdc8lsvCUiiVCU_Fk0Seq5qXUQZeOgXg,3357
|
|
29
|
+
telegrinder/bot/dispatch/return_manager/__init__.py,sha256=M9RmSqs5U_JixX_1FT1byMAxdfcC3UGvZAhmmebFDN4,446
|
|
30
|
+
telegrinder/bot/dispatch/return_manager/abc.py,sha256=f5EETlFqSJx37gwby1_FrRQjDLxsD3pDoy8kWrvpSQ8,3562
|
|
31
|
+
telegrinder/bot/dispatch/return_manager/callback_query.py,sha256=FvAmCHZQ59fA7tJdW4lWsG0WdkJJApGNHYKwC-_or_k,652
|
|
32
|
+
telegrinder/bot/dispatch/return_manager/inline_query.py,sha256=lKmg1__LBgFTrWjS2Ckp7LDWVKr8PDfB_awMyh3PnFg,475
|
|
33
|
+
telegrinder/bot/dispatch/return_manager/message.py,sha256=ZrCrvq8wNmz8TTykoVMzneKk11cIqkCFZIOynZ5PjAQ,1160
|
|
34
|
+
telegrinder/bot/dispatch/view/__init__.py,sha256=x8qPwRWosGNTk89tvyiWZhHKvVK2IqFI87D7YTrRKbk,569
|
|
35
|
+
telegrinder/bot/dispatch/view/abc.py,sha256=6wPPDEukwBCj80OQtYhTOxoxwUbrlj-gN1AOkZqCnzE,6659
|
|
36
|
+
telegrinder/bot/dispatch/view/box.py,sha256=y_tIQRgvjhc3aunzA7BGQIVlwwC9jpByk2-jjjV9sKw,4090
|
|
37
|
+
telegrinder/bot/dispatch/view/callback_query.py,sha256=ALQm-cUFDQggZqwGVOEVodvpTcYKXCebwYDbLcZ36cE,560
|
|
38
|
+
telegrinder/bot/dispatch/view/chat_join_request.py,sha256=y1wQMrPSiqxDHQm7TqdOA-ecAP3rnocYTzQxa7-7vws,447
|
|
39
|
+
telegrinder/bot/dispatch/view/chat_member.py,sha256=VGXp0F_y4b1b3kYNO5Y4QLeoM6pt_DzA1sNysBdObAY,715
|
|
40
|
+
telegrinder/bot/dispatch/view/inline_query.py,sha256=hRwrgfhgS5YF0E6eUrR8FuWVHUMlnA758kG7V049lkE,531
|
|
41
|
+
telegrinder/bot/dispatch/view/message.py,sha256=ChXx0ubRXYZw_InPZeoR9cFjo6GeVI-Z4MKw68sZ2gU,1110
|
|
42
|
+
telegrinder/bot/dispatch/view/raw.py,sha256=lOO_vwMqAZ0fFUGLBQGvFgvJdLQgWgAaN1pM-fCSeq8,3366
|
|
43
|
+
telegrinder/bot/dispatch/waiter_machine/__init__.py,sha256=6Rt8xVhL7c-k_kNEQ7GX52DJEwVo_1Y4VacqA7rUDyc,246
|
|
44
|
+
telegrinder/bot/dispatch/waiter_machine/machine.py,sha256=OAyvl2a0jOdxQayb2gcagCw_CzrebaPnxxV-MyfzQR8,5850
|
|
45
|
+
telegrinder/bot/dispatch/waiter_machine/middleware.py,sha256=U_umumt1MZmEh_uCMNk2bbxe3mF6AiRDWRsNvUDC-7Q,3517
|
|
46
|
+
telegrinder/bot/dispatch/waiter_machine/short_state.py,sha256=RNkca2NOTi99Z9EJ3Jf411g2dmPTKcYoCwPdNUAjZVw,2041
|
|
47
|
+
telegrinder/bot/polling/__init__.py,sha256=OqfIFPS_V6UrCg-vCv9pkMFzTKdNbDP2faBfATs_TGg,94
|
|
48
|
+
telegrinder/bot/polling/abc.py,sha256=-5BpX55SJfDlEJWt15yOXWCizQRrgeY5oiA5eHkm1Nw,434
|
|
49
|
+
telegrinder/bot/polling/polling.py,sha256=YthuMej1eXipM2Yn_sF6dAdQGyKQmRN81MFIeLNo96M,4703
|
|
50
|
+
telegrinder/bot/rules/__init__.py,sha256=4gxjLyXueNa6-4RoQuK0wsV51GtnRsRp1WvnnC_9XRw,2352
|
|
51
|
+
telegrinder/bot/rules/abc.py,sha256=ymHiX_C3Rogn84UsVtxD81LKKEV5zQD1pv0hR263pGY,5906
|
|
52
|
+
telegrinder/bot/rules/adapter/__init__.py,sha256=r1U1mky2I5K9ZUiktGILtcGtHUU3LPIz2-G6hs9WWeg,300
|
|
53
|
+
telegrinder/bot/rules/adapter/abc.py,sha256=SXChAektvYOkGxIxjZrIn-BS4AttsWohqMF4zLPc9qM,567
|
|
54
|
+
telegrinder/bot/rules/adapter/errors.py,sha256=qrovMtrhsLfSAwfkh3tAi9ld5fl58SpYMKyju78LOcU,68
|
|
55
|
+
telegrinder/bot/rules/adapter/event.py,sha256=7ynxb4QnEzvZYIqFvGAPi5Yg_ZP1pEdgMQ7fWPLVd3Y,2243
|
|
56
|
+
telegrinder/bot/rules/adapter/node.py,sha256=zqa5oCgYBNeodk7hbLzwIdrzOJ9ZjnKDsrIH2re_v-k,1643
|
|
57
|
+
telegrinder/bot/rules/adapter/raw_update.py,sha256=K0bwq3Hh-hIs_xbEYDOgZHMS4r-Zvo3VKs1B3gkJLGA,752
|
|
58
|
+
telegrinder/bot/rules/callback_data.py,sha256=5ZcIapEmRNxX34s0Htese2nKpGxpH9rP25cfs6qPorM,5511
|
|
59
|
+
telegrinder/bot/rules/chat_join.py,sha256=xuyotgsGc_2_jQ5GFp-_3i4bs3ofHDaXoRbWn_Qu-QY,1484
|
|
60
|
+
telegrinder/bot/rules/command.py,sha256=vY7gZxLBkB5_dWC4LezCcsLMUUP5faEJLHCPKBSIucg,3889
|
|
61
|
+
telegrinder/bot/rules/enum_text.py,sha256=YJ6S2fAQts8zCjCgoL7uUGWlnPOH59rjvA7Si2hKyR4,944
|
|
62
|
+
telegrinder/bot/rules/func.py,sha256=BBtJo2L3wdINP8DJ_NvXdBqbCmW2EM718icXeqEyETc,753
|
|
63
|
+
telegrinder/bot/rules/fuzzy.py,sha256=DwDZTQr3TAS7tk4V_yqu9R4Cw-T4ybx-CRj04O_11bw,668
|
|
64
|
+
telegrinder/bot/rules/inline.py,sha256=56I-TAFbha99HTgM9HXNPpL0KWTwTqhvDFon2cNl1vA,1981
|
|
65
|
+
telegrinder/bot/rules/integer.py,sha256=JCQgUIqsMVa41HZdmo0l4wvwwWwBoYrD8_ix7EiPlU4,480
|
|
66
|
+
telegrinder/bot/rules/is_from.py,sha256=x7vCbLzqFkFE0GxPgy_WA_mRFa_ogSNTzyJ6PK3Qx0o,3382
|
|
67
|
+
telegrinder/bot/rules/markup.py,sha256=KB7KbQylnX2RB0eY1VfTfoTxe8nLcp4GdPPtXSZ74Kw,1072
|
|
68
|
+
telegrinder/bot/rules/mention.py,sha256=xteWbtSjQN3KOXpB8RjuVYu18bGrLxNtVFg6oR-UkxU,435
|
|
69
|
+
telegrinder/bot/rules/message.py,sha256=VFfcEmNrw5sW4EYpk2XgLkSE5-rRr7sWC2dFE26Q3cI,442
|
|
70
|
+
telegrinder/bot/rules/message_entities.py,sha256=QyzpQ6avhI6WniafDHtGZ5PVwyHn6JGffbhU4uA5gE8,1100
|
|
71
|
+
telegrinder/bot/rules/node.py,sha256=XUGpAtDMZvO-ZUNkwKpVKfi52uOO4E_vjE4aFla6vyw,871
|
|
72
|
+
telegrinder/bot/rules/regex.py,sha256=47YiblXXUdkKjjmDk8tR_GRpzuSAvtRTSecD6TEXmEk,1145
|
|
73
|
+
telegrinder/bot/rules/rule_enum.py,sha256=Fl9Smuatr9VEg9_Xud0ohcemqf8NhXIqMoPgGsogNK8,2101
|
|
74
|
+
telegrinder/bot/rules/start.py,sha256=3ciA28m9JNcM-1H2YnLrUNyS1Y4UsyYPR5MClrpdAdA,1154
|
|
75
|
+
telegrinder/bot/rules/text.py,sha256=kmiL-mG_T4eoJXbYyCacf6ZvvKmKgNrEaIo2RTMBG0E,1031
|
|
76
|
+
telegrinder/bot/rules/update.py,sha256=T-sJGnpWkAZ_uxAdrRqWi33FKNlUA3wV_-vp87x0lsI,465
|
|
77
|
+
telegrinder/bot/scenario/__init__.py,sha256=nnPjdxdvjoEYYMRUEfWvIhZStiY1C984x1azdRRP9II,136
|
|
78
|
+
telegrinder/bot/scenario/abc.py,sha256=3AZYRjZlkbDtyFbsKdZ6BefzWYlJ0DOrGwh8jI3nzv4,474
|
|
79
|
+
telegrinder/bot/scenario/checkbox.py,sha256=ULsdt40AXqqiTnN5iXiiw5TJ7j4IFoQOg92TF3zg_XA,4152
|
|
80
|
+
telegrinder/bot/scenario/choice.py,sha256=YAWY2mEqon9cO93Kc25emR9U4bPIKHFg8APIJR3APZo,1441
|
|
81
|
+
telegrinder/client/__init__.py,sha256=ZiS1Wb_l_kv3FHzEEi1oXtFLwlA_HXmWOzeN0xA3E7Y,104
|
|
82
|
+
telegrinder/client/abc.py,sha256=OxsTX_PLYBEeFT9zpidFUzAbQL9BM7rQqru7zdn5DiQ,1611
|
|
83
|
+
telegrinder/client/aiohttp.py,sha256=AqmuHd6Z3zy96YBe7xIMC4U8Hi9SA7j-0EI7xYE3ZCU,4085
|
|
84
|
+
telegrinder/model.py,sha256=RGdg5PDawpEyY13vTJi1KZSsmG4wmKbzss-9se-VckI,5683
|
|
85
|
+
telegrinder/modules.py,sha256=SdeGCiptyTwFaUqceB7AXfM55fmvyIFxkbb918S_0Xo,7967
|
|
86
|
+
telegrinder/msgspec_json.py,sha256=phfyhUvYYZUGEcI6RAyRx9lnARPK_Fqtw3Q0MEJnuUk,226
|
|
87
|
+
telegrinder/msgspec_utils.py,sha256=ZoR5a2JDxWcEyVwNJADhdURmHd-YDcMUK4Vi4RAw_hk,8111
|
|
88
|
+
telegrinder/node/__init__.py,sha256=ldO81KDzhSETa-ikU7GwQgp1lHd0pWuJyrgbzBrdWTg,1185
|
|
89
|
+
telegrinder/node/attachment.py,sha256=XKoIhjezUIooeTrR1RVSvPJVlPdDdszuRb-jdK9Ieu0,2965
|
|
90
|
+
telegrinder/node/base.py,sha256=eV9pPSni8SOWbb5bxBpkCEVUVw52EoXVjXNOrYURZQY,2378
|
|
91
|
+
telegrinder/node/callback_query.py,sha256=p_lu3irNmgXMA9nnYCsqHcrTGXzk-6yfLmbPdfQBlec,508
|
|
92
|
+
telegrinder/node/command.py,sha256=BWPHu7Dv4FzC_LqgbI_6a0TppFb_Mq4mYkdF3E5ddhk,774
|
|
93
|
+
telegrinder/node/composer.py,sha256=BFsFzA8XzLXmrHQNoEajAMEwge7bo6EPNI5_H0vwEMU,5425
|
|
94
|
+
telegrinder/node/container.py,sha256=arXgXw92nVJVvsxCYAljUwPGGbKqLcu0qcdILWt09X8,632
|
|
95
|
+
telegrinder/node/me.py,sha256=MFJbXPt53AIbPWJHbSbPd_pwHoUZ2V2weg_yQ3PGOcw,358
|
|
96
|
+
telegrinder/node/message.py,sha256=qaaj2nbsJzH3W5kKavUAKT5MF77vgEntJNN83Jejg5E,460
|
|
97
|
+
telegrinder/node/polymorphic.py,sha256=KS6XUzQ0h2LtngXqELy7QE2Y5mAPbSpY_SfsRz32Css,1539
|
|
98
|
+
telegrinder/node/rule.py,sha256=jQQ6NJwcSEWU1x6NWmYKjivCeCJPMtMT0x6UnwvZ0fw,1915
|
|
99
|
+
telegrinder/node/scope.py,sha256=AU2YSB2E3tf0rAdoa1AtbcpTCKguuprl6eulBsgUuxM,677
|
|
100
|
+
telegrinder/node/source.py,sha256=Vdzym7bkcPlo6yP7jSw4iVHFXmkevNqwJZl3PfZDEHU,1720
|
|
101
|
+
telegrinder/node/text.py,sha256=FYesQBT7he4DVkafsoMFCWcnEDETs4P-7X8zb6UMp4I,547
|
|
102
|
+
telegrinder/node/tools/__init__.py,sha256=iyjs82g3brYGzpPsUQaoK6_r7YuQhRkJ61YjjuPOx9E,67
|
|
103
|
+
telegrinder/node/tools/generator.py,sha256=xuhZ5-TwoctFLlDBdYvjOQxHTpqC4IAdnkzMViVSsUM,1046
|
|
104
|
+
telegrinder/node/update.py,sha256=QD-m9soBgsP3voTbhaErWdE1FciwYyJCIFNDYf_zra0,253
|
|
105
|
+
telegrinder/rules.py,sha256=BFB8RFwKKxqs9HFfo_p0RfulQNonPZAX8cHpmnG7qCU,39
|
|
106
|
+
telegrinder/tools/__init__.py,sha256=Ps-g1JlmOjzFJFvMuSPHNQRuKYjsDGhMVn-DjzDy1yM,2829
|
|
107
|
+
telegrinder/tools/buttons.py,sha256=lAzNa_uG-6rjLIhqwlL4IjulfzhY8ZjpsMXMphl3qUY,3033
|
|
108
|
+
telegrinder/tools/error_handler/__init__.py,sha256=WmYWZCNhhSk32j4lIOltEwzoYUx086TGTbOF5h3Ps7s,207
|
|
109
|
+
telegrinder/tools/error_handler/abc.py,sha256=w5t2sWa_xt9iy7pdphiFs1kgmsll7A7eaPbm3Yes8t0,888
|
|
110
|
+
telegrinder/tools/error_handler/error.py,sha256=3T2nbxL9vEXzZX2sxeUqpiEd5RPv-R1ZDT1Yjq9Fb4I,185
|
|
111
|
+
telegrinder/tools/error_handler/error_handler.py,sha256=NMY7XJnffF5AZiwaRoYHcDut-U29ztHIplpsPyPRrq4,6363
|
|
112
|
+
telegrinder/tools/formatting/__init__.py,sha256=1tFuJjMpDphCIOR4uXQhptyLHuAZ26mYSFx_BQwL5Lo,1459
|
|
113
|
+
telegrinder/tools/formatting/html.py,sha256=h8hyN6t6cJfMBjMf-XWZixVnweoAuLUIJ1xjg9JOJDw,8736
|
|
114
|
+
telegrinder/tools/formatting/links.py,sha256=dYJy2qPxa4YGHYqSSCTv-6hXz0Aa0AGuzsLXwbxPZ9A,1112
|
|
115
|
+
telegrinder/tools/formatting/spec_html_formats.py,sha256=CzgaXnckrvyWNMKRKzZtQ1hKk-1xYKnN_msdSxbm03I,2497
|
|
116
|
+
telegrinder/tools/global_context/__init__.py,sha256=QcNZpVTS-ZsPGdF4BQ10wnrfr1fZ3jX9aI-6It0nQxE,282
|
|
117
|
+
telegrinder/tools/global_context/abc.py,sha256=twwAmbTk49KGl_POImr4yj6POr-zdx8mz74McuphZH0,1644
|
|
118
|
+
telegrinder/tools/global_context/global_context.py,sha256=slWu69QC8pwMYVsWFiBKeci_10hVlB7trfakWXZvMIs,13645
|
|
119
|
+
telegrinder/tools/global_context/telegrinder_ctx.py,sha256=6vlUAtdDUTF_pbKByOBTwJm1Rst6m6LQnz59Lx1mV2g,647
|
|
120
|
+
telegrinder/tools/i18n/__init__.py,sha256=CLUoiCJzOZzF-dqDIHZ5Fc8QUa38cYhIG4WF-ctPLfE,288
|
|
121
|
+
telegrinder/tools/i18n/base.py,sha256=jxJVYiTplJaNeklkGiin-m7BkfZiac2fbVXTEdhNw6o,726
|
|
122
|
+
telegrinder/tools/i18n/middleware/__init__.py,sha256=y5ZX6s3fOix_Yn98UNO8VqQ7ihJbQ_e5Uz01RgL7pHg,82
|
|
123
|
+
telegrinder/tools/i18n/middleware/base.py,sha256=gGqcPxJLLC3f6XfV_0-drhr27TND40cL1Z5sNmC84lo,663
|
|
124
|
+
telegrinder/tools/i18n/simple.py,sha256=yiaGtEAaMkrzYV3O7esA2wi3A2n9YyndxKPKp8Fs834,1567
|
|
125
|
+
telegrinder/tools/kb_set/__init__.py,sha256=k1KCQTnvEgJ2y4KlghhJWOh5rccwg_27cs8264NtMmk,156
|
|
126
|
+
telegrinder/tools/kb_set/base.py,sha256=mbZs-ViUErfSibzyN064IqZp76LBJPg3NB4D9v4VFtg,243
|
|
127
|
+
telegrinder/tools/kb_set/yaml.py,sha256=glk27r0L9Y8ibaPmTHMAEJZw-ED-ehmSo_NdJNKkrNs,2007
|
|
128
|
+
telegrinder/tools/keyboard.py,sha256=fQXXp2kLr3p9eDkDqMcTnlsUU0UomIRECFwuzskb1ck,3649
|
|
129
|
+
telegrinder/tools/limited_dict.py,sha256=tb1WT4P3Oia5CsCBXTHzlFjrPnIgf9eHCkQ0zhAbEUg,1078
|
|
130
|
+
telegrinder/tools/loop_wrapper/__init__.py,sha256=ZQ5jmE1lOKnqJlMZ9k2OYmjvOEhOlHPijUWqZ4nHIgk,165
|
|
131
|
+
telegrinder/tools/loop_wrapper/abc.py,sha256=ET_Dp-kRz75Jo1fZB3qofUgEXN4FqlU0xH2diESKGCM,266
|
|
132
|
+
telegrinder/tools/loop_wrapper/loop_wrapper.py,sha256=xhcTrSfas2VkaqunvjALLYHeTKBhstYLmtxPadE80HA,5755
|
|
133
|
+
telegrinder/tools/magic.py,sha256=EUmaajQDjq79fsNW94n1fFAFTExGLjUf0PX8Ib6PKkI,2578
|
|
134
|
+
telegrinder/tools/parse_mode.py,sha256=JyQ-x9YAMPLhIIiUX01acyKkpWgs5TBA07W-iUyPHpE,92
|
|
135
|
+
telegrinder/types/__init__.py,sha256=zwqYH_BevwejjvnNmbslt42646_3YKsdEdW3cisd12c,6588
|
|
136
|
+
telegrinder/types/enums.py,sha256=26s3dYVRKwJX9cYBZIZ7taBfPVstgMMVT6Fu3Ymcj-A,18969
|
|
137
|
+
telegrinder/types/methods.py,sha256=THVMvc3SnV2gq-fcifNvWxgLjFbgonrgPSx_SFqRYrk,197590
|
|
138
|
+
telegrinder/types/objects.py,sha256=xY12TXJvrpAaonufVoc2oixv9d6cXZ42KsM5mrB0Ueo,243604
|
|
139
|
+
telegrinder/verification_utils.py,sha256=ZUgHsouZjs930D5rI_w7VGy0ub69vovwKXeKjqgrSNc,1028
|
|
140
|
+
telegrinder-0.1.dev169.dist-info/LICENSE,sha256=Q0tKgU8mPOCQAkc6m__BrNIpRge8mPBQJDd59s21NZo,1095
|
|
141
|
+
telegrinder-0.1.dev169.dist-info/METADATA,sha256=qITibH1aO3aYZgj4VxMtceKYY6_UrVTcXHsVel72Wtg,3013
|
|
142
|
+
telegrinder-0.1.dev169.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
143
|
+
telegrinder-0.1.dev169.dist-info/RECORD,,
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import inspect
|
|
2
|
-
import typing
|
|
3
|
-
|
|
4
|
-
from telegrinder.api.abc import ABCAPI
|
|
5
|
-
from telegrinder.bot.cute_types import UpdateCute
|
|
6
|
-
from telegrinder.bot.dispatch.abc import ABCDispatch
|
|
7
|
-
from telegrinder.node import (
|
|
8
|
-
ComposeError,
|
|
9
|
-
ContainerNode,
|
|
10
|
-
Node,
|
|
11
|
-
NodeCollection,
|
|
12
|
-
NodeSession,
|
|
13
|
-
compose_node,
|
|
14
|
-
)
|
|
15
|
-
from telegrinder.tools import magic_bundle
|
|
16
|
-
from telegrinder.types import Update
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class Composition:
|
|
20
|
-
nodes: dict[str, type[Node]]
|
|
21
|
-
|
|
22
|
-
def __init__(self, func: typing.Callable, is_blocking: bool) -> None:
|
|
23
|
-
self.func = func
|
|
24
|
-
self.nodes = {
|
|
25
|
-
name: parameter.annotation
|
|
26
|
-
for name, parameter in inspect.signature(func).parameters.items()
|
|
27
|
-
}
|
|
28
|
-
self.is_blocking = is_blocking
|
|
29
|
-
|
|
30
|
-
def __repr__(self) -> str:
|
|
31
|
-
return "<{}: for function={!r} with nodes={}>".format(
|
|
32
|
-
("blocking " if self.is_blocking else "") + self.__class__.__name__,
|
|
33
|
-
self.func.__name__,
|
|
34
|
-
self.nodes,
|
|
35
|
-
)
|
|
36
|
-
|
|
37
|
-
async def compose_nodes(self, update: UpdateCute) -> NodeCollection | None:
|
|
38
|
-
nodes: dict[str, NodeSession] = {}
|
|
39
|
-
for name, node_t in self.nodes.items():
|
|
40
|
-
try:
|
|
41
|
-
nodes[name] = await compose_node(node_t, update)
|
|
42
|
-
except ComposeError:
|
|
43
|
-
await NodeCollection(nodes).close_all()
|
|
44
|
-
return None
|
|
45
|
-
return NodeCollection(nodes)
|
|
46
|
-
|
|
47
|
-
async def __call__(self, **kwargs: typing.Any) -> typing.Any:
|
|
48
|
-
return await self.func(**magic_bundle(self.func, kwargs, start_idx=0, bundle_ctx=False)) # type: ignore
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
class CompositionDispatch(ABCDispatch):
|
|
52
|
-
def __init__(self) -> None:
|
|
53
|
-
self.compositions: list[Composition] = []
|
|
54
|
-
|
|
55
|
-
def __repr__(self) -> str:
|
|
56
|
-
return "<{}: with compositions={!r}>".format(
|
|
57
|
-
self.__class__.__name__,
|
|
58
|
-
self.compositions,
|
|
59
|
-
)
|
|
60
|
-
|
|
61
|
-
async def feed(self, event: Update, api: ABCAPI) -> bool:
|
|
62
|
-
update = UpdateCute(**event.to_dict(), api=api)
|
|
63
|
-
is_found = False
|
|
64
|
-
for composition in self.compositions:
|
|
65
|
-
nodes = await composition.compose_nodes(update)
|
|
66
|
-
if nodes is not None:
|
|
67
|
-
result = await composition(**nodes.values())
|
|
68
|
-
await nodes.close_all(with_value=result)
|
|
69
|
-
if composition.is_blocking:
|
|
70
|
-
return True
|
|
71
|
-
is_found = True
|
|
72
|
-
return is_found
|
|
73
|
-
|
|
74
|
-
def load(self, external: typing.Self):
|
|
75
|
-
self.compositions.extend(external.compositions)
|
|
76
|
-
|
|
77
|
-
def __call__(self, *container_nodes: type[Node], is_blocking: bool = True):
|
|
78
|
-
def wrapper(func: typing.Callable):
|
|
79
|
-
composition = Composition(func, is_blocking)
|
|
80
|
-
if container_nodes:
|
|
81
|
-
composition.nodes["container"] = ContainerNode.link_nodes(list(container_nodes))
|
|
82
|
-
self.compositions.append(composition)
|
|
83
|
-
return func
|
|
84
|
-
|
|
85
|
-
return wrapper
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
__all__ = ("Composition", "CompositionDispatch")
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
telegrinder/__init__.py,sha256=LtOXSbLJKgQZnHIO86vpzTh0YlZDwyg0hM9R_yBBFnE,4117
|
|
2
|
-
telegrinder/api/__init__.py,sha256=pIDtnsL0NwT5PgVm43Gkp-ByOqDsqnD-oFDiC9tcPT4,246
|
|
3
|
-
telegrinder/api/abc.py,sha256=IPPGed6dSDvK5lMQ2eABHD_aiXVC2geY04u7ZFlGiCI,1799
|
|
4
|
-
telegrinder/api/api.py,sha256=3vq9o0s2y3kCFjH-PcIcAMY071Cs_A3BSazgTzum39c,2473
|
|
5
|
-
telegrinder/api/error.py,sha256=NOlVjQ6AsgCldCgeHZ2zFSA4DXolP6ADBPA16xFEwJU,417
|
|
6
|
-
telegrinder/api/response.py,sha256=d7Oxd5kOdbZNJiALkzkecHl8Y3K_BzCmsRq2Sn3otqA,491
|
|
7
|
-
telegrinder/bot/__init__.py,sha256=91NKeAbQH10sZ0Lzm-qENoxJRHz2SNvOy-30Ww5gzkA,1834
|
|
8
|
-
telegrinder/bot/bot.py,sha256=FZFyi-CLEcJYlOz5BbL5Ev6dZQ5VhVqxh1nYburXplQ,2464
|
|
9
|
-
telegrinder/bot/cute_types/__init__.py,sha256=XDcZJMKDFYJExvaNSm3B-bMQ2_wRETALz7-OWAytBC0,457
|
|
10
|
-
telegrinder/bot/cute_types/base.py,sha256=k20aJtTNoLn_63xQUFU-upVcwvwT0OX6odTLnCBY-xQ,4521
|
|
11
|
-
telegrinder/bot/cute_types/callback_query.py,sha256=kCPjELrzRNEfa3h_gxbl12bkS6ejY8pTNxCJZTNZuNw,20244
|
|
12
|
-
telegrinder/bot/cute_types/chat_join_request.py,sha256=Rkgu8myVlxbyGX2YIyyMRk5Io_fXqzNFcaTjzuBJ-jw,2237
|
|
13
|
-
telegrinder/bot/cute_types/chat_member_updated.py,sha256=3zoAiSSiFScXcAp8956nxsHTzaiD44boHKALFx_9XkY,10883
|
|
14
|
-
telegrinder/bot/cute_types/inline_query.py,sha256=QmaYkXSOQHrkWs7N6eD_HiTGGOtegN10hVppU37z3bE,2475
|
|
15
|
-
telegrinder/bot/cute_types/message.py,sha256=sFLnz1C0dtyJkSxJlsfOOrYPLGDsMMgdAHeAyGbpTp4,142042
|
|
16
|
-
telegrinder/bot/cute_types/update.py,sha256=X2YLPnYqQcZ_7Wtot5vEarcE8yjye47kjjtgfu3pfbo,787
|
|
17
|
-
telegrinder/bot/cute_types/utils.py,sha256=aCi4D86uVhCVQgalUqxdlTerI36K90B1PTSp86CnGXI,17110
|
|
18
|
-
telegrinder/bot/dispatch/__init__.py,sha256=z4pWNEdWBHKP902bvtUe4WWhtMKW-LgPj5Dds8aUFHE,1484
|
|
19
|
-
telegrinder/bot/dispatch/abc.py,sha256=YX184RfqSTMtxrt6qyNRu9uhlPHJLEJY3RKsLfBV7nw,462
|
|
20
|
-
telegrinder/bot/dispatch/composition.py,sha256=bR_fBib4mHEDFgDyGvmejGG1hHBV5zeFWuv2RBHPKXY,2942
|
|
21
|
-
telegrinder/bot/dispatch/context.py,sha256=lVnFaZm1jWlfG9JbtE5c_0pBV1pWlExvh24ESkO5Nag,2278
|
|
22
|
-
telegrinder/bot/dispatch/dispatch.py,sha256=PHwp3VfN8b9xiFZ2e5rR0VyezG7kHEcObjWxfX_W4so,5193
|
|
23
|
-
telegrinder/bot/dispatch/handler/__init__.py,sha256=mzchbArrm0eoTEeVKHYrtJX4WSfW5t6T4xDU3-mtYaA,169
|
|
24
|
-
telegrinder/bot/dispatch/handler/abc.py,sha256=ry5gMUxB6buiDksAFiuWM-LcIAg5S8rJZlW_0PWpVJA,570
|
|
25
|
-
telegrinder/bot/dispatch/handler/func.py,sha256=QBR8vudGmDn1euc3UuecWJxuWiB-yXzdEm0acZtcfKI,3018
|
|
26
|
-
telegrinder/bot/dispatch/handler/message_reply.py,sha256=_3gb3NLAwfTw7FTd7iga2tSe5WZ8IU9AdxwDWq5nMqI,1811
|
|
27
|
-
telegrinder/bot/dispatch/middleware/__init__.py,sha256=qDuTt2ZZKX9UMjPdw5xaaNZdMI-i3P4Px2T8qbYCMJw,61
|
|
28
|
-
telegrinder/bot/dispatch/middleware/abc.py,sha256=Aj9aEQ0yNM-pprUOdnYAmoIbq4wPMgyhCP8EUAvxzXs,413
|
|
29
|
-
telegrinder/bot/dispatch/process.py,sha256=TNgBoos7MkhIYJsqVC_m6L1iHaMJUu4jT95xPjBmdk4,2377
|
|
30
|
-
telegrinder/bot/dispatch/return_manager/__init__.py,sha256=M9RmSqs5U_JixX_1FT1byMAxdfcC3UGvZAhmmebFDN4,446
|
|
31
|
-
telegrinder/bot/dispatch/return_manager/abc.py,sha256=wpAbMJO2Y8sz780X7wFoMNKFm9mKxzdQmhctbzYudvo,3436
|
|
32
|
-
telegrinder/bot/dispatch/return_manager/callback_query.py,sha256=actPlW6JqZ2Qi8thDQUNiGmYT2WmME4YxhDL9F9OlYQ,666
|
|
33
|
-
telegrinder/bot/dispatch/return_manager/inline_query.py,sha256=Clo6Uvl__Ja9u5yg6RSJBjyqhhSpJINtq2NFS_pG45Q,489
|
|
34
|
-
telegrinder/bot/dispatch/return_manager/message.py,sha256=ZrCrvq8wNmz8TTykoVMzneKk11cIqkCFZIOynZ5PjAQ,1160
|
|
35
|
-
telegrinder/bot/dispatch/view/__init__.py,sha256=x8qPwRWosGNTk89tvyiWZhHKvVK2IqFI87D7YTrRKbk,569
|
|
36
|
-
telegrinder/bot/dispatch/view/abc.py,sha256=AgtskFpCln5tYDdx9nJqYUaU8DO5W5AlXvfnygY6zwE,5639
|
|
37
|
-
telegrinder/bot/dispatch/view/box.py,sha256=4cLaC6U31RbPC0AqrHIjtB_Av-Wbip9gJ0yODZ-jClA,3825
|
|
38
|
-
telegrinder/bot/dispatch/view/callback_query.py,sha256=ALQm-cUFDQggZqwGVOEVodvpTcYKXCebwYDbLcZ36cE,560
|
|
39
|
-
telegrinder/bot/dispatch/view/chat_join_request.py,sha256=y1wQMrPSiqxDHQm7TqdOA-ecAP3rnocYTzQxa7-7vws,447
|
|
40
|
-
telegrinder/bot/dispatch/view/chat_member.py,sha256=VGXp0F_y4b1b3kYNO5Y4QLeoM6pt_DzA1sNysBdObAY,715
|
|
41
|
-
telegrinder/bot/dispatch/view/inline_query.py,sha256=hRwrgfhgS5YF0E6eUrR8FuWVHUMlnA758kG7V049lkE,531
|
|
42
|
-
telegrinder/bot/dispatch/view/message.py,sha256=Fb7GRVCsVhE5xHZtFyiNntKcqtGCVzj2pEIOLcfFMm8,1175
|
|
43
|
-
telegrinder/bot/dispatch/view/raw.py,sha256=U1nY4sE_8TSR7nlyYh8Zn8qysfEWYS_dKhPGglE9VFw,3438
|
|
44
|
-
telegrinder/bot/dispatch/waiter_machine/__init__.py,sha256=RUuq-J1qZMeREL8omM8kxEfgAz3-7h3B9NhzSjLTMqA,190
|
|
45
|
-
telegrinder/bot/dispatch/waiter_machine/machine.py,sha256=rWAIwl9-igZ4V40XF87ItdiQBdjiqKvQmVzDKyZr39M,4114
|
|
46
|
-
telegrinder/bot/dispatch/waiter_machine/middleware.py,sha256=YdB3KSJRo11aoUfpV48Rm2GC14ea9ucJWL2ACRiTnig,2706
|
|
47
|
-
telegrinder/bot/dispatch/waiter_machine/short_state.py,sha256=zAtIVsQo1xHXwKeWn8GAsK4mlzzmzCDBUqc9g6r5FTg,1294
|
|
48
|
-
telegrinder/bot/polling/__init__.py,sha256=OqfIFPS_V6UrCg-vCv9pkMFzTKdNbDP2faBfATs_TGg,94
|
|
49
|
-
telegrinder/bot/polling/abc.py,sha256=-5BpX55SJfDlEJWt15yOXWCizQRrgeY5oiA5eHkm1Nw,434
|
|
50
|
-
telegrinder/bot/polling/polling.py,sha256=omSV2HhNIY78DTzll5yswRrEtYbbhFZGi5Q4QGHI_fE,4681
|
|
51
|
-
telegrinder/bot/rules/__init__.py,sha256=htt3Q3OkwBu8LXOMNoEvvLLqtnBQE88umPvLnk7B_kY,2311
|
|
52
|
-
telegrinder/bot/rules/abc.py,sha256=OJ7QLY-mpuIRU0xPzH_iePLgx15asg7DpbIoXKdzQ6I,3453
|
|
53
|
-
telegrinder/bot/rules/adapter/__init__.py,sha256=jFWpi3te8n-Ega3caCwLiA3iTW7F86brae0TZzH_BaU,231
|
|
54
|
-
telegrinder/bot/rules/adapter/abc.py,sha256=VxRGQbNtdfA6gZyTk0JjJBdB5n_7g6uwseewtovZEK8,558
|
|
55
|
-
telegrinder/bot/rules/adapter/errors.py,sha256=2r_UBTWm5-heU-NchBfobC1f848EWeC64nKvprGnAAY,73
|
|
56
|
-
telegrinder/bot/rules/adapter/event.py,sha256=SHCKW-bE0LS9jK6v2ciZTi5ELVw8WLcYJQ5b2qD53kc,2160
|
|
57
|
-
telegrinder/bot/rules/adapter/raw_update.py,sha256=K0bwq3Hh-hIs_xbEYDOgZHMS4r-Zvo3VKs1B3gkJLGA,752
|
|
58
|
-
telegrinder/bot/rules/callback_data.py,sha256=iZYDyOej2bSToo1eYQKRM7TryknC3KpvuZUJYJGcciQ,5398
|
|
59
|
-
telegrinder/bot/rules/chat_join.py,sha256=pWVMhrKi40-1vhBNQqV24i98GGJ0SwhagrvGeL1hMas,1401
|
|
60
|
-
telegrinder/bot/rules/command.py,sha256=2qzcLr_r4g7i5Hndhfd7zyoDfVCLPplr-Ijbr_yE4jo,3322
|
|
61
|
-
telegrinder/bot/rules/enum_text.py,sha256=O8J1xm5AtLnLVfIIbY1B1lygm9XLZ86YeApa4LuDn1o,954
|
|
62
|
-
telegrinder/bot/rules/func.py,sha256=rhLXf6FjS0p3Nx1ZHqmV7uelUYJOkCf1gwc-SZSyRCo,707
|
|
63
|
-
telegrinder/bot/rules/fuzzy.py,sha256=1rYcrMlv2Kepj-OQj-2G40OfelbqW8HGNqnujWwZWzw,700
|
|
64
|
-
telegrinder/bot/rules/inline.py,sha256=TKJfn2pdpQiFE8nkEZ2saH1oZzynxxd6unAdPJSXV3w,1946
|
|
65
|
-
telegrinder/bot/rules/integer.py,sha256=iZWctQQbrUV5kIhv8GI-O3iYzeI2d0dUdQ8uCaLB9gQ,531
|
|
66
|
-
telegrinder/bot/rules/is_from.py,sha256=RXWAS9cG_3Eh9poP0LPzHCrSW7LC0ld2T6Q-Q7d1QaQ,4839
|
|
67
|
-
telegrinder/bot/rules/markup.py,sha256=M81xQ9XJo1uxBXgEU9CY3TVzVANWNVa0JdobBk1Bdcg,1098
|
|
68
|
-
telegrinder/bot/rules/mention.py,sha256=aVhqRHn48f85f3v-gaA-vFh9lI8D9-Ho7akO-Jmryi4,459
|
|
69
|
-
telegrinder/bot/rules/message.py,sha256=XQ2gV9ivOHuIfNl-565ncmPLKDtlbNrXozURRK-GJyA,419
|
|
70
|
-
telegrinder/bot/rules/message_entities.py,sha256=QyzpQ6avhI6WniafDHtGZ5PVwyHn6JGffbhU4uA5gE8,1100
|
|
71
|
-
telegrinder/bot/rules/regex.py,sha256=amd_vIBNGL-Pce-rjRHDi2WXeB4zDTgjsin1d9wQr7Y,1171
|
|
72
|
-
telegrinder/bot/rules/rule_enum.py,sha256=86Qc7mVaMuMLkBv4EtW24IO1-B223h0QEAK2_i79cNk,2059
|
|
73
|
-
telegrinder/bot/rules/start.py,sha256=NyzyPu1t4J60EH44ErP3QpOZFA-Uhhmce2-cjOItN50,1176
|
|
74
|
-
telegrinder/bot/rules/text.py,sha256=MIEbbIu6X2zcOD70hM0TrQI4jN2ulKmuREos3BN7Ii4,1178
|
|
75
|
-
telegrinder/bot/rules/update.py,sha256=0ccDDD4QW2qx6hBMwNteUnGRbsGbrdE2fCkCx6AmuEA,480
|
|
76
|
-
telegrinder/bot/scenario/__init__.py,sha256=Ehe2uH-eQ-vRBPxIzdmE23B-FBOAa9YQyndmb6K8C5E,166
|
|
77
|
-
telegrinder/bot/scenario/abc.py,sha256=3AZYRjZlkbDtyFbsKdZ6BefzWYlJ0DOrGwh8jI3nzv4,474
|
|
78
|
-
telegrinder/bot/scenario/checkbox.py,sha256=vjedhLVurQtSbpFDPwMuLx5j5OJxa0Iv6aV8Ufd_jYw,4128
|
|
79
|
-
telegrinder/bot/scenario/choice.py,sha256=-NYyzgfGI0njVuT-EY0j3jS4tPlsKOEkZaUagtns7dE,1442
|
|
80
|
-
telegrinder/client/__init__.py,sha256=ZiS1Wb_l_kv3FHzEEi1oXtFLwlA_HXmWOzeN0xA3E7Y,104
|
|
81
|
-
telegrinder/client/abc.py,sha256=OxsTX_PLYBEeFT9zpidFUzAbQL9BM7rQqru7zdn5DiQ,1611
|
|
82
|
-
telegrinder/client/aiohttp.py,sha256=AqmuHd6Z3zy96YBe7xIMC4U8Hi9SA7j-0EI7xYE3ZCU,4085
|
|
83
|
-
telegrinder/model.py,sha256=F6lJAgNMTi7krCRDgATRSKiVbw7s-mJlt-hyo1TxUwU,4759
|
|
84
|
-
telegrinder/modules.py,sha256=_-xjQBCOpS63FXPlFdAIOQOFb0v0P9bcyPUYakOoSqE,7785
|
|
85
|
-
telegrinder/msgspec_json.py,sha256=phfyhUvYYZUGEcI6RAyRx9lnARPK_Fqtw3Q0MEJnuUk,226
|
|
86
|
-
telegrinder/msgspec_utils.py,sha256=4K9Tgjzko7p_yQlo5Wm2X2qpWgdRNyWg4_cGZITD7zE,8199
|
|
87
|
-
telegrinder/node/__init__.py,sha256=QfIzKIzRxYjnphilZMecZ2Wj-RpQ6RGvGUHdC9AtQ38,706
|
|
88
|
-
telegrinder/node/attachment.py,sha256=Dd6J7a8-S3UqHQ_JZ4sFupqw0aDElz_zRJRWpHPX9OE,2877
|
|
89
|
-
telegrinder/node/base.py,sha256=bgQZdkbwJD9RhTqyybSATDqnlMYvS_i6USZ6UAxNSxk,2201
|
|
90
|
-
telegrinder/node/composer.py,sha256=k8PSEj9GUx6l3WJqBbNVRxTUc34h1h8zs15Ije_eHw4,2219
|
|
91
|
-
telegrinder/node/container.py,sha256=arXgXw92nVJVvsxCYAljUwPGGbKqLcu0qcdILWt09X8,632
|
|
92
|
-
telegrinder/node/message.py,sha256=2SRVmkcZJZT6AUOihLSUmdyMxhjkkT4VU5tmiQ71OwQ,465
|
|
93
|
-
telegrinder/node/rule.py,sha256=-Hww0foPCg3-uk1w6lKGSeKEekbnVLP9W9fOShJ35Dc,1708
|
|
94
|
-
telegrinder/node/source.py,sha256=atv84Ehu0icpfqRdFCMvhCxiIx2htxf0Q2PGM59kmUU,787
|
|
95
|
-
telegrinder/node/text.py,sha256=j9fqOuGtGaaeRxawqDU9QT-duQ--XD8FH5kXj1ILTiM,351
|
|
96
|
-
telegrinder/node/tools/__init__.py,sha256=TI_o7MbS4DUOSkNNgJGLocXfRybPFv2WOhBty058wrY,57
|
|
97
|
-
telegrinder/node/tools/generator.py,sha256=rs7UcFxgnXgjiSdFPyChqZW4K4oRcmiPst6nYYOSrnw,1024
|
|
98
|
-
telegrinder/node/update.py,sha256=QD-m9soBgsP3voTbhaErWdE1FciwYyJCIFNDYf_zra0,253
|
|
99
|
-
telegrinder/rules.py,sha256=BFB8RFwKKxqs9HFfo_p0RfulQNonPZAX8cHpmnG7qCU,39
|
|
100
|
-
telegrinder/tools/__init__.py,sha256=lDcl3dDXQ_4daAmxoe9r8lyAsUhG79MZHgmq3uSpSko,2961
|
|
101
|
-
telegrinder/tools/buttons.py,sha256=0p-hebPWNVPfX6f_8CNtruRZ_W9monthz0Mb3rwPFRY,2414
|
|
102
|
-
telegrinder/tools/error_handler/__init__.py,sha256=WmYWZCNhhSk32j4lIOltEwzoYUx086TGTbOF5h3Ps7s,207
|
|
103
|
-
telegrinder/tools/error_handler/abc.py,sha256=w5t2sWa_xt9iy7pdphiFs1kgmsll7A7eaPbm3Yes8t0,888
|
|
104
|
-
telegrinder/tools/error_handler/error.py,sha256=3T2nbxL9vEXzZX2sxeUqpiEd5RPv-R1ZDT1Yjq9Fb4I,185
|
|
105
|
-
telegrinder/tools/error_handler/error_handler.py,sha256=yXlzbHv_h7XclD5xOZ9gWiawznGVxUBP3uX_kJlieHc,6313
|
|
106
|
-
telegrinder/tools/formatting/__init__.py,sha256=_oxb-4y_vyIgALlO2rfaa-azqicySpHHIcaYBrVPdSg,1609
|
|
107
|
-
telegrinder/tools/formatting/html.py,sha256=58WOeUBHqOBbSphyKj-4YomicYIQmiWFKd6c37RbaDg,8708
|
|
108
|
-
telegrinder/tools/formatting/links.py,sha256=ge9ZJflnfJEZIW8FGdsentzEsepyhSGwnk66tW9j7YI,1320
|
|
109
|
-
telegrinder/tools/formatting/spec_html_formats.py,sha256=akqgiKvRWQSYl3bgaX2UEVHfpZp-qBIOYdHmscjaXvI,2743
|
|
110
|
-
telegrinder/tools/global_context/__init__.py,sha256=QcNZpVTS-ZsPGdF4BQ10wnrfr1fZ3jX9aI-6It0nQxE,282
|
|
111
|
-
telegrinder/tools/global_context/abc.py,sha256=NgaySAslYkYSN_FMwVjLG907PJs1kSNEBzb08VzJEQo,1668
|
|
112
|
-
telegrinder/tools/global_context/global_context.py,sha256=IRjsJRCgwQZLCsyI3GRPpay6brljOdOLFpGMCwE12sM,13712
|
|
113
|
-
telegrinder/tools/global_context/telegrinder_ctx.py,sha256=6vlUAtdDUTF_pbKByOBTwJm1Rst6m6LQnz59Lx1mV2g,647
|
|
114
|
-
telegrinder/tools/i18n/__init__.py,sha256=CLUoiCJzOZzF-dqDIHZ5Fc8QUa38cYhIG4WF-ctPLfE,288
|
|
115
|
-
telegrinder/tools/i18n/base.py,sha256=jxJVYiTplJaNeklkGiin-m7BkfZiac2fbVXTEdhNw6o,726
|
|
116
|
-
telegrinder/tools/i18n/middleware/__init__.py,sha256=y5ZX6s3fOix_Yn98UNO8VqQ7ihJbQ_e5Uz01RgL7pHg,82
|
|
117
|
-
telegrinder/tools/i18n/middleware/base.py,sha256=gGqcPxJLLC3f6XfV_0-drhr27TND40cL1Z5sNmC84lo,663
|
|
118
|
-
telegrinder/tools/i18n/simple.py,sha256=aVPhBZJQG33sq8uumF0DkSzpc-o13ZCCwAvmFnwfm8s,1589
|
|
119
|
-
telegrinder/tools/kb_set/__init__.py,sha256=k1KCQTnvEgJ2y4KlghhJWOh5rccwg_27cs8264NtMmk,156
|
|
120
|
-
telegrinder/tools/kb_set/base.py,sha256=mbZs-ViUErfSibzyN064IqZp76LBJPg3NB4D9v4VFtg,243
|
|
121
|
-
telegrinder/tools/kb_set/yaml.py,sha256=rDoVkdfxp3gz-pS82nB1LDQU8cyckErwMee4nCXHunI,2027
|
|
122
|
-
telegrinder/tools/keyboard.py,sha256=oHwFnqj_pmKsxI6AnvFgZWQYqSkyK-Lgnnd6qbNTmEI,3730
|
|
123
|
-
telegrinder/tools/limited_dict.py,sha256=SkfHdDI3hb02zVDaKpFwTggcVU7yYqcudSRNsKqKYA4,763
|
|
124
|
-
telegrinder/tools/loop_wrapper/__init__.py,sha256=ZQ5jmE1lOKnqJlMZ9k2OYmjvOEhOlHPijUWqZ4nHIgk,165
|
|
125
|
-
telegrinder/tools/loop_wrapper/abc.py,sha256=ET_Dp-kRz75Jo1fZB3qofUgEXN4FqlU0xH2diESKGCM,266
|
|
126
|
-
telegrinder/tools/loop_wrapper/loop_wrapper.py,sha256=4JvtVIy14oAMYUy0Z3hayFqFXvoh6cBdgmnFHMo4s0Y,5701
|
|
127
|
-
telegrinder/tools/magic.py,sha256=ijUw7LipMPn0vO7UJzUpx5kNNRL_MTFArTxnxn_8qEU,1855
|
|
128
|
-
telegrinder/tools/parse_mode.py,sha256=JyQ-x9YAMPLhIIiUX01acyKkpWgs5TBA07W-iUyPHpE,92
|
|
129
|
-
telegrinder/types/__init__.py,sha256=IDaQRxugF7lh8LHFjs1fjAQY9y6Z5en_j8CezBdoL7E,6036
|
|
130
|
-
telegrinder/types/enums.py,sha256=LRPPSB95NhKnt5hd3dW_wMhiGEzGjyWSo5bheAfyz_s,19152
|
|
131
|
-
telegrinder/types/methods.py,sha256=RPDCeYHuVFtF0CT3XW4Gq8fI26P5ql4UqyVdQdIeXTE,186543
|
|
132
|
-
telegrinder/types/objects.py,sha256=QWlpNjjJc1jRBpG8cFKGLXhSyIiwtUHP2aIw446oPo8,228684
|
|
133
|
-
telegrinder/verification_utils.py,sha256=ZUgHsouZjs930D5rI_w7VGy0ub69vovwKXeKjqgrSNc,1028
|
|
134
|
-
telegrinder-0.1.dev167.dist-info/LICENSE,sha256=J9ngGsqHCNNjpm3xYPT7EnlzsnjhfqNXej5mJFjM6lw,1094
|
|
135
|
-
telegrinder-0.1.dev167.dist-info/METADATA,sha256=CPe-uupiL9vzJsSSiPLo9qvA78F9CnRNsbKOUn-hBfA,2892
|
|
136
|
-
telegrinder-0.1.dev167.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
137
|
-
telegrinder-0.1.dev167.dist-info/RECORD,,
|
|
File without changes
|