kcl-lib 0.12.2__cp38-cp38-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-38-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 +247 -0
- kcl_lib/api/spec_pb2.pyi +1169 -0
- kcl_lib/plugin/__init__.py +3 -0
- kcl_lib/plugin/plugin.py +82 -0
- kcl_lib-0.12.2.dist-info/METADATA +19 -0
- kcl_lib-0.12.2.dist-info/RECORD +11 -0
- kcl_lib-0.12.2.dist-info/WHEEL +5 -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
|
+
PingArgs,
|
|
9
|
+
PingResult,
|
|
10
|
+
GetVersionArgs,
|
|
11
|
+
GetVersionResult,
|
|
12
|
+
ListMethodArgs,
|
|
13
|
+
ListMethodResult,
|
|
14
|
+
ParseFileArgs,
|
|
15
|
+
ParseFileResult,
|
|
16
|
+
ParseProgramArgs,
|
|
17
|
+
ParseProgramResult,
|
|
18
|
+
LoadPackageArgs,
|
|
19
|
+
LoadPackageResult,
|
|
20
|
+
ListOptionsResult,
|
|
21
|
+
OptionHelp,
|
|
22
|
+
Symbol,
|
|
23
|
+
Scope,
|
|
24
|
+
SymbolIndex,
|
|
25
|
+
ScopeIndex,
|
|
26
|
+
ExecProgramArgs,
|
|
27
|
+
ExecProgramResult,
|
|
28
|
+
BuildProgramArgs,
|
|
29
|
+
BuildProgramResult,
|
|
30
|
+
ExecArtifactArgs,
|
|
31
|
+
FormatCodeArgs,
|
|
32
|
+
FormatCodeResult,
|
|
33
|
+
FormatPathArgs,
|
|
34
|
+
FormatPathResult,
|
|
35
|
+
LintPathArgs,
|
|
36
|
+
LintPathResult,
|
|
37
|
+
OverrideFileArgs,
|
|
38
|
+
OverrideFileResult,
|
|
39
|
+
ListVariablesOptions,
|
|
40
|
+
VariableList,
|
|
41
|
+
ListVariablesArgs,
|
|
42
|
+
ListVariablesResult,
|
|
43
|
+
Variable,
|
|
44
|
+
MapEntry,
|
|
45
|
+
GetSchemaTypeMappingArgs,
|
|
46
|
+
GetSchemaTypeMappingResult,
|
|
47
|
+
ValidateCodeArgs,
|
|
48
|
+
ValidateCodeResult,
|
|
49
|
+
Position,
|
|
50
|
+
ListDepFilesArgs,
|
|
51
|
+
ListDepFilesResult,
|
|
52
|
+
LoadSettingsFilesArgs,
|
|
53
|
+
LoadSettingsFilesResult,
|
|
54
|
+
CliConfig,
|
|
55
|
+
KeyValuePair,
|
|
56
|
+
RenameArgs,
|
|
57
|
+
RenameResult,
|
|
58
|
+
RenameCodeArgs,
|
|
59
|
+
RenameCodeResult,
|
|
60
|
+
TestArgs,
|
|
61
|
+
TestResult,
|
|
62
|
+
TestCaseInfo,
|
|
63
|
+
UpdateDependenciesArgs,
|
|
64
|
+
UpdateDependenciesResult,
|
|
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
|
+
"PingArgs",
|
|
78
|
+
"PingResult",
|
|
79
|
+
"GetVersionArgs",
|
|
80
|
+
"GetVersionResult",
|
|
81
|
+
"ListMethodArgs",
|
|
82
|
+
"ListMethodResult",
|
|
83
|
+
"ParseFileArgs",
|
|
84
|
+
"ParseFileResult",
|
|
85
|
+
"ParseProgramArgs",
|
|
86
|
+
"ParseProgramResult",
|
|
87
|
+
"LoadPackageArgs",
|
|
88
|
+
"LoadPackageResult",
|
|
89
|
+
"ListOptionsResult",
|
|
90
|
+
"OptionHelp",
|
|
91
|
+
"Symbol",
|
|
92
|
+
"Scope",
|
|
93
|
+
"SymbolIndex",
|
|
94
|
+
"ScopeIndex",
|
|
95
|
+
"ExecProgramArgs",
|
|
96
|
+
"ExecProgramResult",
|
|
97
|
+
"BuildProgramArgs",
|
|
98
|
+
"BuildProgramResult",
|
|
99
|
+
"ExecArtifactArgs",
|
|
100
|
+
"FormatCodeArgs",
|
|
101
|
+
"FormatCodeResult",
|
|
102
|
+
"FormatPathArgs",
|
|
103
|
+
"FormatPathResult",
|
|
104
|
+
"LintPathArgs",
|
|
105
|
+
"LintPathResult",
|
|
106
|
+
"OverrideFileArgs",
|
|
107
|
+
"OverrideFileResult",
|
|
108
|
+
"ListVariablesOptions",
|
|
109
|
+
"VariableList",
|
|
110
|
+
"ListVariablesArgs",
|
|
111
|
+
"ListVariablesResult",
|
|
112
|
+
"Variable",
|
|
113
|
+
"MapEntry",
|
|
114
|
+
"GetSchemaTypeMappingArgs",
|
|
115
|
+
"GetSchemaTypeMappingResult",
|
|
116
|
+
"ValidateCodeArgs",
|
|
117
|
+
"ValidateCodeResult",
|
|
118
|
+
"Position",
|
|
119
|
+
"ListDepFilesArgs",
|
|
120
|
+
"ListDepFilesResult",
|
|
121
|
+
"LoadSettingsFilesArgs",
|
|
122
|
+
"LoadSettingsFilesResult",
|
|
123
|
+
"CliConfig",
|
|
124
|
+
"KeyValuePair",
|
|
125
|
+
"RenameArgs",
|
|
126
|
+
"RenameResult",
|
|
127
|
+
"RenameCodeArgs",
|
|
128
|
+
"RenameCodeResult",
|
|
129
|
+
"TestArgs",
|
|
130
|
+
"TestResult",
|
|
131
|
+
"TestCaseInfo",
|
|
132
|
+
"UpdateDependenciesArgs",
|
|
133
|
+
"UpdateDependenciesResult",
|
|
134
|
+
"KclType",
|
|
135
|
+
"Decorator",
|
|
136
|
+
"Example",
|
|
137
|
+
]
|