qe-api-client 1.1.0__tar.gz → 2.0.0__tar.gz

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.
Files changed (34) hide show
  1. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/PKG-INFO +26 -6
  2. qe_api_client-2.0.0/README.md +50 -0
  3. qe_api_client-2.0.0/qe_api_client/api_classes/__init__.py +0 -0
  4. {qe_api_client-1.1.0/qe_api_client → qe_api_client-2.0.0/qe_api_client/api_classes}/engine_app_api.py +247 -327
  5. qe_api_client-2.0.0/qe_api_client/api_classes/engine_field_api.py +127 -0
  6. qe_api_client-2.0.0/qe_api_client/api_classes/engine_generic_dimension_api.py +38 -0
  7. qe_api_client-2.0.0/qe_api_client/api_classes/engine_generic_measure_api.py +37 -0
  8. qe_api_client-2.0.0/qe_api_client/api_classes/engine_generic_object_api.py +163 -0
  9. qe_api_client-2.0.0/qe_api_client/api_classes/engine_generic_variable_api.py +56 -0
  10. {qe_api_client-1.1.0/qe_api_client → qe_api_client-2.0.0/qe_api_client/api_classes}/engine_global_api.py +291 -145
  11. qe_api_client-2.0.0/qe_api_client/engine.py +301 -0
  12. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client/engine_helper.py +8 -8
  13. qe_api_client-2.0.0/qe_api_client/structs.py +81 -0
  14. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client.egg-info/PKG-INFO +26 -6
  15. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client.egg-info/SOURCES.txt +8 -5
  16. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/setup.py +1 -1
  17. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/test/test_app_api.py +19 -19
  18. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/test/test_field_api.py +13 -13
  19. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/test/test_global_api.py +9 -9
  20. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/test/test_pyqlikengine.py +1 -1
  21. qe_api_client-1.1.0/README.md +0 -30
  22. qe_api_client-1.1.0/qe_api_client/engine.py +0 -148
  23. qe_api_client-1.1.0/qe_api_client/engine_field_api.py +0 -81
  24. qe_api_client-1.1.0/qe_api_client/engine_generic_object_api.py +0 -101
  25. qe_api_client-1.1.0/qe_api_client/engine_generic_variable_api.py +0 -24
  26. qe_api_client-1.1.0/qe_api_client/structs.py +0 -107
  27. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/LICENSE +0 -0
  28. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client/__init__.py +0 -0
  29. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client/engine_communicator.py +0 -0
  30. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client.egg-info/dependency_links.txt +0 -0
  31. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client.egg-info/requires.txt +0 -0
  32. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/qe_api_client.egg-info/top_level.txt +0 -0
  33. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/setup.cfg +0 -0
  34. {qe_api_client-1.1.0 → qe_api_client-2.0.0}/test/test_labs.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: qe-api-client
3
- Version: 1.1.0
3
+ Version: 2.0.0
4
4
  Summary: Python wrapper around Qlik Engine JSON API
5
5
  Home-page: https://github.com/lr-bicc/qe-api-client
6
6
  Author: Rumen Vasilev
@@ -13,7 +13,7 @@ Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
14
  Requires-Dist: websocket-client>=0.47.0
15
15
 
16
- # pyqlikengine
16
+ # Qlik Engine API Client
17
17
 
18
18
  Python wrapper around [Qlik Engine JSON API](https://help.qlik.com/en-US/sense-developer/February2024/Subsystems/EngineAPI/Content/Sense_EngineAPI/introducing-engine-API.htm)
19
19
 
@@ -23,10 +23,15 @@ Forked from [jhettler/pyqlikengine](https://github.com/jhettler/pyqlikengine)
23
23
  * Python 3.6+
24
24
  * websocket-client>=0.47.0
25
25
 
26
- ## Example of usage
26
+ ## Installation
27
27
  ```bash
28
28
  pip install qe-api-client
29
29
  ```
30
+
31
+ ## Example of usage on Qlik Sense Enterprise Server
32
+ You need to export the Qlik Sense certificates in PEM format from the Qlik Sense Enterprise server to a local folder in
33
+ order to authenticate on the server.
34
+
30
35
  ```python
31
36
  from qe_api_client.engine import QixEngine
32
37
 
@@ -36,10 +41,25 @@ user_id = 'sense'
36
41
  ca_certs = 'qlik_certs/qlik-1_root.pem'
37
42
  certfile = 'qlik_certs/qlik-1_client.pem'
38
43
  keyfile = 'qlik_certs/qlik-1_client_key.pem'
39
- qixe = QixEngine(url=url, user_directory=user_directory,
40
- user_id=user_id, ca_certs=ca_certs,
41
- certfile=certfile, keyfile=keyfile)
44
+ qixe = QixEngine(url=url, user_directory=user_directory, user_id=user_id, ca_certs=ca_certs, certfile=certfile,
45
+ keyfile=keyfile)
46
+
47
+ # print all apps in Qlik Server
48
+ print(qixe.ega.get_doc_list())
49
+ ```
50
+
51
+ ## Example of usage on Qlik Sense Desktop
52
+ You need to start your Qlik Sense Desktop client on your local PC.
53
+
54
+ ```python
55
+ from qe_api_client.engine import QixEngine
56
+
57
+ url = 'ws://localhost:4848/app'
58
+ qixe = QixEngine(url=url)
42
59
 
43
60
  # print all apps in Qlik Server
44
61
  print(qixe.ega.get_doc_list())
45
62
  ```
63
+
64
+ ## API reference
65
+ Please click on this [link](https://lr-bicc.github.io/qe-api-client) for full API reference documentation .
@@ -0,0 +1,50 @@
1
+ # Qlik Engine API Client
2
+
3
+ Python wrapper around [Qlik Engine JSON API](https://help.qlik.com/en-US/sense-developer/February2024/Subsystems/EngineAPI/Content/Sense_EngineAPI/introducing-engine-API.htm)
4
+
5
+ Forked from [jhettler/pyqlikengine](https://github.com/jhettler/pyqlikengine)
6
+
7
+ ## Requirements
8
+ * Python 3.6+
9
+ * websocket-client>=0.47.0
10
+
11
+ ## Installation
12
+ ```bash
13
+ pip install qe-api-client
14
+ ```
15
+
16
+ ## Example of usage on Qlik Sense Enterprise Server
17
+ You need to export the Qlik Sense certificates in PEM format from the Qlik Sense Enterprise server to a local folder in
18
+ order to authenticate on the server.
19
+
20
+ ```python
21
+ from qe_api_client.engine import QixEngine
22
+
23
+ url = 'qlik-1.ad.xxx.xxx'
24
+ user_directory = 'UserDomainToQlikLogin'
25
+ user_id = 'sense'
26
+ ca_certs = 'qlik_certs/qlik-1_root.pem'
27
+ certfile = 'qlik_certs/qlik-1_client.pem'
28
+ keyfile = 'qlik_certs/qlik-1_client_key.pem'
29
+ qixe = QixEngine(url=url, user_directory=user_directory, user_id=user_id, ca_certs=ca_certs, certfile=certfile,
30
+ keyfile=keyfile)
31
+
32
+ # print all apps in Qlik Server
33
+ print(qixe.ega.get_doc_list())
34
+ ```
35
+
36
+ ## Example of usage on Qlik Sense Desktop
37
+ You need to start your Qlik Sense Desktop client on your local PC.
38
+
39
+ ```python
40
+ from qe_api_client.engine import QixEngine
41
+
42
+ url = 'ws://localhost:4848/app'
43
+ qixe = QixEngine(url=url)
44
+
45
+ # print all apps in Qlik Server
46
+ print(qixe.ega.get_doc_list())
47
+ ```
48
+
49
+ ## API reference
50
+ Please click on this [link](https://lr-bicc.github.io/qe-api-client) for full API reference documentation .