funboost 44.3__py3-none-any.whl → 44.4__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.
- funboost/__init__.py +1 -1
- funboost/concurrent_pool/async_helper.py +3 -1
- funboost/consumers/base_consumer.py +19 -19
- funboost/core/booster.py +17 -2
- funboost/core/funboost_time.py +26 -9
- funboost/core/helper_funs.py +16 -2
- funboost/core/lazy_impoter.py +1 -1
- funboost/core/loggers.py +3 -3
- funboost/funboost_config_deafult.py +1 -1
- {funboost-44.3.dist-info → funboost-44.4.dist-info}/METADATA +9 -3
- {funboost-44.3.dist-info → funboost-44.4.dist-info}/RECORD +15 -15
- {funboost-44.3.dist-info → funboost-44.4.dist-info}/LICENSE +0 -0
- {funboost-44.3.dist-info → funboost-44.4.dist-info}/WHEEL +0 -0
- {funboost-44.3.dist-info → funboost-44.4.dist-info}/entry_points.txt +0 -0
- {funboost-44.3.dist-info → funboost-44.4.dist-info}/top_level.txt +0 -0
funboost/__init__.py
CHANGED
|
@@ -2,9 +2,11 @@ from functools import partial
|
|
|
2
2
|
import asyncio
|
|
3
3
|
from concurrent.futures import Executor
|
|
4
4
|
from funboost.concurrent_pool.custom_threadpool_executor import ThreadPoolExecutorShrinkAble
|
|
5
|
+
# from funboost.concurrent_pool.flexible_thread_pool import FlexibleThreadPool
|
|
5
6
|
|
|
6
7
|
# 没有使用内置的concurrent.futures.ThreadpoolExecutor线程池,而是使用智能伸缩线程池。
|
|
7
|
-
async_executor_default = ThreadPoolExecutorShrinkAble()
|
|
8
|
+
async_executor_default = ThreadPoolExecutorShrinkAble(500)
|
|
9
|
+
# async_executor_default = FlexibleThreadPool(50) # 这个不支持future特性
|
|
8
10
|
|
|
9
11
|
|
|
10
12
|
async def simple_run_in_executor(f, *args, async_executor: Executor = None, async_loop=None, **kwargs):
|
|
@@ -30,13 +30,12 @@ from threading import Lock
|
|
|
30
30
|
import asyncio
|
|
31
31
|
|
|
32
32
|
import nb_log
|
|
33
|
-
from funboost.core.current_task import funboost_current_task
|
|
33
|
+
from funboost.core.current_task import funboost_current_task
|
|
34
34
|
from funboost.core.loggers import develop_logger
|
|
35
35
|
|
|
36
36
|
from funboost.core.func_params_model import BoosterParams, PublisherParams, BaseJsonAbleModel
|
|
37
37
|
from funboost.core.task_id_logger import TaskIdLogger
|
|
38
|
-
from nb_log import (get_logger, LoggerLevelSetterMixin, LogManager,
|
|
39
|
-
LoggerMixinDefaultWithFileHandler, stdout_write, is_main_process,
|
|
38
|
+
from nb_log import (get_logger, LoggerLevelSetterMixin, LogManager, is_main_process,
|
|
40
39
|
nb_log_config_default)
|
|
41
40
|
from funboost.core.loggers import FunboostFileLoggerMixin, logger_prompt
|
|
42
41
|
|
|
@@ -332,7 +331,7 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
332
331
|
try:
|
|
333
332
|
self._concurrent_mode_dispatcher.check_all_concurrent_mode()
|
|
334
333
|
self._check_monkey_patch()
|
|
335
|
-
except BaseException:
|
|
334
|
+
except BaseException: # noqa
|
|
336
335
|
traceback.print_exc()
|
|
337
336
|
os._exit(4444) # noqa
|
|
338
337
|
self.logger.info(f'开始消费 {self._queue_name} 中的消息')
|
|
@@ -384,10 +383,10 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
384
383
|
"""
|
|
385
384
|
raise NotImplementedError
|
|
386
385
|
|
|
387
|
-
def convert_msg_before_run(self, msg: typing.Union[str,dict]):
|
|
386
|
+
def convert_msg_before_run(self, msg: typing.Union[str, dict]) -> dict:
|
|
388
387
|
"""
|
|
389
388
|
转换消息,消息没有使用funboost来发送,并且没有extra相关字段时候
|
|
390
|
-
用户也可以按照4.21文档,继承任意Consumer类,并实现这个方法 convert_msg_before_run
|
|
389
|
+
用户也可以按照4.21文档,继承任意Consumer类,并实现这个方法 convert_msg_before_run,先转换不规范的消息.
|
|
391
390
|
"""
|
|
392
391
|
""" 一般消息至少包含这样
|
|
393
392
|
{
|
|
@@ -405,7 +404,7 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
405
404
|
extra_params = {'task_id': task_id, 'publish_time': round(time.time(), 4),
|
|
406
405
|
'publish_time_format': time.strftime('%Y-%m-%d %H:%M:%S')}
|
|
407
406
|
"""
|
|
408
|
-
if isinstance(msg,str):
|
|
407
|
+
if isinstance(msg, str):
|
|
409
408
|
msg = json.loads(msg)
|
|
410
409
|
# 以下是清洗补全字段.
|
|
411
410
|
if 'extra' not in msg:
|
|
@@ -429,9 +428,8 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
429
428
|
self._last_show_pause_log_time = time.time()
|
|
430
429
|
else:
|
|
431
430
|
break
|
|
432
|
-
|
|
433
|
-
self.
|
|
434
|
-
kw['body'] = self.convert_msg_before_run(msg)
|
|
431
|
+
self._print_message_get_from_broker(kw['body'])
|
|
432
|
+
kw['body'] = self.convert_msg_before_run(kw['body'])
|
|
435
433
|
if self._judge_is_daylight():
|
|
436
434
|
self._requeue(kw)
|
|
437
435
|
time.sleep(self.time_interval_for_check_do_not_run_time)
|
|
@@ -530,7 +528,7 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
530
528
|
if self._has_execute_times_in_recent_second >= qpsx:
|
|
531
529
|
time.sleep((1 - (time.time() - self._last_start_count_qps_timestamp)) * 1)
|
|
532
530
|
|
|
533
|
-
def _print_message_get_from_broker(self, msg,broker_name=None):
|
|
531
|
+
def _print_message_get_from_broker(self, msg, broker_name=None):
|
|
534
532
|
# print(999)
|
|
535
533
|
if self.consumer_params.is_show_message_get_from_broker:
|
|
536
534
|
if isinstance(msg, (dict, list)):
|
|
@@ -624,13 +622,15 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
624
622
|
msg = f'{self._unit_time_for_count} 秒内执行了 {self._execute_task_times_every_unit_time} 次函数 [ {self.consuming_function.__name__} ] ,' \
|
|
625
623
|
f'函数平均运行耗时 {avarage_function_spend_time} 秒。 '
|
|
626
624
|
self.logger.info(msg)
|
|
627
|
-
if
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
625
|
+
if time.time() - self._last_show_remaining_execution_time > self._show_remaining_execution_time_interval:
|
|
626
|
+
self._msg_num_in_broker = self.publisher_of_same_queue.get_message_count()
|
|
627
|
+
if self._msg_num_in_broker != -1 : # 有的中间件无法统计或没实现统计队列剩余数量的,统一返回的是-1,不显示这句话。
|
|
628
|
+
# msg += f''' ,预计还需要 {time_util.seconds_to_hour_minute_second(self._msg_num_in_broker * avarage_function_spend_time / active_consumer_num)} 时间 才能执行完成 {self._msg_num_in_broker}个剩余的任务'''
|
|
629
|
+
need_time = time_util.seconds_to_hour_minute_second(self._msg_num_in_broker / (self._execute_task_times_every_unit_time / self._unit_time_for_count) /
|
|
630
|
+
self._distributed_consumer_statistics.active_consumer_num)
|
|
631
|
+
msg += f''' 预计还需要 {need_time} 时间 才能执行完成 队列 {self.queue_name} 中的 {self._msg_num_in_broker} 个剩余任务'''
|
|
632
|
+
self.logger.info(msg)
|
|
633
|
+
self._last_show_remaining_execution_time = time.time()
|
|
634
634
|
self._current_time_for_execute_task_times_every_unit_time = time.time()
|
|
635
635
|
self._consuming_function_cost_time_total_every_unit_time = 0
|
|
636
636
|
self._execute_task_times_every_unit_time = 0
|
|
@@ -830,7 +830,7 @@ class AbstractConsumer(LoggerLevelSetterMixin, metaclass=abc.ABCMeta, ):
|
|
|
830
830
|
self.logger.critical(msg=log_msg)
|
|
831
831
|
# noinspection PyProtectedMember,PyUnresolvedReferences
|
|
832
832
|
os._exit(444)
|
|
833
|
-
if not self.consumer_params.function_timeout
|
|
833
|
+
if not self.consumer_params.function_timeout:
|
|
834
834
|
rs = await corotinue_obj
|
|
835
835
|
# rs = await asyncio.wait_for(corotinue_obj, timeout=4)
|
|
836
836
|
else:
|
funboost/core/booster.py
CHANGED
|
@@ -4,6 +4,8 @@ import os
|
|
|
4
4
|
import types
|
|
5
5
|
import typing
|
|
6
6
|
|
|
7
|
+
from funboost.concurrent_pool import FlexibleThreadPool
|
|
8
|
+
from funboost.concurrent_pool.async_helper import simple_run_in_executor
|
|
7
9
|
from funboost.utils.ctrl_c_end import ctrl_c_recv
|
|
8
10
|
from funboost.core.loggers import flogger, develop_logger, logger_prompt
|
|
9
11
|
|
|
@@ -15,8 +17,8 @@ from funboost.core.func_params_model import BoosterParams, FunctionResultStatusP
|
|
|
15
17
|
from funboost.factories.consumer_factory import get_consumer
|
|
16
18
|
from collections import defaultdict
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
|
|
21
|
+
from funboost.core.msg_result_getter import AsyncResult, AioAsyncResult
|
|
20
22
|
|
|
21
23
|
|
|
22
24
|
class Booster:
|
|
@@ -123,6 +125,19 @@ class Booster:
|
|
|
123
125
|
consumer = BoostersManager.get_or_create_booster_by_queue_name(self.queue_name).consumer
|
|
124
126
|
return consumer.publisher_of_same_queue.publish(msg=msg, task_id=task_id, priority_control_config=priority_control_config)
|
|
125
127
|
|
|
128
|
+
async def aio_push(self, *func_args, **func_kwargs) -> AioAsyncResult:
|
|
129
|
+
"""asyncio 生态下发布消息,因为同步push只需要消耗不到1毫秒,所以基本上大概可以直接在asyncio异步生态中直接调用同步的push方法,
|
|
130
|
+
但为了更好的防止网络波动(例如发布消息到外网的消息队列耗时达到10毫秒),可以使用aio_push"""
|
|
131
|
+
async_result = await simple_run_in_executor(self.push, *func_args, **func_kwargs)
|
|
132
|
+
return AioAsyncResult(async_result.task_id, )
|
|
133
|
+
|
|
134
|
+
async def aio_publish(self, msg: typing.Union[str, dict], task_id=None,
|
|
135
|
+
priority_control_config: PriorityConsumingControlConfig = None) -> AioAsyncResult:
|
|
136
|
+
"""asyncio 生态下发布消息,因为同步push只需要消耗不到1毫秒,所以基本上大概可以直接在asyncio异步生态中直接调用同步的push方法,
|
|
137
|
+
但为了更好的防止网络波动(例如发布消息到外网的消息队列耗时达到10毫秒),可以使用aio_push"""
|
|
138
|
+
async_result = await simple_run_in_executor(self.publish,msg,task_id,priority_control_config)
|
|
139
|
+
return AioAsyncResult(async_result.task_id, )
|
|
140
|
+
|
|
126
141
|
# noinspection PyMethodMayBeStatic
|
|
127
142
|
def multi_process_consume(self, process_num=1):
|
|
128
143
|
"""超高速多进程消费"""
|
funboost/core/funboost_time.py
CHANGED
|
@@ -13,16 +13,33 @@ class FunboostTime(NbTime):
|
|
|
13
13
|
def get_time_zone_str(self,time_zone: typing.Union[str, datetime.tzinfo,None] = None):
|
|
14
14
|
return time_zone or self.default_time_zone or FunboostCommonConfig.TIMEZONE or self.get_localzone_name()
|
|
15
15
|
|
|
16
|
+
@staticmethod
|
|
17
|
+
def _get_tow_digist(num:int)->str:
|
|
18
|
+
if len(str(num)) ==1:
|
|
19
|
+
return f'0{num}'
|
|
20
|
+
return str(num)
|
|
21
|
+
|
|
22
|
+
def get_str(self, formatter=None):
|
|
23
|
+
return self.datetime_obj.strftime(formatter or self.datetime_formatter)
|
|
24
|
+
|
|
25
|
+
def get_str_fast(self):
|
|
26
|
+
t_str = f'{self.datetime_obj.year}-{self._get_tow_digist(self.datetime_obj.month)}-{self._get_tow_digist(self.datetime_obj.day)} {self._get_tow_digist(self.datetime_obj.hour)}:{self._get_tow_digist(self.datetime_obj.minute)}:{self._get_tow_digist(self.datetime_obj.second)}'
|
|
27
|
+
return t_str
|
|
16
28
|
|
|
17
29
|
|
|
18
30
|
if __name__ == '__main__':
|
|
19
|
-
print(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
datetime.datetime.now(tz=
|
|
31
|
+
print(FunboostTime().get_str())
|
|
32
|
+
tz=pytz.timezone(FunboostCommonConfig.TIMEZONE)
|
|
33
|
+
for i in range(1000000):
|
|
34
|
+
pass
|
|
35
|
+
# FunboostTime()#.get_str_fast()
|
|
36
|
+
|
|
37
|
+
# datetime.datetime.now().strftime(NbTime.FORMATTER_DATETIME_NO_ZONE)
|
|
38
|
+
tz = pytz.timezone(FunboostCommonConfig.TIMEZONE)
|
|
39
|
+
datetime.datetime.now(tz=tz)
|
|
40
|
+
# datetime.datetime.now(tz=pytz.timezone(FunboostCommonConfig.TIMEZONE))#.strftime(NbTime.FORMATTER_DATETIME_NO_ZONE)
|
|
41
|
+
# datetime.datetime.now(tz=pytz.timezone(FunboostCommonConfig.TIMEZONE)).timestamp()
|
|
42
|
+
|
|
43
|
+
# time.strftime(NbTime.FORMATTER_DATETIME_NO_ZONE)
|
|
44
|
+
# time.time()
|
|
28
45
|
print(NbTime())
|
funboost/core/helper_funs.py
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import copy
|
|
2
|
+
import pytz
|
|
2
3
|
import time
|
|
3
4
|
import uuid
|
|
4
|
-
|
|
5
|
+
import datetime
|
|
5
6
|
from funboost.core.funboost_time import FunboostTime
|
|
6
7
|
|
|
7
8
|
|
|
@@ -46,7 +47,7 @@ class MsgGenerater:
|
|
|
46
47
|
|
|
47
48
|
@staticmethod
|
|
48
49
|
def generate_publish_time() -> float:
|
|
49
|
-
return round(
|
|
50
|
+
return round(time.time(),4)
|
|
50
51
|
|
|
51
52
|
@staticmethod
|
|
52
53
|
def generate_publish_time_format() -> str:
|
|
@@ -59,3 +60,16 @@ class MsgGenerater:
|
|
|
59
60
|
return extra_params
|
|
60
61
|
|
|
61
62
|
|
|
63
|
+
|
|
64
|
+
if __name__ == '__main__':
|
|
65
|
+
|
|
66
|
+
from funboost import FunboostCommonConfig
|
|
67
|
+
|
|
68
|
+
print(FunboostTime())
|
|
69
|
+
for i in range(1000000):
|
|
70
|
+
# time.time()
|
|
71
|
+
# MsgGenerater.generate_publish_time_format()
|
|
72
|
+
|
|
73
|
+
datetime.datetime.now(tz=pytz.timezone(FunboostCommonConfig.TIMEZONE)).strftime(FunboostTime.FORMATTER_DATETIME_NO_ZONE)
|
|
74
|
+
|
|
75
|
+
print(FunboostTime())
|
funboost/core/lazy_impoter.py
CHANGED
funboost/core/loggers.py
CHANGED
|
@@ -40,11 +40,11 @@ class FunboostMetaTypeFileLogger(type):
|
|
|
40
40
|
cls.logger: logging.Logger = get_funboost_file_logger(name)
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
nb_log.LogManager('_KeepAliveTimeThread').preset_log_level(_try_get_user_funboost_common_config('KEEPALIVETIMETHREAD_LOG_LEVEL') or logging.DEBUG)
|
|
44
44
|
|
|
45
|
+
flogger = get_funboost_file_logger('funboost', )
|
|
45
46
|
# print(_try_get_user_funboost_common_config('FUNBOOST_PROMPT_LOG_LEVEL'))
|
|
46
|
-
logger_prompt = get_funboost_file_logger('funboost.prompt', log_level_int=_try_get_user_funboost_common_config('FUNBOOST_PROMPT_LOG_LEVEL') or logging.DEBUG)
|
|
47
|
-
nb_log.LogManager('_KeepAliveTimeThread').preset_log_level(_try_get_user_funboost_common_config('KEEPALIVETIMETHREAD_LOG_LEVEL') or logging.DEBUG)
|
|
47
|
+
logger_prompt = get_funboost_file_logger('funboost.prompt', log_level_int=_try_get_user_funboost_common_config('FUNBOOST_PROMPT_LOG_LEVEL') or logging.DEBUG)
|
|
48
48
|
|
|
49
49
|
# 开发时候的调试日志,比print方便通过级别一键屏蔽。
|
|
50
50
|
develop_logger = get_logger('funboost_develop', log_level_int=logging.WARNING, log_filename='funboost_develop.log')
|
|
@@ -87,7 +87,7 @@ class BrokerConnConfig(DataClassBase):
|
|
|
87
87
|
KOMBU_URL = 'redis://127.0.0.1:6379/9' # 这个就是celery依赖包kombu使用的消息队列格式,所以funboost支持一切celery支持的消息队列种类。
|
|
88
88
|
# KOMBU_URL = 'sqla+sqlite:////dssf_kombu_sqlite.sqlite' # 4个//// 代表磁盘根目录下生成一个文件。推荐绝对路径。3个///是相对路径。
|
|
89
89
|
|
|
90
|
-
CELERY_BROKER_URL = 'redis://127.0.0.1:6379/12' # 使用celery作为中间件。funboost新增支持celery
|
|
90
|
+
CELERY_BROKER_URL = 'redis://127.0.0.1:6379/12' # 使用celery作为中间件。funboost新增支持celery框架来运行函数,url内容就是celery的broker形式.
|
|
91
91
|
CELERY_RESULT_BACKEND = 'redis://127.0.0.1:6379/13' # celery结果存放,可以为None
|
|
92
92
|
|
|
93
93
|
DRAMATIQ_URL = RABBITMQ_URL
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: funboost
|
|
3
|
-
Version: 44.
|
|
3
|
+
Version: 44.4
|
|
4
4
|
Summary: pip install funboost,python全功能分布式函数调度框架,。支持python所有类型的并发模式和一切知名消息队列中间件,支持如 celery dramatiq等框架整体作为funboost中间件,python函数加速器,框架包罗万象,用户能想到的控制功能全都有。一统编程思维,兼容50% python业务场景,适用范围广。只需要一行代码即可分布式执行python一切函数,99%用过funboost的pythoner 感受是 简易 方便 强劲 强大,相见恨晚
|
|
5
5
|
Home-page: https://github.com/ydf0509/funboost
|
|
6
6
|
Author: bfzs
|
|
@@ -76,6 +76,11 @@ Requires-Dist: rocketmq ; extra == 'all'
|
|
|
76
76
|
Requires-Dist: zmq ; extra == 'all'
|
|
77
77
|
Requires-Dist: pyzmq ; extra == 'all'
|
|
78
78
|
Requires-Dist: kafka-python (==2.0.2) ; extra == 'all'
|
|
79
|
+
Requires-Dist: flask ; extra == 'all'
|
|
80
|
+
Requires-Dist: flask-bootstrap ; extra == 'all'
|
|
81
|
+
Requires-Dist: flask-wtf ; extra == 'all'
|
|
82
|
+
Requires-Dist: wtforms ; extra == 'all'
|
|
83
|
+
Requires-Dist: flask-login ; extra == 'all'
|
|
79
84
|
Requires-Dist: pulsar-client (==3.1.0) ; (python_version >= "3.7") and extra == 'all'
|
|
80
85
|
Provides-Extra: extra_brokers
|
|
81
86
|
Requires-Dist: confluent-kafka (==1.7.0) ; extra == 'extra_brokers'
|
|
@@ -133,7 +138,7 @@ pip install funboost ,python全功能分布式函数调度框架,。 用法例
|
|
|
133
138
|
python函数加速器,框架包罗万象,一统编程思维,兼容50% python编程业务场景,适用范围广。
|
|
134
139
|
只需要一行代码即可分布式执行python一切函数,99%用过funboost的pythoner 感受是 方便 快速 强大。
|
|
135
140
|
python万能分布式函数调度框架,支持5种并发模式,30+种消息队列中间件(或任务队列框架),
|
|
136
|
-
|
|
141
|
+
30种任务控制功能。给任意python函数赋能。
|
|
137
142
|
用途概念就是常规经典的 生产者 + 消息队列中间件 + 消费者 编程思想。
|
|
138
143
|
框架只需要学习@boost这一个装饰器的入参就可以,所有用法几乎和1.3例子一摸一样,非常简化简单。
|
|
139
144
|
</pre>
|
|
@@ -215,7 +220,7 @@ pip install funboost --upgrade
|
|
|
215
220
|
|
|
216
221
|
## 1.2 框架功能介绍
|
|
217
222
|
|
|
218
|
-
分布式函数调度框架,支持5种并发模式,20+种消息中间件,
|
|
223
|
+
分布式函数调度框架,支持5种并发模式,20+种消息中间件,30种任务控制功能。<br>
|
|
219
224
|
用途概念就是常规经典的 生产者 + 消息队列中间件 + 消费者 编程思想。
|
|
220
225
|
|
|
221
226
|
有了这个框架,用户再也无需亲自手写操作进程、线程、协程的并发的代码了。
|
|
@@ -505,6 +510,7 @@ if __name__ == "__main__":
|
|
|
505
510
|
|
|
506
511
|
<a href="https://imgse.com/i/pkFkCUe"><img src="https://s21.ax1x.com/2024/04/29/pkFkCUe.png" alt="pkFkCUe.png" border="0" /></a>
|
|
507
512
|
|
|
513
|
+
<a href="https://imgse.com/i/pkE6IYR"><img src="https://s21.ax1x.com/2024/05/07/pkE6IYR.png" alt="pkE6IYR.png" border="0" /></a>
|
|
508
514
|
|
|
509
515
|
## 1.4 python分布式函数执行为什么重要?
|
|
510
516
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
funboost/__init__.py,sha256=
|
|
1
|
+
funboost/__init__.py,sha256=5ElyfATJ1YHMtE87AY-GMr6NHoojJSfe01SuYgSNu3g,3834
|
|
2
2
|
funboost/__init__old.py,sha256=07A1MLsxLtuRQQOIfDyphddOwNBrGe34enoHWAnjV14,20379
|
|
3
3
|
funboost/__main__.py,sha256=-6Nogi666Y0LN8fVm3JmHGTOk8xEGWvotW_GDbSaZME,1065
|
|
4
4
|
funboost/constant.py,sha256=Yxt3WJt9D8ybcrgiojOy0qjnq5mffwTnTJplerGL0Oo,7188
|
|
5
|
-
funboost/funboost_config_deafult.py,sha256=
|
|
5
|
+
funboost/funboost_config_deafult.py,sha256=K-kCFGEjD107wHWFspNrIWsPNSVteP2Xww1yRbXd-Wk,6651
|
|
6
6
|
funboost/set_frame_config.py,sha256=fnc9yIWTxVnqFrUQrXTGPWBzHgPNebsf-xnzYpktY9U,14339
|
|
7
7
|
funboost/assist/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
funboost/assist/celery_helper.py,sha256=EOxsl-y65JPwHrmL0LTGAj1nKLbS0qyRbuXcJ0xo9wc,5721
|
|
@@ -13,7 +13,7 @@ funboost/assist/rq_helper.py,sha256=HYvQ7VqIMx7dAVZZhtqQmGReCJavEuc1BQPYvfm1EvY,
|
|
|
13
13
|
funboost/assist/rq_windows_worker.py,sha256=jQlGmU0FWPVoKVP8cyuwTuAca9VfSd75F5Qw_hR04y0,4831
|
|
14
14
|
funboost/beggar_version_implementation/beggar_redis_consumer.py,sha256=x5cH6Vc3_UooY2oPeC9MlpMewrGd9qXCx6gEWi1fGa0,3941
|
|
15
15
|
funboost/concurrent_pool/__init__.py,sha256=C27xYXj7c1NGuVeG7K2LxKH7JKnGwfPfITyon6xFaoE,803
|
|
16
|
-
funboost/concurrent_pool/async_helper.py,sha256=
|
|
16
|
+
funboost/concurrent_pool/async_helper.py,sha256=bK4SyTu_WpgxCvai2AaiI7EKQ-COiDbqu0WPnbaJ1jM,3421
|
|
17
17
|
funboost/concurrent_pool/async_pool_executor.py,sha256=n2T4WgUitloFgHfRXTaD5Ro29WkR8qEw1ftEIub03Ug,7515
|
|
18
18
|
funboost/concurrent_pool/base_pool_type.py,sha256=h3xcadufMAf49CoNe5VkUyIxlniMeNtDjadqB5IsiKA,194
|
|
19
19
|
funboost/concurrent_pool/bounded_processpoolexcutor_gt_py37.py,sha256=pWqpKAP0Z0cuHdSHJ5ti6EpNndnIoYkPE6IOl4BvbJw,4775
|
|
@@ -33,7 +33,7 @@ funboost/concurrent_pool/backup/async_pool_executor0223.py,sha256=RVUZiylUvpTm6U
|
|
|
33
33
|
funboost/concurrent_pool/backup/async_pool_executor_back.py,sha256=KL6zEQaa1KkZOlAO85mCC1gwLm-YC5Ghn21IUom0UKM,9598
|
|
34
34
|
funboost/concurrent_pool/backup/async_pool_executor_janus.py,sha256=OHMWJ9l3EYTpPpcrPrGGKd4K0tmQ2PN8HiX0Dta0EOo,5728
|
|
35
35
|
funboost/consumers/__init__.py,sha256=ZXY_6Kut1VYNQiF5aWEgIWobsW1ht9YUP0TdRZRWFqI,126
|
|
36
|
-
funboost/consumers/base_consumer.py,sha256=
|
|
36
|
+
funboost/consumers/base_consumer.py,sha256=lKJQwQJfonZDrV8zcglGOHEBjcACdMnq8kQhIMxY2lw,76558
|
|
37
37
|
funboost/consumers/celery_consumer.py,sha256=9gtz7nlZkmv3ErmaseT0_Q__ltSPx-fOcwi-TMPoaLA,9220
|
|
38
38
|
funboost/consumers/confirm_mixin.py,sha256=eY6fNwx51Hn4bQSYRjyTRwOqfCGsikVnd2Ga_Ep31N4,6062
|
|
39
39
|
funboost/consumers/dramatiq_consumer.py,sha256=ozmeAfeF0U-YNYHK4suQB0N264h5AZdfMH0O45Mh-8A,2229
|
|
@@ -81,19 +81,19 @@ funboost/contrib/redis_consume_latest_msg_broker.py,sha256=ESortBZ2qu_4PBCa3e3Fe
|
|
|
81
81
|
funboost/contrib/save_result_status_to_sqldb.py,sha256=AxvD7nHs4sjr9U0kwEZzyPKrsGdU_JzEgzzhh_V1_4w,4071
|
|
82
82
|
funboost/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
83
83
|
funboost/core/active_cousumer_info_getter.py,sha256=09fEc-BTEIRfDDfHmOvKnMjLjtOyp4edLsUlAXUR_Qs,4966
|
|
84
|
-
funboost/core/booster.py,sha256=
|
|
84
|
+
funboost/core/booster.py,sha256=dEr3uFzGg3Tik3fvCm20WREIPpWO825Crj-DzBtby1w,17224
|
|
85
85
|
funboost/core/current_task.py,sha256=rAIQVLqYqtlHVRkjl17yki-mqvuMb640ssGmto4RSdA,4864
|
|
86
86
|
funboost/core/exceptions.py,sha256=pLF7BkRJAfDiWp2_xGZqencmwdPiSQI1NENbImExknY,1311
|
|
87
87
|
funboost/core/fabric_deploy_helper.py,sha256=foieeqlNySuU9axJzNF6TavPjIUSYBx9UO3syVKUiyY,9999
|
|
88
88
|
funboost/core/funboost_config_getter.py,sha256=TDccp5pQamkoJXkwyPwGsQGDJY8ej8ZT8L8RESSAD2w,382
|
|
89
|
-
funboost/core/funboost_time.py,sha256=
|
|
89
|
+
funboost/core/funboost_time.py,sha256=IbB4dFCpg3oGUe90ssAJ_x0eDPtAVfvsUr4esdoKaOk,1777
|
|
90
90
|
funboost/core/func_params_model.py,sha256=UWpPujyCj5xwsu6kqjSneDmekNTWkqt0AoLlEDl2RmA,19173
|
|
91
91
|
funboost/core/function_result_status_config.py,sha256=PyjqAQOiwsLt28sRtH-eYRjiI3edPFO4Nde0ILFRReE,1764
|
|
92
92
|
funboost/core/function_result_status_saver.py,sha256=UdokGSwU630t70AZnT9Ecj7GpYXORBDivlc9kadoI2E,9172
|
|
93
|
-
funboost/core/helper_funs.py,sha256=
|
|
93
|
+
funboost/core/helper_funs.py,sha256=1MZjedV6TGdaAjmj9q-ykgoTI_BtG9ZQm58PLOMVdDM,2362
|
|
94
94
|
funboost/core/kill_remote_task.py,sha256=MZ5vWLGt6SxyN76h5Lf_id9tyVUzjR-qXNyJwXaGlZY,8129
|
|
95
|
-
funboost/core/lazy_impoter.py,sha256=
|
|
96
|
-
funboost/core/loggers.py,sha256=
|
|
95
|
+
funboost/core/lazy_impoter.py,sha256=wH7u8nm6rLGtWmF643d5ga4CrJEmAhaSsDEBEeuiD4Q,4825
|
|
96
|
+
funboost/core/loggers.py,sha256=uy5mFLIUvKaVdJZLi6THyxqeuOmp9XEOKrH1Yci0zUM,2354
|
|
97
97
|
funboost/core/msg_result_getter.py,sha256=oZDuLDR5XQNzzvgDTsA7wroICToPwrkU9-OAaXXUQSk,8031
|
|
98
98
|
funboost/core/muliti_process_enhance.py,sha256=tI3178inc5sqPh-jQc0XaTuUD1diIZyHuukBRk1Gp6Y,3595
|
|
99
99
|
funboost/core/task_id_logger.py,sha256=lR19HQcX6Pp8laURCD656xNpF_JP6nLB3zUKI69EWzE,864
|
|
@@ -265,9 +265,9 @@ funboost/utils/pysnooper_ydf/utils.py,sha256=evSmGi_Oul7vSP47AJ0DLjFwoCYCfunJZ1m
|
|
|
265
265
|
funboost/utils/pysnooper_ydf/variables.py,sha256=QejRDESBA06KG9OH4sBT4J1M55eaU29EIHg8K_igaXo,3693
|
|
266
266
|
funboost/utils/times/__init__.py,sha256=Y4bQD3SIA_E7W2YvHq2Qdi0dGM4H2DxyFNdDOuFOq1w,2417
|
|
267
267
|
funboost/utils/times/version.py,sha256=11XfnZVVzOgIhXXdeN_mYfdXThfrsbQHpA0wCjz-hpg,17
|
|
268
|
-
funboost-44.
|
|
269
|
-
funboost-44.
|
|
270
|
-
funboost-44.
|
|
271
|
-
funboost-44.
|
|
272
|
-
funboost-44.
|
|
273
|
-
funboost-44.
|
|
268
|
+
funboost-44.4.dist-info/LICENSE,sha256=9EPP2ktG_lAPB8PjmWV-c9BiaJHc_FP6pPLcUrUwx0E,11562
|
|
269
|
+
funboost-44.4.dist-info/METADATA,sha256=YDADellqruEZqdFJLMy2TQMJLXQ-MO_LfjbtGBONgf0,31692
|
|
270
|
+
funboost-44.4.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
|
271
|
+
funboost-44.4.dist-info/entry_points.txt,sha256=BQMqRALuw-QT9x2d7puWaUHriXfy3wIzvfzF61AnSSI,97
|
|
272
|
+
funboost-44.4.dist-info/top_level.txt,sha256=K8WuKnS6MRcEWxP1NvbmCeujJq6TEfbsB150YROlRw0,9
|
|
273
|
+
funboost-44.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|