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
Copy file name to clipboardExpand all lines: README.md
+32-14Lines changed: 32 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Kepware Configuration API SDK for Python
2
2
3
-
This is a package SDK to create Python modules to conduct operations with the Kepware Configuration API.
3
+
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).
4
4
5
5
## Prerequisites
6
6
@@ -12,24 +12,38 @@ The client libraries are supported on Python 3.6 or later. All HTTP communicatio
12
12
13
13
SDK allows for *GET*, *ADD*, *DELETE*, and *MODIFY* functions for the following Kepware configuration objects:
14
14
15
-
-**Project Properties***(Get and Modify Only)*
16
-
-**Connectivity***(Channel, Devices, Tags, Tag Groups)*
17
-
-**IoT Gateway***(Agents, IoT Items)*
15
+
| Features | TKS/KEP | TKE |
16
+
| :----------: | :----------: | :----------: |
17
+
|**Project Properties** <br /> *(Get and Modify Only)*| Y | Y |
18
+
|**Connectivity** <br /> *(Channel, Devices, Tags, Tag Groups)*| Y | Y |
19
+
|**IoT Gateway** <br /> *(Agents, IoT Items)*| Y | Y |
20
+
|**Datalogger** <br /> *(Log Groups, Items, Mapping, Triggers, Reset Mapping Service)*| Y | Y |
21
+
|**Administration** <br /> *(User Groups, Users, UA Endpoints)*| Y*| Y |
22
+
23
+
Note (*) - UA Endpoints supported for Kepware Edge only
18
24
19
25
Methods to read the following logs:
20
26
21
-
-**Event Log**
22
-
-**API Transaction Log**
27
+
| Logs | TKS/KEP | TKE |
28
+
| :----------: | :----------: | :----------: |
29
+
|**Event Log**| Y | Y |
30
+
|**API Transaction Log**| Y | Y |
31
+
32
+
Configuration API *Services* implemented:
33
+
34
+
| Services | TKS/KEP | TKE |
35
+
| :----------: | :----------: | :----------: |
36
+
|**TagGeneration** <br /> *(not supported by all drivers)*| Y | Y |
37
+
|**ReinitializeRuntime**| Y*| Y |
23
38
24
-
Additionally the following *Services* are implemented:
39
+
Note (*) - Reinitialize service was implemented for Kepware Server v6.8+
25
40
26
-
-**TagGeneration***(not supported by all drivers)*
27
-
-**ReinitializeRuntime***(Thingworx Kepware Edge and Kepware Server 6.8+)*
41
+
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)
28
42
29
43
## Known Limitations
30
44
31
45
- Other property configruation for more complex drivers are not explicitly defined
32
-
- Other supported plug-ins (Datalogger, Scheduler, etc) are not defined
46
+
- Other supported plug-ins (EFM Exporter, Scheduler, etc) are not defined
33
47
- 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.
NOTE: Samples can also be found in the [samples](samples) folder.
60
+
45
61
### Create server connection
46
62
47
63
```python
@@ -54,7 +70,7 @@ server = connection.server(host = '127.0.0.1', port = 57412, user = 'Administrat
54
70
55
71
```
56
72
57
-
For certificate validation, the SDK uses the OS/systems trusted CA certificate store. The connection leverages uses the "create_default_context()" function as part of urllib as described at the following links:
73
+
For certificate validation, the SDK uses the OS/systems trusted CA certificate store. The connection uses the "create_default_context()" function as part of urllib as described at the following links:
0 commit comments