You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a package SDK to create Python modules to conduct operations with the Kepware Configuration API. This package is designed to work with all versions of Kepware that support the Configuration API including Thingworx Kepware Server (TKS), Thingworx Kepware Edge (TKE) and KEPServerEX (KEP).
5
+
This is a package to help create Python applications to conduct operations with the Kepware Configuration API. This package is designed to work with all versions of Kepware that support the Configuration API including Thingworx Kepware Server (TKS), Thingworx Kepware Edge (TKE) and KEPServerEX (KEP).
6
6
7
7
## Prerequisites
8
8
9
-
The client libraries are supported on Python 3.6 or later. All HTTP communication is handled by the [urllib](https://docs.python.org/3.6/library/urllib.html#module-urllib) Python standard library.
9
+
Package supported and tested on Python 3.9 or later. Older versions support earlier Python 3 environments but have less functionality. All HTTP communication is handled by the [urllib](https://docs.python.org/3/library/urllib.html#module-urllib) Python standard library.
10
10
11
11
## Features
12
12
@@ -21,14 +21,17 @@ SDK allows for *GET*, *ADD*, *DELETE*, and *MODIFY* functions for the following
21
21
|**IoT Gateway** <br /> *(Agents, IoT Items)*| Y | Y |
22
22
|**Datalogger** <br /> *(Log Groups, Items, Mapping, Triggers, Reset Mapping Service)*| Y | Y |
23
23
|**Administration** <br /> *(User Groups, Users, UA Endpoints, Local License Server)*| Y*| Y |
24
+
|**Product Info and Health Status\*\***| Y | Y |
24
25
25
-
Note (*) - UA Endpoints and Local License Server supported for Kepware Edge only
26
+
- Note (*) - UA Endpoints and Local License Server supported for Kepware Edge only
27
+
- Note (**) - Added to Kepware Server v6.13 / Kepware Edge v1.5 and later builds
26
28
27
29
Driver specific features:
28
30
29
31
| Driver | Features |
30
32
| :----------: | :----------: |
31
33
|GE Ethernet Global Data|Exchanges, Ranges and Name Resolutions|
34
+
|Universal Device Driver|Profile Library|
32
35
33
36
Methods to read the following logs:
34
37
@@ -41,16 +44,19 @@ Configuration API *Services* implemented:
41
44
42
45
| Services | TKS/KEP | TKE |
43
46
| :----------: | :----------: | :----------: |
44
-
|**TagGeneration**<br />*(for supported drivers)*| Y | Y |
47
+
|**TagGeneration**<br />*(for supported drivers)*| Y | Y |
45
48
|**ReinitializeRuntime**| Y*| Y |
49
+
|**ProjectLoad and ProjectSave**| Y | Y |
46
50
47
51
Note (*) - Reinitialize service was implemented for Kepware Server v6.8+
48
52
49
-
Generic REST methods are provided to use for functions not developed in SDK package. These are found in the Server Class in [connection.py](/kepconfig/connection.py)
53
+
Filtering, sorting and pagination query options are added for any collections methods (ex: get_all_devices() or get_all_channel()).
54
+
55
+
Generic REST methods are provided to use for functions not developed in SDK package. These are found in the Server Class in [connection.py](./kepconfig/connection.py)
50
56
51
57
## Known Limitations
52
58
53
-
- Other property configuration for more complex drivers with objects besides channels, devices, tags and tag groups are not explicitly defined
59
+
- Other property configuration for more complex drivers with objects besides channels, devices, tags and tag groups are not always explicitly defined
54
60
- Other supported plug-ins (EFM Exporter, Scheduler, etc) are not defined
55
61
- When using hostnames (not IP addresses) for connections, delays may occur under certain network configurations as the connection may attempt IPv6 connections first. IPv6 is not supported by Kepware servers at this time.
56
62
@@ -64,7 +70,7 @@ Package can be installed with `pip` using the following:
64
70
65
71
## Key Concepts
66
72
67
-
NOTE: Samples can also be found in the [samples](samples) folder.
73
+
NOTE: Detailed examples can also be found in the [examples](./examples/) folder.
68
74
69
75
### Create server connection
70
76
@@ -74,7 +80,7 @@ import kepconfig.connection
74
80
server = connection.server(host='127.0.0.1', port=57412, user='Administrator', pw='')
75
81
76
82
# For HTTPS connections:
77
-
server = connection.server(host='127.0.0.1', port=57412, user='Administrator', pw='', https=True)
83
+
server = connection.server(host='127.0.0.1', port=57512, user='Administrator', pw='', https=True)
78
84
79
85
```
80
86
@@ -124,5 +130,4 @@ result = tag.add_tag(server, tag_path, tag_info))
124
130
**Visit:**
125
131
126
132
-[Kepware.com](https://www.kepware.com/)
127
-
-[Configuration API Info](https://www.kepware.com/en-us/products/kepserverex/features/configuration-api/)
0 commit comments