qe-api-client 1.2.0__tar.gz → 2.1.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.
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/PKG-INFO +26 -6
- qe_api_client-2.1.0/README.md +50 -0
- qe_api_client-2.1.0/qe_api_client/api_classes/__init__.py +0 -0
- {qe_api_client-1.2.0/qe_api_client → qe_api_client-2.1.0/qe_api_client/api_classes}/engine_app_api.py +249 -329
- qe_api_client-2.1.0/qe_api_client/api_classes/engine_field_api.py +127 -0
- qe_api_client-2.1.0/qe_api_client/api_classes/engine_generic_dimension_api.py +38 -0
- qe_api_client-2.1.0/qe_api_client/api_classes/engine_generic_measure_api.py +37 -0
- qe_api_client-2.1.0/qe_api_client/api_classes/engine_generic_object_api.py +180 -0
- qe_api_client-2.1.0/qe_api_client/api_classes/engine_generic_variable_api.py +56 -0
- {qe_api_client-1.2.0/qe_api_client → qe_api_client-2.1.0/qe_api_client/api_classes}/engine_global_api.py +286 -134
- qe_api_client-2.1.0/qe_api_client/engine.py +333 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client/engine_helper.py +15 -15
- qe_api_client-2.1.0/qe_api_client/structs.py +58 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client.egg-info/PKG-INFO +26 -6
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client.egg-info/SOURCES.txt +8 -7
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/setup.py +2 -2
- qe_api_client-2.1.0/test/test_app_api.py +81 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/test/test_field_api.py +10 -10
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/test/test_global_api.py +6 -6
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/test/test_pyqlikengine.py +1 -1
- qe_api_client-1.2.0/README.md +0 -30
- qe_api_client-1.2.0/qe_api_client/engine.py +0 -152
- qe_api_client-1.2.0/qe_api_client/engine_field_api.py +0 -81
- qe_api_client-1.2.0/qe_api_client/engine_generic_dimension_api.py +0 -16
- qe_api_client-1.2.0/qe_api_client/engine_generic_measure_api.py +0 -15
- qe_api_client-1.2.0/qe_api_client/engine_generic_object_api.py +0 -101
- qe_api_client-1.2.0/qe_api_client/engine_generic_variable_api.py +0 -24
- qe_api_client-1.2.0/qe_api_client/structs.py +0 -107
- qe_api_client-1.2.0/test/test_app_api.py +0 -102
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/LICENSE +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client/__init__.py +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client/engine_communicator.py +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client.egg-info/dependency_links.txt +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client.egg-info/requires.txt +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/qe_api_client.egg-info/top_level.txt +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.0}/setup.cfg +0 -0
- {qe_api_client-1.2.0 → qe_api_client-2.1.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.
|
3
|
+
Version: 2.1.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
|
-
#
|
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
|
-
##
|
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
|
-
|
41
|
-
|
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 .
|
File without changes
|