pycoze 0.1.443__py3-none-any.whl → 0.1.444__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.
- pycoze/reference/__init__.py +2 -1
- pycoze/reference/fn.py +33 -0
- {pycoze-0.1.443.dist-info → pycoze-0.1.444.dist-info}/METADATA +1 -1
- {pycoze-0.1.443.dist-info → pycoze-0.1.444.dist-info}/RECORD +7 -6
- {pycoze-0.1.443.dist-info → pycoze-0.1.444.dist-info}/LICENSE +0 -0
- {pycoze-0.1.443.dist-info → pycoze-0.1.444.dist-info}/WHEEL +0 -0
- {pycoze-0.1.443.dist-info → pycoze-0.1.444.dist-info}/top_level.txt +0 -0
pycoze/reference/__init__.py
CHANGED
pycoze/reference/fn.py
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
def single_process():
|
2
|
+
def decorator(func):
|
3
|
+
func.parallel_mode = "singleProcess"
|
4
|
+
return func
|
5
|
+
return decorator
|
6
|
+
|
7
|
+
|
8
|
+
def multi_process():
|
9
|
+
def decorator(func):
|
10
|
+
func.parallel_mode = "multiProcess"
|
11
|
+
return func
|
12
|
+
return decorator
|
13
|
+
|
14
|
+
|
15
|
+
def generator_function():
|
16
|
+
def decorator(func):
|
17
|
+
func.parallel_mode = "generatorFunction"
|
18
|
+
return func
|
19
|
+
return decorator
|
20
|
+
|
21
|
+
|
22
|
+
def compatibility():
|
23
|
+
def decorator(func):
|
24
|
+
func.parallel_mode = "compatibility"
|
25
|
+
return func
|
26
|
+
return decorator
|
27
|
+
|
28
|
+
|
29
|
+
def global_thread():
|
30
|
+
def decorator(func):
|
31
|
+
func.parallel_mode = "globalThread"
|
32
|
+
return func
|
33
|
+
return decorator
|
@@ -16,8 +16,9 @@ pycoze/bot/lib.py,sha256=RivPA2f5fqzqbW6jL0sx9X9pwgFPxwkk8lt62CWvaZo,7255
|
|
16
16
|
pycoze/bot/message.py,sha256=udnIi-h4QgGzkbr_5VcAsVGjoLp9wXJSfBCeuOz7_Bk,802
|
17
17
|
pycoze/bot/prompt.md,sha256=UtwZ31wFvNtvM9ZTA4BU2yT1Rb-qnUdU3Ny1O37Tt3Q,14077
|
18
18
|
pycoze/bot/tools.py,sha256=BWMdwvqLzvcyaW38lzxUWtc0K1V-C_qPSEZ3OKlAQvU,11108
|
19
|
-
pycoze/reference/__init__.py,sha256=
|
19
|
+
pycoze/reference/__init__.py,sha256=wEhM5lIZ58UQV5YSYOPrtuTlpibPvcLgiZnVlG3RIf8,210
|
20
20
|
pycoze/reference/bot.py,sha256=UZK24Qm8kpqpwXJy_zNZeTEEDee05luXdSBeUm0NCt0,2029
|
21
|
+
pycoze/reference/fn.py,sha256=w8cHR17kvauWXu5TfuDut4ggXGajdyQYm-yXDJ65mXs,675
|
21
22
|
pycoze/reference/lib.py,sha256=T-oBOKxkus5dTouc0oDgfRzUyi6aTyY-FF4yX7SzF5M,3755
|
22
23
|
pycoze/reference/tool.py,sha256=kv5Ww8fZVECNJfE7Ku5M88jqHgSO0yTF0S6eijQu9KE,1104
|
23
24
|
pycoze/reference/workflow.py,sha256=59teXvIM_kOa-rJMLudJaJb9FBumYEmOzMT5jifKqDY,1337
|
@@ -31,8 +32,8 @@ pycoze/utils/arg.py,sha256=jop1tBfe5hYkHW1NSpCeaZBEznkgguBscj_7M2dWfrs,503
|
|
31
32
|
pycoze/utils/env.py,sha256=5pWlXfM1F5ZU9hhv1rHlDEanjEW5wf0nbyez9bNRqqA,559
|
32
33
|
pycoze/utils/socket.py,sha256=bZbFFRH4mfThzRqt55BAAGQ6eICx_ja4x8UGGrUdAm8,2428
|
33
34
|
pycoze/utils/text_or_file.py,sha256=gpxZVWt2DW6YiEg_MnMuwg36VNf3TX383QD_1oZNB0Y,551
|
34
|
-
pycoze-0.1.
|
35
|
-
pycoze-0.1.
|
36
|
-
pycoze-0.1.
|
37
|
-
pycoze-0.1.
|
38
|
-
pycoze-0.1.
|
35
|
+
pycoze-0.1.444.dist-info/LICENSE,sha256=QStd_Qsd0-kAam_-sOesCIp_uKrGWeoKwt9M49NVkNU,1090
|
36
|
+
pycoze-0.1.444.dist-info/METADATA,sha256=RAC5o3N04_CTXPPZ1Tzdarfw9-KnuuoT0z5USGAdJ6s,854
|
37
|
+
pycoze-0.1.444.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
38
|
+
pycoze-0.1.444.dist-info/top_level.txt,sha256=76dPeDhKvOCleL3ZC5gl1-y4vdS1tT_U1hxWVAn7sFo,7
|
39
|
+
pycoze-0.1.444.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|