funboost 48.7__py3-none-any.whl → 48.9__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 funboost might be problematic. Click here for more details.

Files changed (43) hide show
  1. funboost/__init__.py +1 -1
  2. funboost/__main__.py +2 -0
  3. funboost/concurrent_pool/custom_threadpool_executor.py +1 -1
  4. funboost/constant.py +17 -2
  5. funboost/consumers/base_consumer.py +42 -28
  6. funboost/consumers/rabbitmq_amqpstorm_consumer.py +6 -1
  7. funboost/core/active_cousumer_info_getter.py +50 -10
  8. funboost/core/booster.py +2 -1
  9. funboost/core/cli/funboost_fire.py +10 -0
  10. funboost/core/current_task.py +17 -0
  11. funboost/core/func_params_model.py +21 -17
  12. funboost/core/loggers.py +1 -0
  13. funboost/core/msg_result_getter.py +1 -0
  14. funboost/funboost_config_deafult.py +1 -1
  15. funboost/function_result_web/__pycache__/app.cpython-37.pyc +0 -0
  16. funboost/function_result_web/__pycache__/app.cpython-39.pyc +0 -0
  17. funboost/function_result_web/__pycache__/functions.cpython-37.pyc +0 -0
  18. funboost/function_result_web/__pycache__/functions.cpython-39.pyc +0 -0
  19. funboost/function_result_web/app.py +42 -2
  20. funboost/function_result_web/app_debug_start.py +6 -0
  21. funboost/function_result_web/functions.py +66 -3
  22. funboost/function_result_web/static/js/form-memory.js +92 -0
  23. funboost/function_result_web/static/js_cdn/chart.js +20 -0
  24. funboost/function_result_web/static/js_cdn/tabulator-tables@5.5.0/dist/js/tabulator.min.js +1 -1
  25. funboost/function_result_web/templates/about.html +0 -9
  26. funboost/function_result_web/templates/conusme_speed.html +2 -2
  27. funboost/function_result_web/templates/fun_result_table.html +1 -1
  28. funboost/function_result_web/templates/index.html +64 -9
  29. funboost/function_result_web/templates/queue_op.html +419 -28
  30. funboost/function_result_web/templates/rpc_call.html +312 -0
  31. funboost/function_result_web/templates/running_consumer_by_ip.html +2 -2
  32. funboost/function_result_web/templates/running_consumer_by_queue_name.html +2 -2
  33. funboost/publishers/rabbitmq_amqpstorm_publisher.py +1 -1
  34. funboost/utils/ctrl_c_end.py +19 -1
  35. funboost/utils/dependency_packages_in_pythonpath/aioredis/readme.md +6 -0
  36. funboost/utils/dependency_packages_in_pythonpath/readme.md +6 -0
  37. {funboost-48.7.dist-info → funboost-48.9.dist-info}/METADATA +173 -81
  38. {funboost-48.7.dist-info → funboost-48.9.dist-info}/RECORD +42 -39
  39. {funboost-48.7.dist-info → funboost-48.9.dist-info}/WHEEL +1 -1
  40. funboost/function_result_web/templates/index_/321/204/342/225/225/320/235/321/205/320/237/320/277/321/206/320/232/320/250/321/205/320/237/320/260.html +0 -153
  41. {funboost-48.7.dist-info → funboost-48.9.dist-info}/LICENSE +0 -0
  42. {funboost-48.7.dist-info → funboost-48.9.dist-info}/entry_points.txt +0 -0
  43. {funboost-48.7.dist-info → funboost-48.9.dist-info}/top_level.txt +0 -0
@@ -1,153 +0,0 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
-
4
- <head>
5
- <meta charset="UTF-8">
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
- <!-- 引入 Bootstrap CSS -->
8
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
9
- <!-- 引入 jQuery -->
10
- <script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
11
- <!-- 引入 Bootstrap JS -->
12
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
13
- <title>Left Navbar with Dynamic Content</title>
14
- <style>
15
- body {
16
- overflow-x: hidden;
17
- }
18
-
19
- .sidebar {
20
- position: fixed;
21
- top: 0;
22
- left: 0;
23
- bottom: 0;
24
- width: 150px;
25
- background-color: #296074;
26
- padding-top: 20px;
27
- overflow-y: auto;
28
- }
29
-
30
- .sidebar .nav-link {
31
- color: white;
32
- background-color: #296074; /* 导航栏链接默认灰色背景 */
33
- margin-bottom: 5px;
34
- border-radius: 5px;
35
- }
36
-
37
- .sidebar .nav-link.active {
38
- background-color: #0BBAF8; /* 激活状态蓝色背景 */
39
- color: white;
40
- }
41
-
42
- .main-content {
43
- margin-left: 150px;
44
- /* padding: 20px; */
45
- height: 100vh; /* 设置为视窗高度 */
46
- }
47
-
48
- .main-content iframe {
49
- width: 100%;
50
- height: calc(100vh - 40px); /* 视窗高度减去padding */
51
- padding: 20px;
52
- border: none;
53
- overflow: auto;
54
- }
55
-
56
- .sidebar .nav-item {
57
- padding: 5px 10px;
58
- position: relative;
59
- }
60
-
61
- .sidebar .nav-item:not(:last-child)::after {
62
- content: '';
63
- position: absolute;
64
- bottom: -2px;
65
- left: 10%;
66
- width: 80%;
67
- height: 2px;
68
- background: linear-gradient(to right, transparent, #ffffff80, transparent);
69
- }
70
-
71
- .sidebar .nav-link {
72
- padding: 8px 15px;
73
- transition: all 0.3s ease;
74
- font-weight: 500;
75
- }
76
-
77
- .sidebar .nav-link:hover {
78
- transform: translateX(5px);
79
- background-color: #1e4d61;
80
- }
81
-
82
- </style>
83
- </head>
84
-
85
- <body>
86
- <!-- 左侧导航栏 -->
87
- <div class="sidebar">
88
- <ul class="nav flex-column">
89
- <li class="nav-item">
90
- <a class="nav-link active" href="#" data-target="/tpl/fun_result_table.html">函数结果</a>
91
- </li>
92
- <li class="nav-item">
93
- <a class="nav-link" href="#" data-target="/tpl/conusme_speed.html">消费速率</a>
94
- </li>
95
- <li class="nav-item">
96
- <a class="nav-link" href="#" data-target="/tpl/running_consumer_by_ip.html">运行中消费者(by ip)</a>
97
- </li>
98
- <li class="nav-item">
99
- <a class="nav-link" href="#" data-target="/tpl/running_consumer_by_queue_name.html">运行中消费者(by queue)</a>
100
- </li>
101
- <li class="nav-item">
102
- <a class="nav-link" href="#" data-target="/tpl/about.html">说明</a>
103
- </li>
104
- </ul>
105
- </div>
106
-
107
- <!-- 右侧内容区域 -->
108
- <div class="main-content" id="content000">
109
- <!-- 初始加载 Home 页面内容 -->
110
- <!-- 右侧内容区域 -->
111
- <iframe id="content" frameborder="0">
112
- <!-- 初始加载 Home 页面内容 -->
113
- </iframe >
114
- </div>
115
-
116
-
117
-
118
- <script>
119
- $(document).ready(function () {
120
- // 初始加载 Home 页面
121
- loadPage('/tpl/fun_result_table.html');
122
-
123
- // 导航栏点击事件
124
- $('.sidebar .nav-link').click(function (e) {
125
- e.preventDefault();
126
- // 移除所有导航项的 active 类
127
- $('.sidebar .nav-link').removeClass('active');
128
- // 为当前点击的导航项添加 active 类
129
- $(this).addClass('active');
130
- // 获取要加载的页面文件名
131
- const targetPage = $(this).data('target');
132
- // 加载页面内容
133
- loadPage(targetPage);
134
- });
135
-
136
- // 加载页面内容的函数
137
- function loadPage(page) {
138
- $.ajax({
139
- url: page,
140
- method: 'GET',
141
- success: function (data) {
142
- $('#content').attr('src', page);
143
- },
144
- error: function () {
145
- $('#content').html('<p>Error loading page.</p>');
146
- }
147
- });
148
- }
149
- });
150
- </script>
151
- </body>
152
-
153
- </html>