arpakitlib 1.8.84__py3-none-any.whl → 1.8.87__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.
- arpakitlib/_arpakit_project_template_v_5/arpakitlib_project_template_info.json +1 -1
- arpakitlib/_arpakit_project_template_v_5/command/show_arpakitlib_project_template_info.py +9 -0
- arpakitlib/_arpakit_project_template_v_5/project/core/settings.py +2 -0
- arpakitlib/_arpakit_project_template_v_5/project/sandbox/sandbox_1.py +0 -5
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/admin.py +7 -7
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/client.py +18 -20
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/admin.py +5 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/client.py +1 -5
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/const.py +5 -3
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/event.py +12 -1
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/user_roles_has_admin.py +2 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/user_roles_has_client.py +2 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/admin/hello_world.py +16 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/client/support.py +15 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/{client → admin}/hello_world.py +3 -3
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/common.py +2 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/init_user.py +14 -14
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/arpakitlib_project_template_info.py +3 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/clear_log_file.py +9 -3
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/current_state.py +31 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/drop_sqlalchemy_db.py +5 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/hello_world.py +73 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/init_sqlalchemy_db.py +5 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_not_modified.py +10 -3
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_old_cd.py +3 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_raise_error.py +6 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_remove_message.py +7 -4
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/log_file.py +6 -1
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/me.py +7 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/raise_fake_error.py +4 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/reinit_sqlalchemy_db.py +5 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/set_tg_bot_commands.py +5 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/about.py +8 -5
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/author.py +8 -5
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general/support.py → client/cancel.py} +9 -6
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/error_handler.py +7 -3
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/healthcheck.py +21 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/raw_callback_query.py +4 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/raw_inline_query.py +2 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/raw_message.py +5 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/remove_message.py +4 -2
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/start.py +8 -5
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/support.py +37 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/main_router.py +16 -12
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/__init__.py +0 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/admin.py +0 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/client.py +5 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/common.py +0 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/util.py +0 -0
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/tg_bot_dispatcher.py +1 -1
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/notify_admins.py +6 -3
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/set_tg_bot_commands.py +14 -15
- arpakitlib/_arpakit_project_template_v_5/project/util/etc.py +0 -0
- arpakitlib/ar_blank_util.py +59 -2
- {arpakitlib-1.8.84.dist-info → arpakitlib-1.8.87.dist-info}/METADATA +1 -2
- {arpakitlib-1.8.84.dist-info → arpakitlib-1.8.87.dist-info}/RECORD +61 -51
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/client/hello_world.py +0 -16
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/general/healthcheck.py +0 -18
- arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/general/hello_world.py +0 -47
- /arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/{middleware.py → uil.py} +0 -0
- /arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/__init__.py +0 -0
- {arpakitlib-1.8.84.dist-info → arpakitlib-1.8.87.dist-info}/LICENSE +0 -0
- {arpakitlib-1.8.84.dist-info → arpakitlib-1.8.87.dist-info}/WHEEL +0 -0
- {arpakitlib-1.8.84.dist-info → arpakitlib-1.8.87.dist-info}/entry_points.txt +0 -0
@@ -1,5 +1,6 @@
|
|
1
1
|
import asyncio
|
2
2
|
import logging
|
3
|
+
from datetime import timedelta
|
3
4
|
|
4
5
|
import sqlalchemy
|
5
6
|
from aiogram.exceptions import AiogramError
|
@@ -17,7 +18,7 @@ _logger = logging.getLogger(__name__)
|
|
17
18
|
|
18
19
|
async def notify_admins(text: str):
|
19
20
|
text = emojize(
|
20
|
-
f"<b
|
21
|
+
f"<b>Notification for admin</b>"
|
21
22
|
f"\n\n"
|
22
23
|
f"{text.strip()}"
|
23
24
|
)
|
@@ -39,14 +40,16 @@ async def notify_admins(text: str):
|
|
39
40
|
try:
|
40
41
|
await get_cached_tg_bot().send_message(
|
41
42
|
chat_id=admin_tg_id,
|
42
|
-
text=text
|
43
|
+
text=text,
|
44
|
+
request_timeout=int(timedelta(seconds=3).total_seconds())
|
43
45
|
)
|
44
46
|
except AiogramError as exception:
|
45
47
|
_logger.error(exception)
|
46
48
|
try:
|
47
49
|
await get_cached_tg_bot().send_message(
|
48
50
|
chat_id=admin_tg_id,
|
49
|
-
text=remove_tags_and_html(text)
|
51
|
+
text=remove_tags_and_html(text),
|
52
|
+
request_timeout=int(timedelta(seconds=3).total_seconds())
|
50
53
|
)
|
51
54
|
except AiogramError as exception:
|
52
55
|
_logger.error(exception)
|
@@ -8,8 +8,8 @@ from project.core.settings import get_cached_settings
|
|
8
8
|
from project.core.util import setup_logging
|
9
9
|
from project.sqlalchemy_db_.sqlalchemy_db import get_cached_sqlalchemy_db
|
10
10
|
from project.sqlalchemy_db_.sqlalchemy_model import UserDBM
|
11
|
-
from project.tg_bot.blank.client import
|
12
|
-
from project.tg_bot.const import
|
11
|
+
from project.tg_bot.blank.client import get_cached_rus_client_tg_bot_blank
|
12
|
+
from project.tg_bot.const import ClientTgBotCommands, AdminTgBotCommands
|
13
13
|
from project.tg_bot.tg_bot import get_cached_tg_bot
|
14
14
|
|
15
15
|
_logger = logging.getLogger(__name__)
|
@@ -18,34 +18,33 @@ _logger = logging.getLogger(__name__)
|
|
18
18
|
def get_client_tg_bot_commands_to_set() -> list[BotCommand]:
|
19
19
|
res = [
|
20
20
|
BotCommand(
|
21
|
-
command=
|
21
|
+
command=ClientTgBotCommands.start,
|
22
22
|
description=return_str_if_none(
|
23
|
-
|
24
|
-
|
23
|
+
get_cached_rus_client_tg_bot_blank().command_to_desc().get(ClientTgBotCommands.start),
|
24
|
+
ClientTgBotCommands.start
|
25
25
|
)
|
26
26
|
),
|
27
27
|
BotCommand(
|
28
|
-
command=
|
28
|
+
command=ClientTgBotCommands.about,
|
29
29
|
description=return_str_if_none(
|
30
|
-
|
31
|
-
|
30
|
+
get_cached_rus_client_tg_bot_blank().command_to_desc().get(ClientTgBotCommands.about),
|
31
|
+
ClientTgBotCommands.about
|
32
32
|
)
|
33
33
|
),
|
34
34
|
BotCommand(
|
35
|
-
command=
|
35
|
+
command=ClientTgBotCommands.support,
|
36
36
|
description=return_str_if_none(
|
37
|
-
|
38
|
-
|
37
|
+
get_cached_rus_client_tg_bot_blank().command_to_desc().get(ClientTgBotCommands.support),
|
38
|
+
ClientTgBotCommands.support
|
39
39
|
)
|
40
40
|
),
|
41
41
|
BotCommand(
|
42
|
-
command=
|
42
|
+
command=ClientTgBotCommands.author,
|
43
43
|
description=return_str_if_none(
|
44
|
-
|
45
|
-
|
44
|
+
get_cached_rus_client_tg_bot_blank().command_to_desc().get(ClientTgBotCommands.author),
|
45
|
+
ClientTgBotCommands.author
|
46
46
|
)
|
47
47
|
)
|
48
|
-
|
49
48
|
]
|
50
49
|
return res
|
51
50
|
|
File without changes
|
arpakitlib/ar_blank_util.py
CHANGED
@@ -1,8 +1,65 @@
|
|
1
1
|
# arpakit
|
2
|
+
from arpakitlib.ar_enumeration_util import Enumeration
|
2
3
|
|
3
4
|
_ARPAKIT_LIB_MODULE_VERSION = "3.0"
|
4
5
|
|
5
6
|
|
6
7
|
class BaseBlank:
|
7
|
-
|
8
|
-
|
8
|
+
class Languages(Enumeration):
|
9
|
+
rus = "ru" # Русский
|
10
|
+
eng = "en" # Английский
|
11
|
+
spa = "es" # Испанский
|
12
|
+
deu = "de" # Немецкий
|
13
|
+
fra = "fr" # Французский
|
14
|
+
ita = "it" # Итальянский
|
15
|
+
por = "pt" # Португальский
|
16
|
+
jpn = "ja" # Японский
|
17
|
+
kor = "ko" # Корейский
|
18
|
+
zho = "zh" # Китайский
|
19
|
+
ara = "ar" # Арабский
|
20
|
+
|
21
|
+
def __init__(self, *, lang: str = "ru", **kwargs):
|
22
|
+
self.lang = lang.strip()
|
23
|
+
|
24
|
+
def compare_lang(self, v: str) -> bool:
|
25
|
+
if self.lang.lower() == v.lower().strip():
|
26
|
+
return True
|
27
|
+
return False
|
28
|
+
|
29
|
+
def hello_world(self) -> str:
|
30
|
+
if self.compare_lang(self.Languages.rus):
|
31
|
+
return "Привет, мир!" # Русский
|
32
|
+
|
33
|
+
if self.compare_lang(self.Languages.eng):
|
34
|
+
return "Hello, world!" # Английский
|
35
|
+
|
36
|
+
if self.compare_lang(self.Languages.spa):
|
37
|
+
return "¡Hola, mundo!" # Испанский
|
38
|
+
|
39
|
+
if self.compare_lang(self.Languages.deu):
|
40
|
+
return "Hallo, Welt!" # Немецкий
|
41
|
+
|
42
|
+
if self.compare_lang(self.Languages.fra):
|
43
|
+
return "Bonjour, le monde!" # Французский
|
44
|
+
|
45
|
+
if self.compare_lang(self.Languages.ita):
|
46
|
+
return "Ciao, mondo!" # Итальянский
|
47
|
+
|
48
|
+
if self.compare_lang(self.Languages.por):
|
49
|
+
return "Olá, mundo!" # Португальский
|
50
|
+
|
51
|
+
if self.compare_lang(self.Languages.jpn):
|
52
|
+
return "こんにちは、世界!" # Японский
|
53
|
+
|
54
|
+
if self.compare_lang(self.Languages.kor):
|
55
|
+
return "안녕, 세상!" # Корейский
|
56
|
+
|
57
|
+
if self.compare_lang(self.Languages.zho):
|
58
|
+
return "你好,世界!" # Китайский
|
59
|
+
|
60
|
+
if self.compare_lang(self.Languages.ara):
|
61
|
+
return "مرحبا بالعالم!" # Арабский
|
62
|
+
|
63
|
+
# если язык не найден
|
64
|
+
return "Hello, world!"
|
65
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: arpakitlib
|
3
|
-
Version: 1.8.
|
3
|
+
Version: 1.8.87
|
4
4
|
Summary: arpakitlib
|
5
5
|
License: Apache-2.0
|
6
6
|
Keywords: arpakitlib,arpakit,arpakit-company,arpakitcompany,arpakit_company
|
@@ -35,7 +35,6 @@ Requires-Dist: itsdangerous (>=2.2.0,<3.0.0)
|
|
35
35
|
Requires-Dist: jupyter (>=1.1.1,<2.0.0)
|
36
36
|
Requires-Dist: markdown (>=3.7,<4.0)
|
37
37
|
Requires-Dist: matplotlib (>=3.10.0,<4.0.0)
|
38
|
-
Requires-Dist: multidict (>=6.3.2,<7.0.0)
|
39
38
|
Requires-Dist: openai (>=1.59.9,<2.0.0)
|
40
39
|
Requires-Dist: openpyxl (>=3.1.5,<4.0.0)
|
41
40
|
Requires-Dist: orjson (>=3.10.15,<4.0.0)
|
@@ -8,7 +8,7 @@ arpakitlib/_arpakit_project_template_v_5/alembic/env.py,sha256=Qesmnj5A2kB-Doeuf
|
|
8
8
|
arpakitlib/_arpakit_project_template_v_5/alembic/script.py.mako,sha256=MEqL-2qATlST9TAOeYgscMn1uy6HUS9NFvDgl93dMj8,635
|
9
9
|
arpakitlib/_arpakit_project_template_v_5/alembic/versions/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
arpakitlib/_arpakit_project_template_v_5/alembic.ini,sha256=8fuyeEvGBiPGbxEFy8ISBV3xX_fgVmuhEGpB10_B5Uo,3733
|
11
|
-
arpakitlib/_arpakit_project_template_v_5/arpakitlib_project_template_info.json,sha256=
|
11
|
+
arpakitlib/_arpakit_project_template_v_5/arpakitlib_project_template_info.json,sha256=ItHh37UihI8TzvEcYHigNRsJbDqis3OoFPwxxnc_LT4,98
|
12
12
|
arpakitlib/_arpakit_project_template_v_5/command/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
13
|
arpakitlib/_arpakit_project_template_v_5/command/alembic_history.sh,sha256=OMnDNtHIksGh9iavWnzbtxcudZW4vjdcISsBXvzZSPw,22
|
14
14
|
arpakitlib/_arpakit_project_template_v_5/command/alembic_revision_autogenerate.sh,sha256=yW2i-SBOtBx15Ya0poVQqKkJM5t2JZp06r9AEW-DmGE,46
|
@@ -56,6 +56,7 @@ arpakitlib/_arpakit_project_template_v_5/command/remove_operations.py,sha256=l1B
|
|
56
56
|
arpakitlib/_arpakit_project_template_v_5/command/remove_story_logs.py,sha256=l-whsYahKY6ssk-c24ufiybF-U24iFqMdkNlnlASm2U,498
|
57
57
|
arpakitlib/_arpakit_project_template_v_5/command/rm_all_records_in_json_db.py,sha256=qF5c_Aso7XpNcBZOInz7MWXX9Wm8L73rcOZBKGXlFfg,326
|
58
58
|
arpakitlib/_arpakit_project_template_v_5/command/set_tg_bot_commands.py,sha256=6HbuL6acw-U8vkUdqLVIEffe_FcBsDWRKZ90AakZbv8,456
|
59
|
+
arpakitlib/_arpakit_project_template_v_5/command/show_arpakitlib_project_template_info.py,sha256=EYpiZkzVKCoZa_iWbh2LnhqEV88HQgbhS84KVZFpIDo,204
|
59
60
|
arpakitlib/_arpakit_project_template_v_5/command/show_settings.py,sha256=c07DRqJ08tPm2nFSLAxm_h1dNSQIbWT_hL65g869CWw,264
|
60
61
|
arpakitlib/_arpakit_project_template_v_5/command/show_sqlalchemy_db_table_name_to_amount.py,sha256=4KCP-ud5tDKLdTxJLZTDnPzbbNwY33XIUR_qRXjbkH8,410
|
61
62
|
arpakitlib/_arpakit_project_template_v_5/command/start_api.py,sha256=UoPkeKfSh1Ekq2Gxf3fv8aHrSVF_Xi4C14eBliXU6x0,364
|
@@ -167,7 +168,7 @@ arpakitlib/_arpakit_project_template_v_5/project/core/const.py,sha256=hgiiPIYL95
|
|
167
168
|
arpakitlib/_arpakit_project_template_v_5/project/core/dump_file_storage_in_dir.py,sha256=u3-vStMGaseMsRLuJmQK04UDhaez9vw6o5jyHb1fwNg,617
|
168
169
|
arpakitlib/_arpakit_project_template_v_5/project/core/jinja2_templates.py,sha256=jCNLaBauGC7YNvZdTLNHuPp7hmRGt94O23Skg6ewo7o,352
|
169
170
|
arpakitlib/_arpakit_project_template_v_5/project/core/media_file_storage_in_dir.py,sha256=fMofTsfJtA8pp5lEUhucEUu3PBsmj-elaRZzExDsdLI,623
|
170
|
-
arpakitlib/_arpakit_project_template_v_5/project/core/settings.py,sha256=
|
171
|
+
arpakitlib/_arpakit_project_template_v_5/project/core/settings.py,sha256=ZxBiE0cf7aywLhAz341MrRyjm4UeuE91Ja5JIjDZ9pU,5881
|
171
172
|
arpakitlib/_arpakit_project_template_v_5/project/core/util.py,sha256=1ha9UrguVPsTSjoMHhVZVCD0_mNBfhIDGEvcG1nA4Zw,667
|
172
173
|
arpakitlib/_arpakit_project_template_v_5/project/json_db/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
174
|
arpakitlib/_arpakit_project_template_v_5/project/json_db/json_db.py,sha256=tBML-z4Y7uY8f_0ggcxvlDNt15Sf93Jr_OUeHwWxqOA,724
|
@@ -206,7 +207,7 @@ arpakitlib/_arpakit_project_template_v_5/project/resource/static/swagger-ui/swag
|
|
206
207
|
arpakitlib/_arpakit_project_template_v_5/project/resource/static/swagger-ui/swagger-ui.js.map,sha256=jeX-b8zAm2jsTGGCznrc49McbLKSfXspwECPhEAp0Xc,1159444
|
207
208
|
arpakitlib/_arpakit_project_template_v_5/project/resource/templates/healthcheck.txt,sha256=sxSHRe2D3mnWbLKY320QdFehtXS-zAgMQmmu7tAQIG0,11
|
208
209
|
arpakitlib/_arpakit_project_template_v_5/project/sandbox/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
209
|
-
arpakitlib/_arpakit_project_template_v_5/project/sandbox/sandbox_1.py,sha256=
|
210
|
+
arpakitlib/_arpakit_project_template_v_5/project/sandbox/sandbox_1.py,sha256=xKSp7tIBu3Ffp_kgJkwVtdam3BcoFZ44JPVHoRRaP0E,163
|
210
211
|
arpakitlib/_arpakit_project_template_v_5/project/sandbox/sandbox_2.py,sha256=xKSp7tIBu3Ffp_kgJkwVtdam3BcoFZ44JPVHoRRaP0E,163
|
211
212
|
arpakitlib/_arpakit_project_template_v_5/project/sandbox/sandbox_3.py,sha256=xKSp7tIBu3Ffp_kgJkwVtdam3BcoFZ44JPVHoRRaP0E,163
|
212
213
|
arpakitlib/_arpakit_project_template_v_5/project/sandbox/sandbox_4.py,sha256=xKSp7tIBu3Ffp_kgJkwVtdam3BcoFZ44JPVHoRRaP0E,163
|
@@ -254,78 +255,87 @@ arpakitlib/_arpakit_project_template_v_5/project/test_data/make_test_data_4.py,s
|
|
254
255
|
arpakitlib/_arpakit_project_template_v_5/project/test_data/make_test_data_5.py,sha256=cew0ndlJspNkeQVOS0UPoceg1ARIm5ZFCzytiDIyvbg,416
|
255
256
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
256
257
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
257
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/admin.py,sha256=
|
258
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/client.py,sha256=
|
258
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/admin.py,sha256=ozabEfB7r38NqbV9XIbBYC3JCzZLzWhBQT4uUxwm_MY,876
|
259
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/client.py,sha256=4Mt-VXvKZhoUJ63NxAXhfT4ScHRvebBKVf9kfXyzmE4,2733
|
259
260
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/blank/common.py,sha256=HjJnKLQAdHtLLM73wURiFR2zzJEvkypVg0pMsKu5mKs,93
|
260
261
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
261
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/admin.py,sha256=
|
262
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/client.py,sha256=
|
262
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/admin.py,sha256=6_GPIa9azJGgsDB2SHs6IpSi5jc18PwqXMFgyMatooU,114
|
263
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/client.py,sha256=VsYtsjTHzsYrTV4ejEib9aoaRN1NieYgYVt_lt2tu48,98
|
263
264
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/callback/common.py,sha256=FhSQLjdR-XArdorqG9RxsCjgQv_RyWbFZFHM52Sar-4,1023
|
264
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/const.py,sha256=
|
265
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/event.py,sha256=
|
265
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/const.py,sha256=DJBbN7lLkQMIPVYeWSRF-qX_GuHWyM442I9haTOSQx0,1214
|
266
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/event.py,sha256=nTyJt6QRBKPz3BcVz9KtgGMtV3qTh_RaCSZe-6q2M6Q,4082
|
266
267
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
267
268
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/is_private_chat.py,sha256=2anQo68KqkNYQnfIZDXSOX0P9hU59oSSSIJ36bWQdo8,500
|
268
269
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/message_text.py,sha256=OdQSWtdqAQeiJt2hr1z5XMreT-esVkBHLBLvMx4PzAw,1326
|
269
270
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/not_prod_mode_filter.py,sha256=WY2Bl6_vznUi2bT0WMbVUkQq_JQ783hMFFwLs4u9Whk,236
|
270
271
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/prod_mode_filter.py,sha256=WfbAnzW8X4wJVtv_lHbr6u2SXXGwLhplTKPaHpuWQZ4,229
|
271
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/user_roles_has_admin.py,sha256=
|
272
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/user_roles_has_client.py,sha256=
|
272
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/user_roles_has_admin.py,sha256=cFDYs03CgRkuAi6XDXdMxXKatWG_YeH5TpHP-lIIMTw,593
|
273
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/filter_/user_roles_has_client.py,sha256=54A-u2RGen3ePsz-jsZW9yKbVs_s4peS3LFJhoFHQyg,595
|
273
274
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
274
275
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
275
276
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
276
277
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/admin/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
278
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/admin/hello_world.py,sha256=BhYA2y_saDSer4WZoPhr8fsnZvuS4ZXs2od-waRY-Lo,586
|
277
279
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
278
280
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/client/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
279
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/client/
|
281
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/client/support.py,sha256=lWeCeu49IbypjOPH8zWYAAnHej5fFKKC7EhrnrfsMUo,512
|
280
282
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/inline_/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
281
283
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
282
284
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
283
285
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/admin/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
286
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/admin/hello_world.py,sha256=ktYdQ7pj1mPnl5csY2N4ytZGr0scpV5rc-teYmyPA0Y,489
|
284
287
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
285
288
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/client/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
286
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/client/hello_world.py,sha256=FibmClY_AbnJL8dqjWSerybI9sh8Y7m5ggHcPW3UAVI,485
|
287
289
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/kb/static_/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
288
290
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
289
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/common.py,sha256=
|
290
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/init_user.py,sha256=
|
291
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/
|
291
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/common.py,sha256=Z1LMCJUtdzVBe7W60HWTUQT7G_vKfNh4i4dFZT7BmLM,406
|
292
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/init_user.py,sha256=54ImOzj3cdekgHtj4yc8u7eq-Ae3rj1__mIj3FTwWfA,3939
|
293
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/uil.py,sha256=66v3pHu8nhJ8pJayXaHNKjmPVK4fKUCNWilOM0yzNKg,319
|
292
294
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
293
295
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
294
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/arpakitlib_project_template_info.py,sha256=
|
295
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/clear_log_file.py,sha256=
|
296
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
297
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
298
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
299
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
300
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
301
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
302
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
303
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
304
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
305
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
306
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/
|
307
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
308
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
309
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
310
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
311
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
312
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
313
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
314
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
315
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
316
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
317
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
318
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
319
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/
|
296
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/arpakitlib_project_template_info.py,sha256=h8HPMP2Mu8NdDAbyoPDn8Ne1_hBPcvN9pA65nEEIGME,1069
|
297
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/clear_log_file.py,sha256=UTmkAes7u87n5v_6wAu3ukzijY2xC1pW1pS9tD0Wd_0,1345
|
298
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/current_state.py,sha256=20ZosYuI7sR_2H2C_EpM8SqTLdJdjc7O-6FhbSpQuh4,921
|
299
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/drop_sqlalchemy_db.py,sha256=g8B_68y_VEJUBlMfsAOQ-IGy54e7RUwKmUMBl-jQsvM,1274
|
300
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/hello_world.py,sha256=lTdz-Q6H0nuLGQtP-3pKJNCh4Fi0xvh5gQD-E3LcT2A,2424
|
301
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/init_sqlalchemy_db.py,sha256=XOjclZdmzQdXd_vmsUZa2GJbD1kS7MD5d62tgcUvqgQ,1050
|
302
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_not_modified.py,sha256=rCcsVnbze2Rx8TyfthV5TZjRXE-eJ9Tucrv6GfBPZoA,2031
|
303
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_old_cd.py,sha256=y-06B6jnHXEM90Ygj4Ie0hT7PHxr9tX-QpUr6exIWCc,1279
|
304
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_raise_error.py,sha256=yajAkA1DQqhCt6SC9bbgpLrY-3Wt8BF5iNpE7ur77_s,1599
|
305
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/kb_with_remove_message.py,sha256=oFoZDtcWl9TqaOxG4pT99_VBQQBq16ZUyqytkxdmd_8,1321
|
306
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/log_file.py,sha256=c_0REIcl2_3ceHXEKwwNXx0b2UEKtdwUXdz8WfmUdpc,1344
|
307
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/me.py,sha256=-oeAQEfvoHfN9BaMm66noEUggRBf6NjvJu4LhuOfkts,974
|
308
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/raise_fake_error.py,sha256=OKnSZ0IXt6Ma5F1212dnw1You3WT706N7VcU6djRQTE,815
|
309
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/reinit_sqlalchemy_db.py,sha256=SmtuNFzxiUKmZ5WjVihwsjIQtw9cDMzTPlHSTpG4Ckc,1295
|
310
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/admin/set_tg_bot_commands.py,sha256=IXVWqwlbmiphA0qtEdZiwS6UJJyXfHl6uXhqsX74wmc,1083
|
311
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
312
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/about.py,sha256=blOgJ2eNJm6eE2odtcnCMfIrmelJUmEaZVP_Kirwclo,935
|
313
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/author.py,sha256=7GXp916EAtCjnG5bekEACjSxTSwilZgod0NzQYDn--I,957
|
314
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/cancel.py,sha256=ScD8JUTaGy5GUapFzhcb1hreuwN7_M4BBuAwUo8RWEc,937
|
315
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/error_handler.py,sha256=_whYErhFEXUmJe181uB_BHiMUFJwIF4rkFVSW_A6UlM,3334
|
316
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/healthcheck.py,sha256=Vha3kiIAI5ZKgX9O62us6kbuEE3uKIFLh_C6qm3JFPI,631
|
317
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/raw_callback_query.py,sha256=zQurJqBROhhbec2elBunE3sFce31HZMDB3WgNWXDg5A,870
|
318
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/raw_inline_query.py,sha256=H6lMpcbC_qXMibNPGUnRHG3TSA4BG9gIL3RBLJhSckg,359
|
319
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/raw_message.py,sha256=80fmR-BOjJd5e5dXLJnxGVUkpMTKBmuY5N7uYqiOQJ4,515
|
320
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/remove_message.py,sha256=nOoxsw0kaHT8s3MNTHbNPfoAOnOBV3vvGBHo-xcCz4U,785
|
321
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/start.py,sha256=jD9WbJn4tND6wsfxxxmvYl8DDhoAXAkFziueV9IY4iM,1016
|
322
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/client/support.py,sha256=MCvb-yJCBrJWBoESdU2X8Uft50oxEVe_m5YhZ_oHY4M,1096
|
323
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/main_router.py,sha256=5r9wZLjhxWTL89I_NF8NUwcMcBkyOQR7IRw9y4gWXWY,2435
|
320
324
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/start_tg_bot.py,sha256=vHARWETCD4hlK624aFxnkjsytgEbZY20bt973Oc_Peo,1253
|
325
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
326
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/admin.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
327
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/client.py,sha256=B1mslhGJEibHDS-YHtWncAnd3UVeyzJmVsdQK4UAzB4,119
|
328
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/common.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
329
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/state/util.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
321
330
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/tg_bot.py,sha256=jMX_awQl3GvyKZ8pmR0dQOzg_2LyrYTmn31DAVmOxxs,849
|
322
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/tg_bot_dispatcher.py,sha256=
|
331
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/tg_bot_dispatcher.py,sha256=1uxUooMhkDzUVHrHZgWU-SqwElh9KETgD5JtkkV4wAs,653
|
323
332
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
324
333
|
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/etc.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
325
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/notify_admins.py,sha256=
|
326
|
-
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/set_tg_bot_commands.py,sha256=
|
334
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/notify_admins.py,sha256=ikjp5J0qgq6LGxh6iFcVIKtO3cUed3p39NwcFLcatVE,2096
|
335
|
+
arpakitlib/_arpakit_project_template_v_5/project/tg_bot/util/set_tg_bot_commands.py,sha256=eTVOpwp8zn74QhLgmbLkxn3cH4xPzQN02euS-7UP-Eg,3489
|
327
336
|
arpakitlib/_arpakit_project_template_v_5/project/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
328
337
|
arpakitlib/_arpakit_project_template_v_5/project/util/arpakitlib_project_template.py,sha256=syA_IuszHVub0zm0sVdB4_7rPJXwXRW4JmQ4qHbjXPk,396
|
338
|
+
arpakitlib/_arpakit_project_template_v_5/project/util/etc.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
329
339
|
arpakitlib/ar_additional_model_util.py,sha256=GFg-glLCxH9X95R2bhTJsscVwv37FgE1qbaAAyXrnIE,917
|
330
340
|
arpakitlib/ar_aiogram_util.py,sha256=4bizX5Xg-E2-r2TXXGQGanJozsIWPVf5luO3vKUN8p8,8471
|
331
341
|
arpakitlib/ar_arpakit_lib_module_util.py,sha256=g9uWwTK2eEzmErqwYeVgXDYVMREN8m5CdmgEumAEQfw,5919
|
@@ -335,7 +345,7 @@ arpakitlib/ar_arpakit_schedule_uust_site_util.py,sha256=8wLct9Gd4MWkXzB6nSmETAwT
|
|
335
345
|
arpakitlib/ar_arpakitlib_cli_util.py,sha256=RJGcfEZ_q74FJ4tqdXvt7xQpShTszOvKu1mbp3D8qzw,2599
|
336
346
|
arpakitlib/ar_base64_util.py,sha256=aZkg2cZTuAaP2IWeG_LXJ6RO7qhyskVwec-Lks0iM-k,676
|
337
347
|
arpakitlib/ar_base_worker_util.py,sha256=eyaoDy4T_wKSNFu_npigVYZKHpxmt66Vdzb3gZ2BAis,5861
|
338
|
-
arpakitlib/ar_blank_util.py,sha256=
|
348
|
+
arpakitlib/ar_blank_util.py,sha256=qFUdY8usL_pRYamz8Rw1fW3fzNIgrLmpdYP8q-_PQvw,2281
|
339
349
|
arpakitlib/ar_cache_file_util.py,sha256=Fo2pH-Zqm966KWFBHG_pbiySGZvhIFCYqy7k1weRfJ0,3476
|
340
350
|
arpakitlib/ar_class_util.py,sha256=i76pQW_7k_S2m_DlQh6xNjtggv9Col3WSx9W_bwk98E,722
|
341
351
|
arpakitlib/ar_cryptomus_api_client_util.py,sha256=cvp3u0NtuB0nIVeiljllMuxz9ECVPqR3EyBGWS2YAl8,247
|
@@ -374,8 +384,8 @@ arpakitlib/ar_ssh_runner_util.py,sha256=yvAwza480MkHKvLkDEsR7JNh2bYNs6P9rCVo4NA8
|
|
374
384
|
arpakitlib/ar_str_util.py,sha256=CuIptQwHP0msTLNJbp-OFAdInVeTY4P58p7jFdeGm-4,5591
|
375
385
|
arpakitlib/ar_type_util.py,sha256=Cs_tef-Fc5xeyAF54KgISCsP11NHyzIsglm4S3Xx7iM,4049
|
376
386
|
arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
|
377
|
-
arpakitlib-1.8.
|
378
|
-
arpakitlib-1.8.
|
379
|
-
arpakitlib-1.8.
|
380
|
-
arpakitlib-1.8.
|
381
|
-
arpakitlib-1.8.
|
387
|
+
arpakitlib-1.8.87.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
|
388
|
+
arpakitlib-1.8.87.dist-info/METADATA,sha256=fWcO8zfIQl9sr7hkGP8eyY5LCtHnwGtTLOlkb2WmA9s,3517
|
389
|
+
arpakitlib-1.8.87.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
390
|
+
arpakitlib-1.8.87.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
|
391
|
+
arpakitlib-1.8.87.dist-info/RECORD,,
|
@@ -1,16 +0,0 @@
|
|
1
|
-
from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton
|
2
|
-
from aiogram.utils.keyboard import InlineKeyboardBuilder
|
3
|
-
|
4
|
-
from project.tg_bot.blank.client import get_cached_client_tg_bot_blank
|
5
|
-
from project.tg_bot.callback.client import HelloWorldClientCD
|
6
|
-
|
7
|
-
|
8
|
-
def hello_world_client_inline_kb_tg_bot() -> InlineKeyboardMarkup:
|
9
|
-
kb_builder = InlineKeyboardBuilder()
|
10
|
-
|
11
|
-
kb_builder.row(InlineKeyboardButton(
|
12
|
-
text=get_cached_client_tg_bot_blank().but_hello_world(),
|
13
|
-
callback_data=HelloWorldClientCD(hello_world=True).pack()
|
14
|
-
))
|
15
|
-
|
16
|
-
return kb_builder.as_markup()
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import aiogram.filters
|
2
|
-
|
3
|
-
from project.tg_bot.blank.client import get_cached_client_tg_bot_blank
|
4
|
-
from project.tg_bot.const import GeneralTgBotCommands
|
5
|
-
from project.tg_bot.middleware.common import MiddlewareDataTgBot
|
6
|
-
|
7
|
-
tg_bot_router = aiogram.Router()
|
8
|
-
|
9
|
-
|
10
|
-
@tg_bot_router.message(
|
11
|
-
aiogram.filters.Command(GeneralTgBotCommands.healthcheck),
|
12
|
-
)
|
13
|
-
async def _(
|
14
|
-
m: aiogram.types.Message,
|
15
|
-
middleware_data_tg_bot: MiddlewareDataTgBot,
|
16
|
-
**kwargs
|
17
|
-
):
|
18
|
-
await m.answer(text=get_cached_client_tg_bot_blank().healthcheck())
|
@@ -1,47 +0,0 @@
|
|
1
|
-
import aiogram.filters
|
2
|
-
from aiogram.filters import or_f
|
3
|
-
|
4
|
-
from arpakitlib.ar_str_util import remove_html
|
5
|
-
from project.tg_bot.blank.client import get_cached_client_tg_bot_blank
|
6
|
-
from project.tg_bot.callback.client import HelloWorldClientCD
|
7
|
-
from project.tg_bot.const import GeneralTgBotCommands
|
8
|
-
from project.tg_bot.filter_.message_text import MessageTextTgBotFilter
|
9
|
-
from project.tg_bot.kb.inline_.client.hello_world import hello_world_client_inline_kb_tg_bot
|
10
|
-
from project.tg_bot.kb.static_.client.hello_world import hello_world_client_static_kb_tg_bot
|
11
|
-
from project.tg_bot.middleware.common import MiddlewareDataTgBot
|
12
|
-
|
13
|
-
tg_bot_router = aiogram.Router()
|
14
|
-
|
15
|
-
|
16
|
-
@tg_bot_router.message(
|
17
|
-
or_f(
|
18
|
-
aiogram.filters.Command(GeneralTgBotCommands.hello_world),
|
19
|
-
MessageTextTgBotFilter(get_cached_client_tg_bot_blank().but_hello_world())
|
20
|
-
),
|
21
|
-
|
22
|
-
)
|
23
|
-
async def _(
|
24
|
-
m: aiogram.types.Message,
|
25
|
-
middleware_data_tg_bot: MiddlewareDataTgBot,
|
26
|
-
**kwargs
|
27
|
-
):
|
28
|
-
await m.answer(
|
29
|
-
text=get_cached_client_tg_bot_blank().hello_world(),
|
30
|
-
reply_markup=hello_world_client_inline_kb_tg_bot()
|
31
|
-
)
|
32
|
-
await m.answer(
|
33
|
-
text=get_cached_client_tg_bot_blank().hello_world(),
|
34
|
-
reply_markup=hello_world_client_static_kb_tg_bot()
|
35
|
-
)
|
36
|
-
|
37
|
-
|
38
|
-
@tg_bot_router.callback_query(
|
39
|
-
HelloWorldClientCD.filter()
|
40
|
-
)
|
41
|
-
async def _(
|
42
|
-
cq: aiogram.types.CallbackQuery,
|
43
|
-
middleware_data_tg_bot: MiddlewareDataTgBot,
|
44
|
-
**kwargs
|
45
|
-
):
|
46
|
-
await cq.message.delete_reply_markup()
|
47
|
-
await cq.message.answer(text=remove_html(get_cached_client_tg_bot_blank().hello_world()))
|
/arpakitlib/_arpakit_project_template_v_5/project/tg_bot/middleware/{middleware.py → uil.py}
RENAMED
File without changes
|
/arpakitlib/_arpakit_project_template_v_5/project/tg_bot/router/{general → client}/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|