MCPcopy Create free account

hub / github.com/ShichaoMa/toolkit / functions

Functions797 in github.com/ShichaoMa/toolkit

FunctionThrower
( ex )
docs/_build/html/_static/jquery-3.2.1.js:3472
FunctionTween
( elem, options, prop, end, easing )
docs/_build/html/_static/jquery-3.2.1.js:6652
FunctionV
()
docs/_build/html/_static/jquery.js:3
Method__add__
(self, other)
toolkit/structures/linked_list.py:185
Method__aenter__
(self)
toolkit/async_context.py:308
Method__aenter__
(self)
toolkit/tools/redis_tools.py:26
Method__aexit__
(self, type, value, traceback)
toolkit/async_context.py:317
Method__aexit__
(self, exc_type, exc_val, exc_tb)
toolkit/tools/redis_tools.py:29
Method__bool__
(self)
toolkit/settings/frozen.py:43
Method__call__
(cls, *args, **kwargs)
toolkit/singleton.py:36
Method__call__
(self, *args: typing.Tuple[typing.Any], **kwargs: typing.Dict[typing.AnyStr, typing.AnyStr])
toolkit/__init__.py:111
Method__contains__
(self, item)
tools/tree.py:54
Method__contains__
(self, item)
tools/tree.py:82
Method__contains__
(self, value)
tools/hash_set.py:76
Method__contains__
(self, item)
toolkit/structures/thread_safe_collections.py:31
Method__delitem__
(self, item)
toolkit/settings/frozen.py:49
Method__dir__
(self)
toolkit/service/console.py:91
Method__enter__
(self)
toolkit/async_context.py:245
Method__enter__
(self)
toolkit/tools/markdown_helper.py:39
Method__enter__
(self)
toolkit/tools/redis_tools.py:19
Method__enter__
(self)
toolkit/tools/managers.py:66
Method__enter__
(self)
toolkit/tools/managers.py:91
Method__enter__
(self)
toolkit/translator/translate_adapter.py:52
Method__enter__
每次使用acquirer之前,若不存在key,则主动发起更新 :return:
toolkit/translator/token_acquirer.py:70
Method__eq__
判断两个对象是否相等 :param other: :return:
toolkit/structures/linked_list.py:81
Method__exit__
(self, type, value, traceback)
toolkit/async_context.py:254
Method__exit__
(self, exc_type, exc_val, exc_tb)
toolkit/tools/markdown_helper.py:79
Method__exit__
(self, exc_type, exc_val, exc_tb)
toolkit/tools/redis_tools.py:23
Method__exit__
(self, exc_type, exc_val, exc_tb)
toolkit/tools/managers.py:69
Method__exit__
(self, exc_type, exc_val, exc_tb)
toolkit/tools/managers.py:94
Method__exit__
(self, exc_type, exc_val, exc_tb)
toolkit/translator/translate_adapter.py:57
Method__exit__
每次退出acquirer之前,若发生异常,则主动发起更新。 保存必要信息到kwargs。供下次生成acquirer使用。 :param exc_type: :param exc_val: :param exc_tb:
toolkit/translator/token_acquirer.py:79
Method__exit__
(self, exc_type, exc_val, exc_tb)
toolkit/translator/token_acquirer.py:174
Method__get__
(self, instance, owner)
toolkit/__init__.py:707
Method__get__
(self, instance, owner)
toolkit/__init__.py:794
Method__get__
(self, instance, owner)
toolkit/__init__.py:1025
Method__get__
(self, instance, owner)
toolkit/service/plugins.py:42
Method__getattr__
(self, item)
toolkit/async_context.py:93
Method__getattr__
(self, item)
toolkit/settings/frozen.py:22
Method__getattr__
(self, item)
tests/test_service/test_combine.py:15
Method__getattribute__
(self, name)
toolkit/service/console.py:94
Method__getitem__
(self, item)
toolkit/async_context.py:99
Method__getitem__
(self, key)
toolkit/structures/linked_list.py:114
Method__getitem__
(self, item)
toolkit/settings/frozen.py:37
Method__getitem__
(self, item)
toolkit/settings/settings.py:76
Method__hash__
(self)
toolkit/structures/linked_list.py:97
Method__iadd__
(self, other)
toolkit/structures/linked_list.py:179
Method__init__
(self, x)
tools/merge_link.py:2
Method__init__
(self)
tools/coroutine.py:25
Method__init__
(self, ok_callback=lambda: True)
tools/coroutine.py:88
Method__init__
(self, left_parent, right_parent, capacity)
tools/wine.py:19
Method__init__
(self, data, left=None, right=None)
tools/tree.py:3
Method__init__
(self)
tools/tree.py:73
Method__init__
(self)
tools/hash_set.py:14
Method__init__
(self, data, left, right)
tools/operator_tree.py:3
Method__init__
(self, val)
tools/lru.py:3
Method__init__
(self, vals)
tools/lru.py:10
Method__init__
连续调用多个函数, 如果is_pipe=True,依次连接所有函数的输出到输入。 否则,返回所有函数结果集列表将传aggregation中进行聚合。 :param functions: 需要连接的函数 :param is_pipe:
toolkit/__init__.py:86
Method__init__
(self, func)
toolkit/__init__.py:704
Method__init__
(self, func)
toolkit/__init__.py:790
Method__init__
(self, key)
toolkit/async_context.py:27
Method__init__
并发环境下的上下文变量,兼容python3.7, 3.6,threading 和coroutine 对于coroutine,在3.6环境下,需要传入currency_type = CURRENCY_TYPE_COROUTINE, 同时创建子协程需要使
toolkit/async_context.py:79
Method__init__
(self, css, file_path)
toolkit/tools/markdown_helper.py:35
Method__init__
(self, redis_conn, lock_key, expire, roll_interval=0.1)
toolkit/tools/redis_tools.py:12
Method__init__
:param block_time: 需要阻塞的时长 这个对象会被传递给notify回调函数
toolkit/tools/managers.py:21
Method__init__
:param exception: 指定要监控的异常 :param func_name: 可以选择提供当前所在函数的名称,回调函数会提交到函数,用于跟踪 :param errback: 提供一个回调函数,如果发生了指定异常, 就调用该
toolkit/tools/managers.py:48
Method__init__
(self, start=None)
toolkit/tools/managers.py:88
Method__init__
(self, max_size=1024*1024)
toolkit/tools/file_buffalo.py:11
Method__init__
:param weight: 将一个函数分成的工作区块数,如果是int类型,则是区作区块数, 如果是[1, 4, 6...]类型,则指定了每个工作区块的工作量权重。 :param update_callback: 当完成规定的进度后,调用的
toolkit/components/processor.py:22
Method__init__
提供一个任务输入生成器及任务函数,生成指定数量的worker,来并行处理任务 @param generator: 任务生成器,每次迭代返回任务输入所需参数 @param target: 任务处理函数,接收任务生成器传入的参数执行处理任务。
toolkit/components/multi_worker.py:23
Method__init__
(self, locals)
toolkit/service/console.py:112
Method__init__
(self)
toolkit/service/monitors.py:21
Method__init__
(self, plugin_cls, parser)
toolkit/service/plugins.py:34
Method__init__
(self, args, instance=None)
toolkit/service/plugins.py:53
Method__init__
(self, args, instance)
toolkit/service/plugins.py:229
Method__init__
(self, *args, **kwargs)
toolkit/structures/thread_safe_collections.py:44
Method__init__
(self, redis_conn, key)
toolkit/structures/queues.py:46
Method__init__
(self, path, chunk_size=100000)
toolkit/structures/queues.py:83
Method__init__
(self, value, left=None, right=None)
toolkit/structures/linked_list.py:5
Method__init__
(self, current_node, towards="right")
toolkit/structures/linked_list.py:20
Method__init__
(self, iterable)
toolkit/structures/linked_list.py:40
Method__init__
(self, settings_type=Settings)
toolkit/settings/settings.py:123
Method__init__
(self)
toolkit/translator/translate_adapter.py:33
Method__init__
(self, settings)
toolkit/translator/__init__.py:20
Method__init__
初始化acquirer信息 :param session: :param headers: :param proxies:
toolkit/translator/token_acquirer.py:20
Method__init__
(self, host, session, headers=None)
toolkit/translator/token_acquirer.py:150
Method__init__
(self)
tests/test_service/test_combine.py:24
Method__init__
(self)
tests/test_service/test_combine.py:80
Method__iter__
(self)
tools/merge_link.py:6
Method__iter__
(self)
tools/hash_set.py:62
Method__iter__
(self)
tools/operator_tree.py:8
Method__iter__
(self)
toolkit/structures/thread_safe_collections.py:35
Method__iter__
(self)
toolkit/structures/linked_list.py:24
Method__iter__
(self)
toolkit/structures/linked_list.py:68
Method__iter__
(self)
toolkit/settings/frozen.py:40
Method__len__
(self)
tools/tree.py:62
Method__len__
(self)
tools/tree.py:76
Method__len__
(self)
tools/hash_set.py:73
Method__len__
(self)
toolkit/structures/thread_safe_collections.py:39
Method__len__
(self)
toolkit/structures/queues.py:30
← previousnext →401–500 of 797, ranked by callers