kcl-lib 0.9.1__cp39-none-win_amd64.whl → 0.9.3__cp39-none-win_amd64.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.
Potentially problematic release.
This version of kcl-lib might be problematic. Click here for more details.
- kcl_lib/_kcl_lib.cp39-win_amd64.pyd +0 -0
- kcl_lib/api/__init__.py +135 -2
- kcl_lib/api/service.py +648 -42
- kcl_lib/api/spec_pb2.py +149 -148
- kcl_lib/api/spec_pb2.pyi +1164 -0
- kcl_lib-0.9.3.dist-info/METADATA +722 -0
- kcl_lib-0.9.3.dist-info/RECORD +11 -0
- kcl_lib-0.9.1.dist-info/METADATA +0 -72
- kcl_lib-0.9.1.dist-info/RECORD +0 -10
- {kcl_lib-0.9.1.dist-info → kcl_lib-0.9.3.dist-info}/WHEEL +0 -0
kcl_lib-0.9.1.dist-info/METADATA
DELETED
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.3
|
|
2
|
-
Name: kcl_lib
|
|
3
|
-
Version: 0.9.1
|
|
4
|
-
Classifier: Programming Language :: Rust
|
|
5
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
|
-
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
7
|
-
Requires-Dist: protobuf >=4.25.3
|
|
8
|
-
Requires-Dist: pdoc ; extra == 'docs'
|
|
9
|
-
Requires-Dist: ruff ; extra == 'lint'
|
|
10
|
-
Requires-Dist: pytest ; extra == 'test'
|
|
11
|
-
Provides-Extra: docs
|
|
12
|
-
Provides-Extra: lint
|
|
13
|
-
Provides-Extra: test
|
|
14
|
-
Summary: KCL Programming Language Python Lib
|
|
15
|
-
License: Apache-2.0
|
|
16
|
-
Requires-Python: >=3.7
|
|
17
|
-
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
18
|
-
Project-URL: Documentation, https://kcl-lang.io
|
|
19
|
-
Project-URL: Homepage, https://kcl-lang.io
|
|
20
|
-
Project-URL: Repository, https://github.com/kcl-lang/kcl
|
|
21
|
-
|
|
22
|
-
# KCL Artifact Library for Python
|
|
23
|
-
|
|
24
|
-
## Installation
|
|
25
|
-
|
|
26
|
-
```shell
|
|
27
|
-
python3 -m pip install kcl-lib
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## Quick Start
|
|
31
|
-
|
|
32
|
-
```python
|
|
33
|
-
import kcl_lib.api as api
|
|
34
|
-
|
|
35
|
-
args = api.ExecProgram_Args(k_filename_list=["./tests/test_data/schema.k"])
|
|
36
|
-
api = api.API()
|
|
37
|
-
result = api.exec_program(args)
|
|
38
|
-
print(result.yaml_result)
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Developing
|
|
42
|
-
|
|
43
|
-
Setup virtualenv:
|
|
44
|
-
|
|
45
|
-
```shell
|
|
46
|
-
python3 -m venv venv
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Activate venv:
|
|
50
|
-
|
|
51
|
-
```shell
|
|
52
|
-
source venv/bin/activate
|
|
53
|
-
```
|
|
54
|
-
|
|
55
|
-
Install maturin:
|
|
56
|
-
|
|
57
|
-
```shell
|
|
58
|
-
cargo install maturin
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
Build bindings:
|
|
62
|
-
|
|
63
|
-
```shell
|
|
64
|
-
maturin develop
|
|
65
|
-
```
|
|
66
|
-
|
|
67
|
-
Test
|
|
68
|
-
|
|
69
|
-
```shell
|
|
70
|
-
python3 -m pytest
|
|
71
|
-
```
|
|
72
|
-
|
kcl_lib-0.9.1.dist-info/RECORD
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
kcl_lib-0.9.1.dist-info/METADATA,sha256=y3o77u9LoYgYroNfJtdeagGgF30DCa-D2V9ydKW2g0s,1368
|
|
2
|
-
kcl_lib-0.9.1.dist-info/WHEEL,sha256=iLyJQhiiBYwo5FdZQS-97uaKimQdR9d5M5S1bVJlIxM,94
|
|
3
|
-
kcl_lib/api/service.py,sha256=wf9SMLFI1qmX9NbkoRrYK5h-oSE7uO0K6SyIy0_vr-0,8941
|
|
4
|
-
kcl_lib/api/spec_pb2.py,sha256=1kPHTfE7bZeGGnoADWHUsc0uNq8JuL6KPXilkp__9l4,28039
|
|
5
|
-
kcl_lib/api/__init__.py,sha256=6yAR-7jlAMBJVDVNukZ_0LeuM7NQWgjNo7yRTjGJLBg,72
|
|
6
|
-
kcl_lib/plugin/plugin.py,sha256=myBXT9NXmYp5lXHADUW96nmG3THSSQlpgWMOOxVjl3c,2587
|
|
7
|
-
kcl_lib/plugin/__init__.py,sha256=oWZbsj-_zmxLIcWpTWgGitEFCtiZphZUs2A3cazs720,128
|
|
8
|
-
kcl_lib/__init__.py,sha256=l3Vex1HIfcckzc9d23poK8cntz2zAnchQM4l6qbXluM,25
|
|
9
|
-
kcl_lib/_kcl_lib.cp39-win_amd64.pyd,sha256=4ZO3g8ZAid8wS4SIz3VZWGZRHV9VanTbbahJA8pJS-U,18836992
|
|
10
|
-
kcl_lib-0.9.1.dist-info/RECORD,,
|
|
File without changes
|