qe-api-client 1.2.0__py3-none-any.whl → 2.1.0__py3-none-any.whl

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.
@@ -0,0 +1,18 @@
1
+ qe_api_client/__init__.py,sha256=bypB4CIjpHtf5Pu_NwtJajC69zqQD7qB9jo8cCX0B54,23
2
+ qe_api_client/engine.py,sha256=3x1bP79kdEIuvXpY3PE0MAMx9E9bKkMDOxQrPNIiWAk,14746
3
+ qe_api_client/engine_communicator.py,sha256=Va8Kz4cN6uyKLzV3JllBw08KbU4uDn8e-5pIm5Kmsfs,1291
4
+ qe_api_client/engine_helper.py,sha256=DSZR92-pGqklzki53QufgGr9tUTKKXZyF_fHEfXokTs,2382
5
+ qe_api_client/structs.py,sha256=yNca4rQjc_AfchsEso047JvBBpLZqRPIiS-SbxXcNfs,3157
6
+ qe_api_client/api_classes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ qe_api_client/api_classes/engine_app_api.py,sha256=6SK-aE6gHgrNvd_VunCvdh1HHe1y2wYo3NO9KhCPXd8,38306
8
+ qe_api_client/api_classes/engine_field_api.py,sha256=KiFhs2ev3S-92JklWzIVtfTEZ1oCiHEAanm1AXtV38s,4407
9
+ qe_api_client/api_classes/engine_generic_dimension_api.py,sha256=1joTET6GWCTW-80wafrajLQuMyFwIPp0QKoILyLdP1U,1377
10
+ qe_api_client/api_classes/engine_generic_measure_api.py,sha256=zbRYRA99LQS9SY3QVgoUABqgVDRPwBQ8o2ZbESVEsHE,1321
11
+ qe_api_client/api_classes/engine_generic_object_api.py,sha256=nqsEtvKkt5XkUEIVUoBtNVXtmUvuifxrgTcw2fDuaOE,8218
12
+ qe_api_client/api_classes/engine_generic_variable_api.py,sha256=sWXZpE-GLfcMijmfORnDNrJ6lmXX3x5TRHlkEu_i0BQ,2027
13
+ qe_api_client/api_classes/engine_global_api.py,sha256=SdzhIP6Isco83xB1Y6y3LHKv-HjBTS_iMh-QdVYAl4g,27499
14
+ qe_api_client-2.1.0.dist-info/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
15
+ qe_api_client-2.1.0.dist-info/METADATA,sha256=p4TqYcNoSN8CR6IHV9ITawbNwOnD-LWZi6756JLDoWU,1995
16
+ qe_api_client-2.1.0.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
17
+ qe_api_client-2.1.0.dist-info/top_level.txt,sha256=m_43YagP8UtZgJHmZEfu0vlBNwt36M01-Qby2jByMnk,14
18
+ qe_api_client-2.1.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (71.1.0)
2
+ Generator: setuptools (75.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,81 +0,0 @@
1
- import json
2
-
3
-
4
- class EngineFieldApi:
5
-
6
- def __init__(self, socket):
7
- self.engine_socket = socket
8
-
9
- def select(self, fld_handle, value):
10
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": fld_handle,
11
- "method": "Select",
12
- "params": [value, False, 0]})
13
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
14
- msg)
15
- )
16
- try:
17
- return response
18
- except KeyError:
19
- return response["error"]
20
-
21
- def select_values(self, fld_handle, values=None):
22
- if values is None:
23
- values = []
24
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": fld_handle,
25
- "method": "SelectValues",
26
- "params": [values, False, False]})
27
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
28
- msg)
29
- )
30
- try:
31
- return response
32
- except KeyError:
33
- return response["error"]
34
-
35
- def select_excluded(self, fld_handle):
36
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": fld_handle,
37
- "method": "SelectExcluded",
38
- "params": []})
39
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
40
- msg)
41
- )
42
- try:
43
- return response["result"]
44
- except KeyError:
45
- return response["error"]
46
-
47
- def select_possible(self, fld_handle):
48
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": fld_handle,
49
- "method": "SelectPossible",
50
- "params": []})
51
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
52
- msg)
53
- )
54
- try:
55
- return response["result"]
56
- except KeyError:
57
- return response["error"]
58
-
59
- def clear(self, fld_handle):
60
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": fld_handle,
61
- "method": "Clear",
62
- "params": []})
63
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
64
- msg)
65
- )
66
- try:
67
- return response["result"]
68
- except KeyError:
69
- return response["error"]
70
-
71
- def get_cardinal(self, fld_handle):
72
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": fld_handle,
73
- "method": "GetCardinal",
74
- "params": []})
75
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
76
- msg)
77
- )
78
- try:
79
- return response["result"]
80
- except KeyError:
81
- return response["error"]
@@ -1,16 +0,0 @@
1
- import json
2
-
3
-
4
- class EngineGenericDimensionApi:
5
-
6
- def __init__(self, socket):
7
- self.engine_socket = socket
8
-
9
- def get_dimension(self, handle, dimension_id):
10
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle, "method": "GetDimension",
11
- "params": {"qId": dimension_id}})
12
- response = json.loads(self.engine_socket.send_call(self.engine_socket, msg))
13
- try:
14
- return response["result"]["qReturn"]
15
- except KeyError:
16
- return response["error"]
@@ -1,15 +0,0 @@
1
- import json
2
-
3
-
4
- class EngineGenericMeasureApi:
5
-
6
- def __init__(self, socket):
7
- self.engine_socket = socket
8
-
9
- def get_measure(self, handle, measure_id):
10
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle, "method": "GetMeasure", "params": {"qId": measure_id}})
11
- response = json.loads(self.engine_socket.send_call(self.engine_socket, msg))
12
- try:
13
- return response["result"]["qReturn"]
14
- except KeyError:
15
- return response["error"]
@@ -1,101 +0,0 @@
1
- import json
2
-
3
-
4
- class EngineGenericObjectApi:
5
-
6
- def __init__(self, socket):
7
- self.engine_socket = socket
8
-
9
- def get_layout(self, handle):
10
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle,
11
- "method": "GetLayout", "params": []})
12
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
13
- msg)
14
- )
15
- try:
16
- return response["result"]["qLayout"]
17
- except KeyError:
18
- return response["error"]
19
-
20
- def get_full_property_tree(self, handle):
21
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle,
22
- "method": "GetFullPropertyTree", "params": []})
23
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
24
- msg)
25
- )
26
- try:
27
- return response["result"]
28
- except KeyError:
29
- return response["error"]
30
-
31
- def get_measure(self, handle, params):
32
- msg = json.dumps(
33
- {"jsonrpc": "2.0", "id": 0, "handle": handle,
34
- "method": "GetMeasure", "params": params})
35
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
36
- msg)
37
- )
38
- try:
39
- return response["result"]
40
- except KeyError:
41
- return response["error"]
42
-
43
- def get_dimension(self, handle, params):
44
- msg = json.dumps(
45
- {"jsonrpc": "2.0", "id": 0, "handle": handle,
46
- "method": "GetDimension", "params": params})
47
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
48
- msg)
49
- )
50
- try:
51
- return response["result"]
52
- except KeyError:
53
- return response["error"]
54
-
55
- def get_effective_properties(self, handle):
56
- msg = json.dumps(
57
- {"jsonrpc": "2.0", "id": 0, "handle": handle,
58
- "method": "GetEffectiveProperties", "params": {}})
59
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
60
- msg)
61
- )
62
- try:
63
- return response["result"]
64
- except KeyError:
65
- return response["error"]
66
-
67
- def get_hypercube_data(self, handle, path="/qHyperCubeDef", pages=[]):
68
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle,
69
- "method": "GetHyperCubeData",
70
- "params": [path, pages]})
71
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
72
- msg)
73
- )
74
- try:
75
- return response["result"]
76
- except KeyError:
77
- return response["error"]
78
-
79
- def get_hypercube_pivot_data(self, handle, path="/qHyperCubeDef", pages=[]):
80
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle,
81
- "method": "GetHyperCubePivotData",
82
- "params": [path, pages]})
83
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
84
- msg)
85
- )
86
- try:
87
- return response["result"]
88
- except KeyError:
89
- return response["error"]
90
-
91
- def get_list_object_data(self, handle, path="/qListObjectDef", pages=[]):
92
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle,
93
- "method": "GetListObjectData",
94
- "params": [path, pages]})
95
- response = json.loads(self.engine_socket.send_call(self.engine_socket,
96
- msg)
97
- )
98
- try:
99
- return response["result"]
100
- except KeyError:
101
- return response["error"]
@@ -1,24 +0,0 @@
1
- import json
2
-
3
-
4
- class EngineGenericVariableApi:
5
-
6
- def __init__(self, socket):
7
- self.engine_socket = socket
8
-
9
- def set_string_value(self, handle, str_val):
10
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle, "method": "SetStringValue",
11
- "params": {"qVal": str_val}})
12
- response = json.loads(self.engine_socket.send_call(self.engine_socket, msg))
13
- try:
14
- return response["result"]
15
- except KeyError:
16
- return response["error"]
17
-
18
- def get_properties(self, handle):
19
- msg = json.dumps({"jsonrpc": "2.0", "id": 0, "handle": handle, "method": "GetProperties", "params": {}})
20
- response = json.loads(self.engine_socket.send_call(self.engine_socket, msg))
21
- try:
22
- return response["result"]
23
- except KeyError:
24
- return response["error"]
@@ -1,17 +0,0 @@
1
- qe_api_client/__init__.py,sha256=bypB4CIjpHtf5Pu_NwtJajC69zqQD7qB9jo8cCX0B54,23
2
- qe_api_client/engine.py,sha256=zxdpfkod7xB4Qdr73g-4DxVAE5Svv2Lu0sSJNjnaxNU,7507
3
- qe_api_client/engine_app_api.py,sha256=_BE39CeNhe9j5wChMdObgz7-3WSKSYF9yx-nixpfzkw,40267
4
- qe_api_client/engine_communicator.py,sha256=Va8Kz4cN6uyKLzV3JllBw08KbU4uDn8e-5pIm5Kmsfs,1291
5
- qe_api_client/engine_field_api.py,sha256=7tqOQMYkm0g9eg3OuKvVyXN9Kr-VWDwsCODNb14jjfE,3157
6
- qe_api_client/engine_generic_dimension_api.py,sha256=734Sm9I3j3gfZ3jx_CDSupGVgpmMmCTs9lxYSJ2qXVM,534
7
- qe_api_client/engine_generic_measure_api.py,sha256=Vm94YTsLqFMuEEc2ZidtbjWSnejV6ffzc1CnquBrhC4,498
8
- qe_api_client/engine_generic_object_api.py,sha256=DRIglCYdyvO6jDO2JQILcoZ8vvv4qPEXV_6HxWSuo9w,4139
9
- qe_api_client/engine_generic_variable_api.py,sha256=mKew3p9dDDSpOl_iMfzPL5GM3FL1oOxHBm1Qp7xatP8,867
10
- qe_api_client/engine_global_api.py,sha256=sE2rvNFSvsk4RNFdPq8xBa1hFpFtwp2LdQDYD8Ot91c,20704
11
- qe_api_client/engine_helper.py,sha256=gxaTFU06YMGwXloxv3Sku6PbhDmTw_jEZdX9w-gfw5c,2337
12
- qe_api_client/structs.py,sha256=YHxIurQjmWWEZ-F3kZ_kQHkoWiVAqCpZB7k6hlioOxU,3709
13
- qe_api_client-1.2.0.dist-info/LICENSE,sha256=2bm9uFabQZ3Ykb_SaSU_uUbAj2-htc6WJQmS_65qD00,1073
14
- qe_api_client-1.2.0.dist-info/METADATA,sha256=Zv7knHJcYa0HZez0eHu6zJy48vF6mlKmZHJOt_qv8ns,1376
15
- qe_api_client-1.2.0.dist-info/WHEEL,sha256=Wyh-_nZ0DJYolHNn1_hMa4lM7uDedD_RGVwbmTjyItk,91
16
- qe_api_client-1.2.0.dist-info/top_level.txt,sha256=m_43YagP8UtZgJHmZEfu0vlBNwt36M01-Qby2jByMnk,14
17
- qe_api_client-1.2.0.dist-info/RECORD,,