matlab-proxy 0.13.1__py3-none-any.whl → 0.14.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.
Potentially problematic release.
This version of matlab-proxy might be problematic. Click here for more details.
- matlab_proxy/app.py +27 -2
- matlab_proxy/gui/asset-manifest.json +3 -3
- matlab_proxy/gui/index.html +1 -1
- matlab_proxy/gui/static/js/{main.0fcee5e5.js → main.14aa7840.js} +3 -3
- matlab_proxy/gui/static/js/main.14aa7840.js.map +1 -0
- matlab_proxy/util/mw.py +4 -4
- matlab_proxy/util/mwi/embedded_connector/request.py +2 -2
- {matlab_proxy-0.13.1.dist-info → matlab_proxy-0.14.0.dist-info}/METADATA +2 -1
- {matlab_proxy-0.13.1.dist-info → matlab_proxy-0.14.0.dist-info}/RECORD +14 -14
- {matlab_proxy-0.13.1.dist-info → matlab_proxy-0.14.0.dist-info}/WHEEL +1 -1
- matlab_proxy/gui/static/js/main.0fcee5e5.js.map +0 -1
- /matlab_proxy/gui/static/js/{main.0fcee5e5.js.LICENSE.txt → main.14aa7840.js.LICENSE.txt} +0 -0
- {matlab_proxy-0.13.1.dist-info → matlab_proxy-0.14.0.dist-info}/LICENSE.md +0 -0
- {matlab_proxy-0.13.1.dist-info → matlab_proxy-0.14.0.dist-info}/entry_points.txt +0 -0
- {matlab_proxy-0.13.1.dist-info → matlab_proxy-0.14.0.dist-info}/top_level.txt +0 -0
matlab_proxy/util/mw.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright
|
|
1
|
+
# Copyright 2020-2024 The MathWorks, Inc.
|
|
2
2
|
|
|
3
3
|
import asyncio
|
|
4
4
|
import os
|
|
@@ -46,7 +46,7 @@ async def fetch_entitlements(mhlm_api_endpoint, access_token, matlab_release):
|
|
|
46
46
|
list: Representing a list of Dicts containing the id, label and license_number.
|
|
47
47
|
"""
|
|
48
48
|
# Get entitlements for token
|
|
49
|
-
async with aiohttp.ClientSession() as client_session:
|
|
49
|
+
async with aiohttp.ClientSession(trust_env=True) as client_session:
|
|
50
50
|
async with client_session.post(
|
|
51
51
|
mhlm_api_endpoint,
|
|
52
52
|
headers={"content-type": "application/x-www-form-urlencoded"},
|
|
@@ -99,7 +99,7 @@ async def fetch_expand_token(mwa_api_endpoint, identity_token, source_id):
|
|
|
99
99
|
Returns:
|
|
100
100
|
Dict: Containing User and License expiration details.
|
|
101
101
|
"""
|
|
102
|
-
async with aiohttp.ClientSession() as client_session:
|
|
102
|
+
async with aiohttp.ClientSession(trust_env=True) as client_session:
|
|
103
103
|
async with client_session.post(
|
|
104
104
|
f"{mwa_api_endpoint}/tokens",
|
|
105
105
|
headers={
|
|
@@ -146,7 +146,7 @@ async def fetch_access_token(mwa_api_endpoint, identity_token, source_id):
|
|
|
146
146
|
Returns:
|
|
147
147
|
Dict : Containing the Access token.
|
|
148
148
|
"""
|
|
149
|
-
async with aiohttp.ClientSession() as client_session:
|
|
149
|
+
async with aiohttp.ClientSession(trust_env=True) as client_session:
|
|
150
150
|
async with client_session.post(
|
|
151
151
|
f"{mwa_api_endpoint}/tokens/access",
|
|
152
152
|
headers={
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Copyright 2020-
|
|
1
|
+
# Copyright 2020-2024 The MathWorks, Inc.
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
4
|
This file contains the methods to communicate with the embedded connector.
|
|
@@ -42,7 +42,7 @@ async def send_request(url: str, data: dict, method: str, headers: dict = None)
|
|
|
42
42
|
data = json.dumps(data)
|
|
43
43
|
|
|
44
44
|
try:
|
|
45
|
-
async with aiohttp.ClientSession() as session:
|
|
45
|
+
async with aiohttp.ClientSession(trust_env=True) as session:
|
|
46
46
|
logger.debug(
|
|
47
47
|
f"sending request: method={method}, url={url}, data={data}, headers={headers}, "
|
|
48
48
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: matlab-proxy
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.14.0
|
|
4
4
|
Summary: Python® package enables you to launch MATLAB® and access it from a web browser.
|
|
5
5
|
Home-page: https://github.com/mathworks/matlab-proxy/
|
|
6
6
|
Author: The MathWorks, Inc.
|
|
@@ -26,6 +26,7 @@ Requires-Dist: black ; extra == 'dev'
|
|
|
26
26
|
Requires-Dist: pytest ; extra == 'dev'
|
|
27
27
|
Requires-Dist: pytest-env ; extra == 'dev'
|
|
28
28
|
Requires-Dist: pytest-cov ; extra == 'dev'
|
|
29
|
+
Requires-Dist: pytest-timeout ; extra == 'dev'
|
|
29
30
|
Requires-Dist: pytest-mock ; extra == 'dev'
|
|
30
31
|
Requires-Dist: pytest-aiohttp ; extra == 'dev'
|
|
31
32
|
Requires-Dist: psutil ; extra == 'dev'
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
matlab_proxy/__init__.py,sha256=6cwi8buKCMtw9OeWaOYUHEoqwl5MyJ_s6GxgNuqPuNg,1673
|
|
2
|
-
matlab_proxy/app.py,sha256=
|
|
2
|
+
matlab_proxy/app.py,sha256=Fd8kbdLF72LHZq_QptKeQc1Qti4TTF1kOJh_Sa1hd3U,32260
|
|
3
3
|
matlab_proxy/app_state.py,sha256=HV4_igTkUVf-CQWPKc7s3z4Ea_MkSBbV7k3I-AG-m28,55374
|
|
4
4
|
matlab_proxy/constants.py,sha256=GTuIP6ibk1HcoxVihBRcy7SOfoQdb4hy0vhj2nH99sc,910
|
|
5
5
|
matlab_proxy/default_configuration.py,sha256=DxQaHzAivzstiPl_nDfxs8SOyP9oaK9v3RP4LtroJl4,843
|
|
6
6
|
matlab_proxy/devel.py,sha256=nR6XPVBUEdQ-RZGtYvX1YHTp8gj9cuw5Hp8ahasMBc8,14310
|
|
7
7
|
matlab_proxy/settings.py,sha256=YjchyZAzvLfl-CiwxAPtSaTTo7aRgD6inS4-jZmsuNY,24687
|
|
8
8
|
matlab_proxy/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
matlab_proxy/gui/asset-manifest.json,sha256=
|
|
9
|
+
matlab_proxy/gui/asset-manifest.json,sha256=0eynKD0QHNdOgsiH3IuXXNkRQph4sd_QV4S89qocW2k,3516
|
|
10
10
|
matlab_proxy/gui/favicon.ico,sha256=7w7Ki1uQP2Rgwc64dOV4-NrTu97I3WsZw8OvRSoY1A0,130876
|
|
11
|
-
matlab_proxy/gui/index.html,sha256=
|
|
11
|
+
matlab_proxy/gui/index.html,sha256=IxsvWXcW8bVcVPdnnMQoolow1BFirTUyCo-O9uYGYTQ,637
|
|
12
12
|
matlab_proxy/gui/manifest.json,sha256=NwDbrALM5auYyj2bbEf4aGwAUDqNl1FzMFQpPiG2Ty4,286
|
|
13
13
|
matlab_proxy/gui/robots.txt,sha256=kNJLw79pisHhc3OVAimMzKcq3x9WT6sF9IS4xI0crdI,67
|
|
14
14
|
matlab_proxy/gui/static/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -16,9 +16,9 @@ matlab_proxy/gui/static/css/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
|
|
|
16
16
|
matlab_proxy/gui/static/css/main.47712126.css,sha256=OT5ccyC0a6fVg956C-8b6uDVbZZVgcpXbHjdO6v4ZBI,274313
|
|
17
17
|
matlab_proxy/gui/static/css/main.47712126.css.map,sha256=RdfmXfQvzvvh4XZuDWShm8CD8pA2Gb2K6MtMzrgJyKM,350495
|
|
18
18
|
matlab_proxy/gui/static/js/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
|
-
matlab_proxy/gui/static/js/main.
|
|
20
|
-
matlab_proxy/gui/static/js/main.
|
|
21
|
-
matlab_proxy/gui/static/js/main.
|
|
19
|
+
matlab_proxy/gui/static/js/main.14aa7840.js,sha256=Eu6ZKinNe4gYoD1KV-CsYDJHg0DNKVq4-Qxy2sT2A-U,294128
|
|
20
|
+
matlab_proxy/gui/static/js/main.14aa7840.js.LICENSE.txt,sha256=3cj3DrwM51esz1ogL9VVU1ZyXyXJ6u-Ec2CI9CCcI_A,1689
|
|
21
|
+
matlab_proxy/gui/static/js/main.14aa7840.js.map,sha256=JbKOBbRaQIVoticAYynd6nEc1msGas1RXxnzvA1eWDs,935545
|
|
22
22
|
matlab_proxy/gui/static/media/MATLAB-env-blur.4fc94edbc82d3184e5cb.png,sha256=QpmQTLDvBu2-b7ev83Rvpt0Q72R6wdQGkuJMPPpjv7M,220290
|
|
23
23
|
matlab_proxy/gui/static/media/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
24
24
|
matlab_proxy/gui/static/media/arrow.0c2968b90bd9a64c8c3f.svg,sha256=XtmvDWzGZnwCZm08TKBnqt5hc1wphJnNupG0Fx_faAY,327
|
|
@@ -56,7 +56,7 @@ matlab_proxy/matlab/startup.m,sha256=YRtI8P2flDJSDcPxJ2008B2l1T9JpqiUbzhQxA0frbc
|
|
|
56
56
|
matlab_proxy/util/__init__.py,sha256=bRfvYEbxsaiYhtWq5imTZM7PRrSEJ7GTlVBptvunaYQ,7902
|
|
57
57
|
matlab_proxy/util/event_loop.py,sha256=Zqd282jlvPHHyc4kg8IjIzlzh9zLM_SAc5xjqUOrm04,1144
|
|
58
58
|
matlab_proxy/util/list_servers.py,sha256=M93coVZjyQCdIvCCxsNOU_XDWNjBSysOJ5tWXaTjP8Y,1369
|
|
59
|
-
matlab_proxy/util/mw.py,sha256=
|
|
59
|
+
matlab_proxy/util/mw.py,sha256=dLGSdfcTZiwKR1MMZA-39o-8na13IEPZOGBqcaHmKVI,11086
|
|
60
60
|
matlab_proxy/util/system.py,sha256=XoT3Rv5MwPkdfhk2oMvUwxxlzZmADMlxzi9IRQyGgbA,1692
|
|
61
61
|
matlab_proxy/util/windows.py,sha256=R9-VA7f0snVanSR7IgbHz3kvSnthZuUYe2UhBd5QWMQ,3440
|
|
62
62
|
matlab_proxy/util/mwi/__init__.py,sha256=zI-X1lafr8H3j17PyA0oSZ0q5nINfK-WDA7VmJKmSAQ,158
|
|
@@ -68,10 +68,10 @@ matlab_proxy/util/mwi/token_auth.py,sha256=25uQE2cul6MZNTj1HQqukiBS014dj7URZfMOF
|
|
|
68
68
|
matlab_proxy/util/mwi/validators.py,sha256=BMMOD-0tdjGIALm1MmG4yXVRoD2ZUXkrJXLWP_D5FGo,11712
|
|
69
69
|
matlab_proxy/util/mwi/embedded_connector/__init__.py,sha256=SVSckEJ4zQQ2KkNPT_un8ndMAImcMOTrai7ShAbmFY4,114
|
|
70
70
|
matlab_proxy/util/mwi/embedded_connector/helpers.py,sha256=SfrwpCnZ6QGJBko-sR2bIG4-_qZOn29zCZV9qwVBnkM,3395
|
|
71
|
-
matlab_proxy/util/mwi/embedded_connector/request.py,sha256=
|
|
72
|
-
matlab_proxy-0.
|
|
73
|
-
matlab_proxy-0.
|
|
74
|
-
matlab_proxy-0.
|
|
75
|
-
matlab_proxy-0.
|
|
76
|
-
matlab_proxy-0.
|
|
77
|
-
matlab_proxy-0.
|
|
71
|
+
matlab_proxy/util/mwi/embedded_connector/request.py,sha256=EaQfV2R5lhzfnob0rZG2Eb9rl7BYd7_ZyK0jNIZzH6g,3730
|
|
72
|
+
matlab_proxy-0.14.0.dist-info/LICENSE.md,sha256=oF0h3UdSF-rlUiMGYwi086ZHqelzz7yOOk9HFDv9ELo,2344
|
|
73
|
+
matlab_proxy-0.14.0.dist-info/METADATA,sha256=R6iheeeUFTuovrhUK0SuSe1coTJK1-kJE925p7TrKhA,10108
|
|
74
|
+
matlab_proxy-0.14.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
75
|
+
matlab_proxy-0.14.0.dist-info/entry_points.txt,sha256=DbBLYgnRt8UGiOpd0zHigRTyyMdZYhMdvCvSYP7wPN0,244
|
|
76
|
+
matlab_proxy-0.14.0.dist-info/top_level.txt,sha256=3-Lxje1LZvSfK__TVoRksU4th_PCj6cMMJwhH8P0_3I,13
|
|
77
|
+
matlab_proxy-0.14.0.dist-info/RECORD,,
|