telegrinder 0.2.0.post1__tar.gz → 0.2.0.post2__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.

Potentially problematic release.


This version of telegrinder might be problematic. Click here for more details.

Files changed (145) hide show
  1. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/PKG-INFO +1 -1
  2. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/pyproject.toml +1 -1
  3. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/keyboard.py +6 -1
  4. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/LICENSE +0 -0
  5. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/readme.md +0 -0
  6. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/__init__.py +0 -0
  7. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/api/__init__.py +0 -0
  8. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/api/api.py +0 -0
  9. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/api/error.py +0 -0
  10. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/api/response.py +0 -0
  11. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/api/token.py +0 -0
  12. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/__init__.py +0 -0
  13. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/bot.py +0 -0
  14. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/__init__.py +0 -0
  15. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/base.py +0 -0
  16. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/callback_query.py +0 -0
  17. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/chat_join_request.py +0 -0
  18. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/chat_member_updated.py +0 -0
  19. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/inline_query.py +0 -0
  20. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/message.py +0 -0
  21. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/update.py +0 -0
  22. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/cute_types/utils.py +0 -0
  23. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/__init__.py +0 -0
  24. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/abc.py +0 -0
  25. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/context.py +0 -0
  26. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/dispatch.py +0 -0
  27. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/handler/__init__.py +0 -0
  28. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/handler/abc.py +0 -0
  29. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/handler/func.py +0 -0
  30. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/handler/message_reply.py +0 -0
  31. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/middleware/__init__.py +0 -0
  32. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/middleware/abc.py +0 -0
  33. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/process.py +0 -0
  34. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/return_manager/__init__.py +0 -0
  35. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/return_manager/abc.py +0 -0
  36. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/return_manager/callback_query.py +0 -0
  37. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/return_manager/inline_query.py +0 -0
  38. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/return_manager/message.py +0 -0
  39. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/__init__.py +0 -0
  40. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/abc.py +0 -0
  41. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/box.py +0 -0
  42. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/callback_query.py +0 -0
  43. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/chat_join_request.py +0 -0
  44. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/chat_member.py +0 -0
  45. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/inline_query.py +0 -0
  46. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/message.py +0 -0
  47. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/view/raw.py +0 -0
  48. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/waiter_machine/__init__.py +0 -0
  49. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/waiter_machine/machine.py +0 -0
  50. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/waiter_machine/middleware.py +0 -0
  51. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/dispatch/waiter_machine/short_state.py +0 -0
  52. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/polling/__init__.py +0 -0
  53. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/polling/abc.py +0 -0
  54. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/polling/polling.py +0 -0
  55. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/__init__.py +0 -0
  56. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/abc.py +0 -0
  57. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/adapter/__init__.py +0 -0
  58. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/adapter/abc.py +0 -0
  59. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/adapter/errors.py +0 -0
  60. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/adapter/event.py +0 -0
  61. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/adapter/node.py +0 -0
  62. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/adapter/raw_update.py +0 -0
  63. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/callback_data.py +0 -0
  64. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/chat_join.py +0 -0
  65. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/command.py +0 -0
  66. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/enum_text.py +0 -0
  67. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/func.py +0 -0
  68. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/fuzzy.py +0 -0
  69. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/inline.py +0 -0
  70. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/integer.py +0 -0
  71. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/is_from.py +0 -0
  72. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/markup.py +0 -0
  73. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/mention.py +0 -0
  74. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/message.py +0 -0
  75. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/message_entities.py +0 -0
  76. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/node.py +0 -0
  77. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/regex.py +0 -0
  78. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/rule_enum.py +0 -0
  79. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/start.py +0 -0
  80. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/text.py +0 -0
  81. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/rules/update.py +0 -0
  82. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/scenario/__init__.py +0 -0
  83. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/scenario/abc.py +0 -0
  84. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/scenario/checkbox.py +0 -0
  85. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/bot/scenario/choice.py +0 -0
  86. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/client/__init__.py +0 -0
  87. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/client/abc.py +0 -0
  88. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/client/aiohttp.py +0 -0
  89. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/model.py +0 -0
  90. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/modules.py +0 -0
  91. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/msgspec_json.py +0 -0
  92. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/msgspec_utils.py +0 -0
  93. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/__init__.py +0 -0
  94. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/attachment.py +0 -0
  95. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/base.py +0 -0
  96. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/callback_query.py +0 -0
  97. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/command.py +0 -0
  98. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/composer.py +0 -0
  99. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/container.py +0 -0
  100. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/event.py +0 -0
  101. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/me.py +0 -0
  102. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/message.py +0 -0
  103. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/polymorphic.py +0 -0
  104. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/rule.py +0 -0
  105. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/scope.py +0 -0
  106. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/source.py +0 -0
  107. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/text.py +0 -0
  108. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/tools/__init__.py +0 -0
  109. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/tools/generator.py +0 -0
  110. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/node/update.py +0 -0
  111. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/py.typed +0 -0
  112. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/rules.py +0 -0
  113. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/__init__.py +0 -0
  114. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/buttons.py +0 -0
  115. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/error_handler/__init__.py +0 -0
  116. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/error_handler/abc.py +0 -0
  117. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/error_handler/error.py +0 -0
  118. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/error_handler/error_handler.py +0 -0
  119. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/formatting/__init__.py +0 -0
  120. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/formatting/html.py +0 -0
  121. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/formatting/links.py +0 -0
  122. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/formatting/spec_html_formats.py +0 -0
  123. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/global_context/__init__.py +0 -0
  124. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/global_context/abc.py +0 -0
  125. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/global_context/global_context.py +0 -0
  126. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/global_context/telegrinder_ctx.py +0 -0
  127. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/i18n/__init__.py +0 -0
  128. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/i18n/base.py +0 -0
  129. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/i18n/middleware/__init__.py +0 -0
  130. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/i18n/middleware/base.py +0 -0
  131. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/i18n/simple.py +0 -0
  132. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/kb_set/__init__.py +0 -0
  133. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/kb_set/base.py +0 -0
  134. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/kb_set/yaml.py +0 -0
  135. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/limited_dict.py +0 -0
  136. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/loop_wrapper/__init__.py +0 -0
  137. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/loop_wrapper/abc.py +0 -0
  138. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/loop_wrapper/loop_wrapper.py +0 -0
  139. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/magic.py +0 -0
  140. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/tools/parse_mode.py +0 -0
  141. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/types/__init__.py +0 -0
  142. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/types/enums.py +0 -0
  143. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/types/methods.py +0 -0
  144. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/types/objects.py +0 -0
  145. {telegrinder-0.2.0.post1 → telegrinder-0.2.0.post2}/telegrinder/verification_utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: telegrinder
3
- Version: 0.2.0.post1
3
+ Version: 0.2.0.post2
4
4
  Summary: Modern visionary telegram bot framework.
5
5
  Home-page: https://github.com/timoniq/telegrinder
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "telegrinder"
3
- version = "0.2.0.post1"
3
+ version = "0.2.0.post2"
4
4
  description = "Modern visionary telegram bot framework."
5
5
  authors = ["timoniq <tesseradecades@mail.ru>"]
6
6
  maintainers = ["luwqz1 <howluwqz1@gmail.com>"]
@@ -26,6 +26,11 @@ class KeyboardModel:
26
26
  keyboard: list[list[DictStrAny]]
27
27
 
28
28
 
29
+
30
+ def copy_keyboard(keyboard: list[list[DictStrAny]]) -> list[list[DictStrAny]]:
31
+ return [row.copy() for row in keyboard]
32
+
33
+
29
34
  class ABCMarkup(ABC, typing.Generic[ButtonT]):
30
35
  BUTTON: type[ButtonT]
31
36
  keyboard: list[list[DictStrAny]]
@@ -73,7 +78,7 @@ class ABCMarkup(ABC, typing.Generic[ButtonT]):
73
78
  return copy_keyboard
74
79
 
75
80
  def merge(self, other: typing.Self) -> typing.Self:
76
- self.keyboard.extend(other.keyboard)
81
+ self.keyboard.extend(copy_keyboard(other.keyboard))
77
82
  return self
78
83
 
79
84