Skip to content

Commit f237919

Browse files
authored
Merge pull request #35 from PTCInc/1.3_dev
Kepconfig 1.3.0 release
2 parents 053f24f + 558fe4b commit f237919

53 files changed

Lines changed: 6494 additions & 632 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
#*.gitignore
99
*.pem
1010
_notes
11-
.vscode
11+
.vscode*
12+
.devcontainer*
1213

1314
_new*
1415
_test*

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) PTC Inc. and/or all its affiliates. All rights reserved.
3+
Copyright (c) 2019-2024 PTC Inc. and/or all its affiliates. All rights reserved.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Released Version](https://img.shields.io/pypi/v/kepconfig)](https://pypi.org/project/kepconfig) [![Supported Versions](https://img.shields.io/pypi/pyversions/kepconfig)](https://pypi.org/project/kepconfig) ![PyPI - Downloads](https://img.shields.io/pypi/dm/kepconfig) ![PyPI - License](https://img.shields.io/pypi/l/kepconfig)
44

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).
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). For reference, Kepware Server in this documentation will refer to both TKS and KEP versions.
66

77
**API reference documentation is available on [Github Pages](https://ptcinc.github.io/Kepware-ConfigAPI-SDK-Python)**
88

@@ -14,19 +14,23 @@ Package supported and tested on Python 3.9 or later. Older versions support earl
1414

1515
- Supports both HTTP and HTTPS connections with certificate validation options
1616

17-
SDK allows for *GET*, *ADD*, *DELETE*, and *MODIFY* functions for the following Kepware configuration objects:
17+
Package allows for *GET*, *ADD*, *DELETE*, and *MODIFY* functions for the following Kepware configuration objects:
1818

1919
| Features | TKS/KEP | TKE |
2020
| :----------: | :----------: | :----------: |
2121
| **Project Properties** <br /> *(Get and Modify Only)* | Y | Y |
2222
| **Connectivity** <br /> *(Channel, Devices, Tags, Tag Groups)* | Y | Y |
2323
| **IoT Gateway** <br /> *(Agents, IoT Items)* | Y | Y |
2424
| **Datalogger** <br /> *(Log Groups, Items, Mapping, Triggers, Reset Mapping Service)* | Y | Y |
25+
| **UA Gateway** <br /> *(Certificates, Server Endpoints, Client Connections, Server Interface parameters)* | Y*** | N |
2526
| **Administration** <br /> *(User Groups, Users, UA Endpoints, Local License Server)* | Y* | Y |
2627
| **Product Info and Health Status\*\*** | Y | Y |
28+
| **Import Project (via JsonProjectLoad Service) / Export Project\*\*\*\***| Y | Y |
2729

2830
- Note (*) - UA Endpoints and Local License Server supported for Kepware Edge only
2931
- Note (**) - Added to Kepware Server v6.13 / Kepware Edge v1.5 and later builds
32+
- Note (***) - TKS only v6.16 and later
33+
- Note (****) - Added to Kepware Server v6.17 / Kepware Edge v1.10 and later builds
3034

3135
Driver specific features:
3236

@@ -46,15 +50,18 @@ Configuration API *Services* implemented:
4650

4751
| Services | TKS/KEP | TKE |
4852
| :----------: | :----------: | :----------: |
49-
| **TagGeneration**<br />*(for supported drivers)* | Y | Y |
53+
| **TagGeneration** <br /> *(for supported drivers)* | Y | Y |
5054
| **ReinitializeRuntime** | Y* | Y |
5155
| **ProjectLoad and ProjectSave**| Y | Y |
56+
| **JsonProjectLoad\*\*** <br /> *(used for import project feature)*| Y | Y |
5257

5358
Note (*) - Reinitialize service was implemented for Kepware Server v6.8+
5459

55-
Filtering, sorting and pagination query options are added for any collections methods (ex: get_all_devices() or get_all_channel()).
60+
Note (**) - Added to Kepware Server v6.17 / Kepware Edge v1.10 and later builds
5661

57-
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)
62+
Filtering, sorting and pagination query options are added for any collections methods (ex: `get_all_devices()` or `get_all_channel()`).
63+
64+
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)
5865

5966
## Known Limitations
6067

@@ -72,9 +79,9 @@ Package can be installed with `pip` using the following:
7279

7380
## Key Concepts
7481

75-
NOTE: Detailed examples can also be found in the [examples](./examples/) folder.
82+
**NOTE:** Detailed examples can also be found in the [examples](./examples/) folder.
7683

77-
### Create server connection
84+
### Create server connection instance
7885

7986
```python
8087
from kepconfig import connection
@@ -86,13 +93,13 @@ server = connection.server(host = '127.0.0.1', port = 57512, user = 'Administrat
8693

8794
```
8895

89-
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:
96+
For certificate validation, the SDK uses the OS/systems trusted certificate store. The connection uses the `create_default_context()` function as part of urllib as described at the following links:
9097

9198
- [ssl.create_default_context](https://docs.python.org/3/library/ssl.html#ssl.create_default_context)
9299
- [ssl.SSLContext.load_default_certs](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.load_default_certs)
93100
- [set_default_verify_paths](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.set_default_verify_paths)
94101

95-
For Windows OSes, the Kepware server's instance certificate can be loaded into the hosts "Trusted Root Certificate Authorities" store.
102+
For Windows OSes, the Kepware Server's instance certificate can be loaded into the hosts "Trusted Root Certificate Authorities" store.
96103

97104
### Create an object
98105

@@ -131,5 +138,6 @@ result = tag.add_tag(server, tag_path, tag_info)
131138

132139
**Visit:**
133140

141+
- [Kepconfig Package Documentation on Github Pages](https://ptcinc.github.io/Kepware-ConfigAPI-SDK-Python)
134142
- [Kepware.com](https://www.kepware.com/)
135143
- [PTC.com](https://www.ptc.com/)

docs/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)