QuLab 2.7.2__cp312-cp312-macosx_10_13_universal2.whl → 2.7.4__cp312-cp312-macosx_10_13_universal2.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.
- {QuLab-2.7.2.dist-info → QuLab-2.7.4.dist-info}/METADATA +1 -1
- {QuLab-2.7.2.dist-info → QuLab-2.7.4.dist-info}/RECORD +9 -9
- qulab/executor/cli.py +18 -0
- qulab/fun.cpython-312-darwin.so +0 -0
- qulab/version.py +1 -1
- {QuLab-2.7.2.dist-info → QuLab-2.7.4.dist-info}/LICENSE +0 -0
- {QuLab-2.7.2.dist-info → QuLab-2.7.4.dist-info}/WHEEL +0 -0
- {QuLab-2.7.2.dist-info → QuLab-2.7.4.dist-info}/entry_points.txt +0 -0
- {QuLab-2.7.2.dist-info → QuLab-2.7.4.dist-info}/top_level.txt +0 -0
@@ -1,15 +1,15 @@
|
|
1
1
|
qulab/__init__.py,sha256=tKRZe2WafDGcwbu7ddlMaePerN842aRbxcrECsu5pas,286
|
2
2
|
qulab/__main__.py,sha256=fjaRSL_uUjNIzBGNgjlGswb9TJ2VD5qnkZHW3hItrD4,68
|
3
3
|
qulab/dicttree.py,sha256=tRRMpGZYVOLw0TEByE3_2Ss8FdOmzuGL9e1DWbs8qoY,13684
|
4
|
-
qulab/fun.cpython-312-darwin.so,sha256=
|
4
|
+
qulab/fun.cpython-312-darwin.so,sha256=zbfcg1IPXY_P_VQtlu_d3i4O28HdDZtSlXHc9KWTIAw,126864
|
5
5
|
qulab/typing.py,sha256=5xCLfrp1aZpKpDy4p2arbFszw2eK3hGUjZa-XSvC_-8,69
|
6
6
|
qulab/utils.py,sha256=JIXMSmZU0uYfKG_tzawpK7vRNPRir_hJE8JlqkVLX2o,1260
|
7
|
-
qulab/version.py,sha256=
|
7
|
+
qulab/version.py,sha256=yGtQGdDAdfOPd0Cjx7MVgaq0BXaJxnboEQcVODQ3F3o,21
|
8
8
|
qulab/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
9
|
qulab/cli/commands.py,sha256=tgDIkkeIoasQXAifJZ6NU8jDgpNgb2a-B0C4nF0evrE,559
|
10
10
|
qulab/cli/config.py,sha256=SdNmWzweWAdyk8M2oKYhMxnkaJ0qIayPlsLGCNlVqME,3108
|
11
11
|
qulab/executor/__init__.py,sha256=LosPzOMaljSZY1thy_Fxtbrgq7uubJszMABEB7oM7tU,101
|
12
|
-
qulab/executor/cli.py,sha256=
|
12
|
+
qulab/executor/cli.py,sha256=glpQUV67_85sMpQoc3i2jw63I2WySwCd5sMXykEYzB0,8913
|
13
13
|
qulab/executor/load.py,sha256=QKe2qs-kCPp0PjvnVMR5XVgSa1IkN5BSHkNPZ2EpC38,18007
|
14
14
|
qulab/executor/schedule.py,sha256=YRAYs0PgR0mhhy4rJX8Ddi65peSfh7SfsvudVjLJQAU,15248
|
15
15
|
qulab/executor/storage.py,sha256=-v7Yd1SrLa8Uy2JHHKFJN1Qp48PPgtWhHC7kcFdACLo,10546
|
@@ -94,9 +94,9 @@ qulab/visualization/plot_seq.py,sha256=UWTS6p9nfX_7B8ehcYo6UnSTUCjkBsNU9jiOeW2ca
|
|
94
94
|
qulab/visualization/qdat.py,sha256=ZeevBYWkzbww4xZnsjHhw7wRorJCBzbG0iEu-XQB4EA,5735
|
95
95
|
qulab/visualization/rot3d.py,sha256=lMrEJlRLwYe6NMBlGkKYpp_V9CTipOAuDy6QW_cQK00,734
|
96
96
|
qulab/visualization/widgets.py,sha256=6KkiTyQ8J-ei70LbPQZAK35wjktY47w2IveOa682ftA,3180
|
97
|
-
QuLab-2.7.
|
98
|
-
QuLab-2.7.
|
99
|
-
QuLab-2.7.
|
100
|
-
QuLab-2.7.
|
101
|
-
QuLab-2.7.
|
102
|
-
QuLab-2.7.
|
97
|
+
QuLab-2.7.4.dist-info/LICENSE,sha256=PRzIKxZtpQcH7whTG6Egvzl1A0BvnSf30tmR2X2KrpA,1065
|
98
|
+
QuLab-2.7.4.dist-info/METADATA,sha256=DZjKwpU-3U8zznsKZI9xODqr9ApQFS3ICSCiBLcwR4o,3698
|
99
|
+
QuLab-2.7.4.dist-info/WHEEL,sha256=iDXcyuxg-66TzzqHGH-kgw_HJdaJE_1RHznrvPNCSNs,115
|
100
|
+
QuLab-2.7.4.dist-info/entry_points.txt,sha256=b0v1GXOwmxY-nCCsPN_rHZZvY9CtTbWqrGj8u1m8yHo,45
|
101
|
+
QuLab-2.7.4.dist-info/top_level.txt,sha256=3T886LbAsbvjonu_TDdmgxKYUn939BVTRPxPl9r4cEg,6
|
102
|
+
QuLab-2.7.4.dist-info/RECORD,,
|
qulab/executor/cli.py
CHANGED
@@ -17,6 +17,16 @@ from .transform import set_config_api
|
|
17
17
|
from .utils import workflow_template
|
18
18
|
|
19
19
|
|
20
|
+
@logger.catch(reraise=True)
|
21
|
+
def boot(script_path):
|
22
|
+
"""Run a script in a new terminal."""
|
23
|
+
import subprocess
|
24
|
+
import sys
|
25
|
+
|
26
|
+
proc = subprocess.Popen([sys.executable, script_path])
|
27
|
+
proc.communicate()
|
28
|
+
|
29
|
+
|
20
30
|
@logger.catch(reraise=True)
|
21
31
|
def check_toplogy(workflow: WorkflowType, code_path: str | Path) -> dict:
|
22
32
|
graph = {}
|
@@ -51,8 +61,16 @@ def command_option(command_name):
|
|
51
61
|
'-a',
|
52
62
|
default=lambda: get_config_value("api", str, command_name),
|
53
63
|
help='The modlule name of the api.')
|
64
|
+
@click.option(
|
65
|
+
'--bootstrap',
|
66
|
+
'-b',
|
67
|
+
default=lambda: get_config_value("bootstrap", Path, command_name),
|
68
|
+
help='The path of the bootstrap.')
|
54
69
|
@functools.wraps(func)
|
55
70
|
def wrapper(*args, **kwargs):
|
71
|
+
bootstrap = kwargs.pop('bootstrap')
|
72
|
+
if bootstrap is not None:
|
73
|
+
boot(bootstrap)
|
56
74
|
return func(*args, **kwargs)
|
57
75
|
|
58
76
|
return wrapper
|
qulab/fun.cpython-312-darwin.so
CHANGED
Binary file
|
qulab/version.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "2.7.
|
1
|
+
__version__ = "2.7.4"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|