kcl-lib 0.11.0__cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.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.
- kcl_lib/__init__.py +1 -0
- kcl_lib/_kcl_lib.cpython-313-aarch64-linux-gnu.so +0 -0
- kcl_lib/api/__init__.py +137 -0
- kcl_lib/api/service.py +764 -0
- kcl_lib/api/spec_pb2.py +218 -0
- kcl_lib/api/spec_pb2.pyi +1164 -0
- kcl_lib/plugin/__init__.py +3 -0
- kcl_lib/plugin/plugin.py +82 -0
- kcl_lib-0.11.0.dist-info/METADATA +720 -0
- kcl_lib-0.11.0.dist-info/RECORD +11 -0
- kcl_lib-0.11.0.dist-info/WHEEL +4 -0
kcl_lib/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
from ._kcl_lib import *
|
|
Binary file
|
kcl_lib/api/__init__.py
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
"""KCL Python API"""
|
|
2
|
+
|
|
3
|
+
from .spec_pb2 import (
|
|
4
|
+
ExternalPkg,
|
|
5
|
+
Argument,
|
|
6
|
+
Error,
|
|
7
|
+
Message,
|
|
8
|
+
Ping_Args,
|
|
9
|
+
Ping_Result,
|
|
10
|
+
GetVersion_Args,
|
|
11
|
+
GetVersion_Result,
|
|
12
|
+
ListMethod_Args,
|
|
13
|
+
ListMethod_Result,
|
|
14
|
+
ParseFile_Args,
|
|
15
|
+
ParseFile_Result,
|
|
16
|
+
ParseProgram_Args,
|
|
17
|
+
ParseProgram_Result,
|
|
18
|
+
LoadPackage_Args,
|
|
19
|
+
LoadPackage_Result,
|
|
20
|
+
ListOptions_Result,
|
|
21
|
+
OptionHelp,
|
|
22
|
+
Symbol,
|
|
23
|
+
Scope,
|
|
24
|
+
SymbolIndex,
|
|
25
|
+
ScopeIndex,
|
|
26
|
+
ExecProgram_Args,
|
|
27
|
+
ExecProgram_Result,
|
|
28
|
+
BuildProgram_Args,
|
|
29
|
+
BuildProgram_Result,
|
|
30
|
+
ExecArtifact_Args,
|
|
31
|
+
FormatCode_Args,
|
|
32
|
+
FormatCode_Result,
|
|
33
|
+
FormatPath_Args,
|
|
34
|
+
FormatPath_Result,
|
|
35
|
+
LintPath_Args,
|
|
36
|
+
LintPath_Result,
|
|
37
|
+
OverrideFile_Args,
|
|
38
|
+
OverrideFile_Result,
|
|
39
|
+
ListVariables_Options,
|
|
40
|
+
VariableList,
|
|
41
|
+
ListVariables_Args,
|
|
42
|
+
ListVariables_Result,
|
|
43
|
+
Variable,
|
|
44
|
+
MapEntry,
|
|
45
|
+
GetSchemaTypeMapping_Args,
|
|
46
|
+
GetSchemaTypeMapping_Result,
|
|
47
|
+
ValidateCode_Args,
|
|
48
|
+
ValidateCode_Result,
|
|
49
|
+
Position,
|
|
50
|
+
ListDepFiles_Args,
|
|
51
|
+
ListDepFiles_Result,
|
|
52
|
+
LoadSettingsFiles_Args,
|
|
53
|
+
LoadSettingsFiles_Result,
|
|
54
|
+
CliConfig,
|
|
55
|
+
KeyValuePair,
|
|
56
|
+
Rename_Args,
|
|
57
|
+
Rename_Result,
|
|
58
|
+
RenameCode_Args,
|
|
59
|
+
RenameCode_Result,
|
|
60
|
+
Test_Args,
|
|
61
|
+
Test_Result,
|
|
62
|
+
TestCaseInfo,
|
|
63
|
+
UpdateDependencies_Args,
|
|
64
|
+
UpdateDependencies_Result,
|
|
65
|
+
KclType,
|
|
66
|
+
Decorator,
|
|
67
|
+
Example,
|
|
68
|
+
)
|
|
69
|
+
from .service import API
|
|
70
|
+
|
|
71
|
+
__all__ = [
|
|
72
|
+
"API",
|
|
73
|
+
"ExternalPkg",
|
|
74
|
+
"Argument",
|
|
75
|
+
"Error",
|
|
76
|
+
"Message",
|
|
77
|
+
"Ping_Args",
|
|
78
|
+
"Ping_Result",
|
|
79
|
+
"GetVersion_Args",
|
|
80
|
+
"GetVersion_Result",
|
|
81
|
+
"ListMethod_Args",
|
|
82
|
+
"ListMethod_Result",
|
|
83
|
+
"ParseFile_Args",
|
|
84
|
+
"ParseFile_Result",
|
|
85
|
+
"ParseProgram_Args",
|
|
86
|
+
"ParseProgram_Result",
|
|
87
|
+
"LoadPackage_Args",
|
|
88
|
+
"LoadPackage_Result",
|
|
89
|
+
"ListOptions_Result",
|
|
90
|
+
"OptionHelp",
|
|
91
|
+
"Symbol",
|
|
92
|
+
"Scope",
|
|
93
|
+
"SymbolIndex",
|
|
94
|
+
"ScopeIndex",
|
|
95
|
+
"ExecProgram_Args",
|
|
96
|
+
"ExecProgram_Result",
|
|
97
|
+
"BuildProgram_Args",
|
|
98
|
+
"BuildProgram_Result",
|
|
99
|
+
"ExecArtifact_Args",
|
|
100
|
+
"FormatCode_Args",
|
|
101
|
+
"FormatCode_Result",
|
|
102
|
+
"FormatPath_Args",
|
|
103
|
+
"FormatPath_Result",
|
|
104
|
+
"LintPath_Args",
|
|
105
|
+
"LintPath_Result",
|
|
106
|
+
"OverrideFile_Args",
|
|
107
|
+
"OverrideFile_Result",
|
|
108
|
+
"ListVariables_Options",
|
|
109
|
+
"VariableList",
|
|
110
|
+
"ListVariables_Args",
|
|
111
|
+
"ListVariables_Result",
|
|
112
|
+
"Variable",
|
|
113
|
+
"MapEntry",
|
|
114
|
+
"GetSchemaTypeMapping_Args",
|
|
115
|
+
"GetSchemaTypeMapping_Result",
|
|
116
|
+
"ValidateCode_Args",
|
|
117
|
+
"ValidateCode_Result",
|
|
118
|
+
"Position",
|
|
119
|
+
"ListDepFiles_Args",
|
|
120
|
+
"ListDepFiles_Result",
|
|
121
|
+
"LoadSettingsFiles_Args",
|
|
122
|
+
"LoadSettingsFiles_Result",
|
|
123
|
+
"CliConfig",
|
|
124
|
+
"KeyValuePair",
|
|
125
|
+
"Rename_Args",
|
|
126
|
+
"Rename_Result",
|
|
127
|
+
"RenameCode_Args",
|
|
128
|
+
"RenameCode_Result",
|
|
129
|
+
"Test_Args",
|
|
130
|
+
"Test_Result",
|
|
131
|
+
"TestCaseInfo",
|
|
132
|
+
"UpdateDependencies_Args",
|
|
133
|
+
"UpdateDependencies_Result",
|
|
134
|
+
"KclType",
|
|
135
|
+
"Decorator",
|
|
136
|
+
"Example",
|
|
137
|
+
]
|