arpakitlib 1.8.134__py3-none-any.whl → 1.8.138__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.
@@ -17,7 +17,7 @@ def __command():
17
17
  "project.api.asgi:app",
18
18
  port=get_cached_settings().api_port,
19
19
  host="localhost",
20
- workers=1,
20
+ workers=get_cached_settings().api_workers,
21
21
  reload=False
22
22
  )
23
23
 
@@ -18,7 +18,7 @@ def __command():
18
18
  host="127.0.0.1",
19
19
  port=get_cached_settings().api_port,
20
20
  reload=False,
21
- workers=4
21
+ workers=get_cached_settings().api_workers
22
22
  )
23
23
 
24
24
 
@@ -108,6 +108,8 @@ class Settings(SimpleSettings):
108
108
 
109
109
  api_create_first_data: bool = True
110
110
 
111
+ api_workers: int = 4
112
+
111
113
  sqladmin_secret_key: str | None = "85a9583cb91c4de7a78d7eb1e5306a04418c9c43014c447ea8ec8dd5deb4cf71"
112
114
 
113
115
  sqladmin_authorize_keys: list[str] | None = ["1"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: arpakitlib
3
- Version: 1.8.134
3
+ Version: 1.8.138
4
4
  Summary: arpakitlib
5
5
  License: Apache-2.0
6
6
  Keywords: arpakitlib,arpakit,arpakit-company,arpakitcompany,arpakit_company
@@ -48,6 +48,7 @@ Requires-Dist: pydantic (>=2.10.5,<3.0.0)
48
48
  Requires-Dist: pydantic-settings (>=2.7.1,<3.0.0)
49
49
  Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
50
50
  Requires-Dist: pymongo (>=4.10.1,<5.0.0)
51
+ Requires-Dist: pytelegrambotapi (>=4.27.0,<5.0.0)
51
52
  Requires-Dist: pytz (>=2024.2,<2025.0)
52
53
  Requires-Dist: pyzabbix (>=1.3.1,<2.0.0)
53
54
  Requires-Dist: requests[socks] (>=2.32.3,<3.0.0)
@@ -59,8 +59,8 @@ arpakitlib/_arpakit_project_template_v_5/command/set_tg_bot_commands.py,sha256=6
59
59
  arpakitlib/_arpakit_project_template_v_5/command/show_arpakitlib_project_template_info.py,sha256=AoemyIrxS49kp34jsuJHKTa4Cvyycl17woXwk8oy9nU,209
60
60
  arpakitlib/_arpakit_project_template_v_5/command/show_settings.py,sha256=c07DRqJ08tPm2nFSLAxm_h1dNSQIbWT_hL65g869CWw,264
61
61
  arpakitlib/_arpakit_project_template_v_5/command/show_sqlalchemy_db_table_name_to_amount.py,sha256=4KCP-ud5tDKLdTxJLZTDnPzbbNwY33XIUR_qRXjbkH8,410
62
- arpakitlib/_arpakit_project_template_v_5/command/start_api.py,sha256=fl-dkm2I3ModQXjGG6VrP6vUFciEcRW_ORFG3VX8jH8,821
63
- arpakitlib/_arpakit_project_template_v_5/command/start_api_for_prod.py,sha256=T0Gqv3-Vrtx6x_3vRaFTvsyWwpZgfDnqtnQcZN3eqU8,825
62
+ arpakitlib/_arpakit_project_template_v_5/command/start_api.py,sha256=4PyPtyeXfn9jpcLGdrLA8LOyOg3Rwbt5XGhSSusoOuE,853
63
+ arpakitlib/_arpakit_project_template_v_5/command/start_api_for_prod.py,sha256=WpSCku-yvDNz3NFSo58HXyzL5xVOc9K6QBxawnkmqc0,857
64
64
  arpakitlib/_arpakit_project_template_v_5/command/start_api_with_reload.py,sha256=d6iIQY4_qjcYBoYmkWXbPVVW5HD5IUb4FOvf4YrzObM,820
65
65
  arpakitlib/_arpakit_project_template_v_5/command/start_operation_executor_worker.py,sha256=X8dE5OcTEVKjbcXdU0QMstXbi8RyYWPzATHtbQHyBIs,413
66
66
  arpakitlib/_arpakit_project_template_v_5/command/start_operation_executor_workers_mode_async_task.py,sha256=C5aoJmI9LB9d25g_ZTvRccwkWUglUdcCcPb-03HoA0s,793
@@ -172,7 +172,7 @@ arpakitlib/_arpakit_project_template_v_5/project/core/dump_file_storage_in_dir.p
172
172
  arpakitlib/_arpakit_project_template_v_5/project/core/easy_openai_api_client.py,sha256=G4J9s0gerNlnvl1LvaWSYy1gdvaMbxyz0ZP35U9nx_Q,1219
173
173
  arpakitlib/_arpakit_project_template_v_5/project/core/jinja2_templates.py,sha256=jCNLaBauGC7YNvZdTLNHuPp7hmRGt94O23Skg6ewo7o,352
174
174
  arpakitlib/_arpakit_project_template_v_5/project/core/media_file_storage_in_dir.py,sha256=fMofTsfJtA8pp5lEUhucEUu3PBsmj-elaRZzExDsdLI,623
175
- arpakitlib/_arpakit_project_template_v_5/project/core/settings.py,sha256=6ES9hzt2Z3wvr993U8lowxGe8gisqE2vKeuK1-RSw8c,6342
175
+ arpakitlib/_arpakit_project_template_v_5/project/core/settings.py,sha256=sKN8DEpsjp4hXiDF3pWeg9TcYNGGQKztF1Dpeop9E0M,6368
176
176
  arpakitlib/_arpakit_project_template_v_5/project/core/util.py,sha256=1ha9UrguVPsTSjoMHhVZVCD0_mNBfhIDGEvcG1nA4Zw,667
177
177
  arpakitlib/_arpakit_project_template_v_5/project/emailer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
178
178
  arpakitlib/_arpakit_project_template_v_5/project/emailer/send_email.py,sha256=lw-nUFtEYiGEChSZrfuXCtTkoY6fNT45M_Y6QfzOk90,2175
@@ -402,8 +402,8 @@ arpakitlib/ar_ssh_runner_util.py,sha256=yvAwza480MkHKvLkDEsR7JNh2bYNs6P9rCVo4NA8
402
402
  arpakitlib/ar_str_util.py,sha256=CAv0wH8nP5Ja59S-hEdmNhNrM_Fwy935d0zntLpJkx8,4309
403
403
  arpakitlib/ar_type_util.py,sha256=Cs_tef-Fc5xeyAF54KgISCsP11NHyzIsglm4S3Xx7iM,4049
404
404
  arpakitlib/ar_yookassa_api_client_util.py,sha256=VozuZeCJjmLd1zj2BdC9WfiAQ3XYOrIMsdpNK-AUlm0,5347
405
- arpakitlib-1.8.134.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
406
- arpakitlib-1.8.134.dist-info/METADATA,sha256=WyWQRTRGRnChLO9ny5CHJB1Rhj-h0b6uRsQtqXLi_TA,3567
407
- arpakitlib-1.8.134.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
408
- arpakitlib-1.8.134.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
409
- arpakitlib-1.8.134.dist-info/RECORD,,
405
+ arpakitlib-1.8.138.dist-info/LICENSE,sha256=GPEDQMam2r7FSTYqM1mm7aKnxLaWcBotH7UvQtea-ec,11355
406
+ arpakitlib-1.8.138.dist-info/METADATA,sha256=RmIa--jTPyq6WBkv0XbDx9vQtPswJa4eeREKJqbHNiE,3617
407
+ arpakitlib-1.8.138.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
408
+ arpakitlib-1.8.138.dist-info/entry_points.txt,sha256=36xqR3PJFT2kuwjkM_EqoIy0qFUDPKSm_mJaI7emewE,87
409
+ arpakitlib-1.8.138.dist-info/RECORD,,