Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ShichaoMa/toolkit
/ functions
Functions
797 in github.com/ShichaoMa/toolkit
⨍
Functions
797
◇
Types & classes
90
↳
Endpoints
1
Function
Thrower
( ex )
docs/_build/html/_static/jquery-3.2.1.js:3472
Function
Tween
( elem, options, prop, end, easing )
docs/_build/html/_static/jquery-3.2.1.js:6652
Function
V
()
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
← previous
next →
401–500 of 797, ranked by callers