pywebexec 1.9.20__py3-none-any.whl → 2.0.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.
- pywebexec/pywebexec.py +71 -64
- pywebexec/static/css/form.css +6827 -0
- pywebexec/static/css/markdown.css +79 -0
- pywebexec/static/css/style.css +37 -6876
- pywebexec/static/css/swagger-ui.css +3 -0
- pywebexec/static/css/swagger-ui.css.map +1 -0
- pywebexec/static/images/swagger-ui.svg +1 -0
- pywebexec/static/js/executables.js +32 -48
- pywebexec/static/js/js-yaml/LICENSE +21 -0
- pywebexec/static/js/js-yaml/js-yaml.min.js +2 -0
- pywebexec/static/js/schemaform.js +90 -0
- pywebexec/static/js/script.js +3 -3
- pywebexec/static/js/swagger-form.js +95 -0
- pywebexec/static/js/swagger-ui/LICENSE +202 -0
- pywebexec/static/js/swagger-ui/swagger-ui-bundle.js +2 -0
- pywebexec/static/js/swagger-ui/swagger-ui-standalone-preset.js +2 -0
- pywebexec/swagger.yaml +4 -0
- pywebexec/templates/index.html +6 -2
- pywebexec/templates/swagger_ui.html +22 -0
- pywebexec/version.py +2 -2
- {pywebexec-1.9.20.dist-info → pywebexec-2.0.0.dist-info}/METADATA +1 -2
- {pywebexec-1.9.20.dist-info → pywebexec-2.0.0.dist-info}/RECORD +26 -13
- {pywebexec-1.9.20.dist-info → pywebexec-2.0.0.dist-info}/WHEEL +1 -1
- {pywebexec-1.9.20.dist-info → pywebexec-2.0.0.dist-info}/LICENSE +0 -0
- {pywebexec-1.9.20.dist-info → pywebexec-2.0.0.dist-info}/entry_points.txt +0 -0
- {pywebexec-1.9.20.dist-info → pywebexec-2.0.0.dist-info}/top_level.txt +0 -0
pywebexec/swagger.yaml
CHANGED
@@ -53,18 +53,22 @@ paths:
|
|
53
53
|
properties:
|
54
54
|
command:
|
55
55
|
type: string
|
56
|
+
description: "Command to run"
|
56
57
|
# Enum will be added dynamically by the APIs
|
57
58
|
default: commandName
|
58
59
|
params:
|
59
60
|
type: array
|
61
|
+
description: "Command parameters"
|
60
62
|
items:
|
61
63
|
type: string
|
62
64
|
default: []
|
63
65
|
rows:
|
64
66
|
type: integer
|
67
|
+
description: "tty nb rows"
|
65
68
|
default: 24
|
66
69
|
cols:
|
67
70
|
type: integer
|
71
|
+
description: "tty nb columns"
|
68
72
|
default: 125
|
69
73
|
required:
|
70
74
|
- command
|
pywebexec/templates/index.html
CHANGED
@@ -4,7 +4,9 @@
|
|
4
4
|
<meta charset="UTF-8">
|
5
5
|
<link rel="icon" href="/static/images/favicon.svg" type="image/svg+xml">
|
6
6
|
<title>{{ title }}</title>
|
7
|
+
<link rel="stylesheet" href="/static/css/form.css">
|
7
8
|
<link rel="stylesheet" href="/static/css/style.css">
|
9
|
+
<link rel="stylesheet" href="/static/css/markdown.css">
|
8
10
|
<link rel="stylesheet" href="/static/css/xterm.css">
|
9
11
|
</head>
|
10
12
|
<body>
|
@@ -22,13 +24,13 @@
|
|
22
24
|
<div id="commandList" class="command-list"></div>
|
23
25
|
<input type="text" id="params" name="params" oninput="this.style.width = ((this.value.length + 1) * 8) + 'px';">
|
24
26
|
</div>
|
25
|
-
<button type="submit">Run</button>
|
27
|
+
<button class="run" type="submit">Run</button>
|
26
28
|
</form>
|
27
29
|
<div id="paramsContainer">
|
28
30
|
<div id="schemaContainer">
|
29
31
|
<form id="schemaForm"></form>
|
30
32
|
</div>
|
31
|
-
<div id="paramsHelp"></div>
|
33
|
+
<div id="paramsHelp" class="markdown"></div>
|
32
34
|
</div>
|
33
35
|
<div class="table-container" id="tableContainer">
|
34
36
|
<table>
|
@@ -71,6 +73,8 @@
|
|
71
73
|
<script type="text/javascript" src="/static/jsonform/lib/jsonform.js"></script>
|
72
74
|
<script type="text/javascript" src="/static/js/script.js"></script>
|
73
75
|
<script type="text/javascript" src="/static/js/executables.js"></script>
|
76
|
+
<script type="text/javascript" src="/static/js/schemaform.js"></script>
|
77
|
+
|
74
78
|
|
75
79
|
</body>
|
76
80
|
</html>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="UTF-8">
|
5
|
+
<title>{{ title }} - Swagger UI</title>
|
6
|
+
<link rel="icon" href="/static/images/swagger-ui.svg" type="image/svg+xml">
|
7
|
+
<link rel="stylesheet" href="/static/css/swagger-ui.css">
|
8
|
+
<link rel="stylesheet" href="/static/css/form.css">
|
9
|
+
<link rel="stylesheet" href="/static/css/markdown.css">
|
10
|
+
</head>
|
11
|
+
<body>
|
12
|
+
<div id="swagger-ui"></div>
|
13
|
+
<script src="/static/js/swagger-ui/swagger-ui-bundle.js"></script>
|
14
|
+
<script src="/static/js/swagger-ui/swagger-ui-standalone-preset.js"></script>
|
15
|
+
<script type="text/javascript" src="/static/jsonform/deps/jquery.min.js"></script>
|
16
|
+
<script type="text/javascript" src="/static/jsonform/deps/underscore.js"></script>
|
17
|
+
<script type="text/javascript" src="/static/jsonform/lib/jsonform.js"></script>
|
18
|
+
<script type="text/javascript" src="/static/js/js-yaml/js-yaml.min.js"></script>
|
19
|
+
<script src="/static/js/schemaform.js"></script>
|
20
|
+
<script type="text/javascript" src="/static/js/swagger-form.js"></script>
|
21
|
+
</body>
|
22
|
+
</html>
|
pywebexec/version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: pywebexec
|
3
|
-
Version:
|
3
|
+
Version: 2.0.0
|
4
4
|
Summary: Simple Python HTTP Exec Server
|
5
5
|
Home-page: https://github.com/joknarf/pywebexec
|
6
6
|
Author: Franck Jouvanceau
|
@@ -56,7 +56,6 @@ Requires-Dist: python-daemon>=2.3.2
|
|
56
56
|
Requires-Dist: cryptography>=40.0.2
|
57
57
|
Requires-Dist: Flask>=2.0.3
|
58
58
|
Requires-Dist: Flask-HTTPAuth>=4.8.0
|
59
|
-
Requires-Dist: flask-swagger-ui>=4.11.1
|
60
59
|
Requires-Dist: pexpect>=4.9.0
|
61
60
|
Requires-Dist: gunicorn>=21.2.0
|
62
61
|
Requires-Dist: ldap3>=2.9.1
|
@@ -1,10 +1,14 @@
|
|
1
1
|
pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
|
2
2
|
pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
|
3
|
-
pywebexec/pywebexec.py,sha256=
|
4
|
-
pywebexec/swagger.yaml,sha256=
|
5
|
-
pywebexec/version.py,sha256=
|
3
|
+
pywebexec/pywebexec.py,sha256=2ojor_qmFTNf56aiwCkVEW6-CD-Zz8DAr3O4a3LAvMc,40755
|
4
|
+
pywebexec/swagger.yaml,sha256=0fM22kXURoLi97xSncRuVBLaUB5iYA6ROkB9YaLrlwM,5861
|
5
|
+
pywebexec/version.py,sha256=2thmcF9DS_Zp1zHI3N0kjBeMAuCP9mdDGnL0clqQpS8,511
|
6
6
|
pywebexec/static/css/bootstrap.min.css,sha256=916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG_aiY1w,121200
|
7
|
-
pywebexec/static/css/
|
7
|
+
pywebexec/static/css/form.css,sha256=oa69hVBPyjp2tJcIMrcuYe5QMrg_WEKUaTNg7C2n-Mg,160613
|
8
|
+
pywebexec/static/css/markdown.css,sha256=CxvZsCt6h7VcNTeyrrEsZpd4VuTFmWA33Y68T2N0pOU,1881
|
9
|
+
pywebexec/static/css/style.css,sha256=JBG_0DphjyZmFlno_-EeKzihl6KeDlhcQUb6RIx2RIA,9434
|
10
|
+
pywebexec/static/css/swagger-ui.css,sha256=xhXN8fnUaIACGHuPIEIr9-qmyYr6Zx0k2wv4Qy7Bg1Y,154985
|
11
|
+
pywebexec/static/css/swagger-ui.css.map,sha256=dJy-xBn_htK4BNupTMIl33ddse7BXsrCdDJWlTJodnw,258842
|
8
12
|
pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
|
9
13
|
pywebexec/static/fonts/CommitMonoNerdFontMono-Regular.ttf,sha256=v6nZdSx5cs_TIic8Fujrjzg9u9glWjorDIr7RlwNceM,2370228
|
10
14
|
pywebexec/static/fonts/LICENSE,sha256=gsBdbFPfoMkCWYXBnjcYEAILdO0sYdUdNw8qirJQbVI,4395
|
@@ -29,11 +33,19 @@ pywebexec/static/images/popup.svg,sha256=0Bl9A_v5cBsMPn6FnOlVWlAQKgd2zqiWQbhjcL9
|
|
29
33
|
pywebexec/static/images/resume.svg,sha256=99LP1Ya2JXakRCO9kW8JMuT_4a_CannF65EiuwtvK4A,607
|
30
34
|
pywebexec/static/images/running.svg,sha256=fBCYwYb2O9K4N3waC2nURP25NRwZlqR4PbDZy6JQMww,610
|
31
35
|
pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_qiD_FU8,489
|
32
|
-
pywebexec/static/
|
36
|
+
pywebexec/static/images/swagger-ui.svg,sha256=FR0yeOVwe4zCYKZAjCGcT_m0Mf25NexIVaSXifIkoU0,2117
|
37
|
+
pywebexec/static/js/executables.js,sha256=NC5KZsq665oheVWVHTHRpr95iUHnLdF_Lck-obBXh3w,11728
|
33
38
|
pywebexec/static/js/popup.js,sha256=0fr3pp4j9D2fXEVnHyQrx2bPWFHfgbb336dbewgH1d8,9023
|
34
|
-
pywebexec/static/js/
|
39
|
+
pywebexec/static/js/schemaform.js,sha256=bd874Geg9vri1c_seUGVynxZswGb5IcyWLZxYlcryCA,2784
|
40
|
+
pywebexec/static/js/script.js,sha256=fwTo9Iz4xsl6wGs-Nm8-Ng8aXzDfvews5cHfzhSfg_0,17987
|
41
|
+
pywebexec/static/js/swagger-form.js,sha256=Rfm2arBLUfJB702HEbNqWk37Xip1z8maqvVVmuYBmxQ,3224
|
42
|
+
pywebexec/static/js/js-yaml/LICENSE,sha256=oHvCRGi5ZUznalR9R6LbKC0HcztxXbTHOpi9Y5YflVA,1084
|
43
|
+
pywebexec/static/js/js-yaml/js-yaml.min.js,sha256=Rdw90D3AegZwWiwpibjH9wkBPwS9U4bjJ51ORH8H69c,39430
|
35
44
|
pywebexec/static/js/marked/LICENSE.md,sha256=jjo_gvWaYJWPVsoI9EVkfDKkcz3HymwsRvbriYRxq5w,2942
|
36
45
|
pywebexec/static/js/marked/marked.min.js,sha256=k04-Nuni2gr7Gm51B1uw8JrwUpOoROhKdHfvQJEcNJo,39589
|
46
|
+
pywebexec/static/js/swagger-ui/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
47
|
+
pywebexec/static/js/swagger-ui/swagger-ui-bundle.js,sha256=N1rLDlYofpwBliiy0YY3qANYdPNZq9vbIpnhtgV6Odw,1466324
|
48
|
+
pywebexec/static/js/swagger-ui/swagger-ui-standalone-preset.js,sha256=hxC22Q7OcRPdRnUA-hTtM7WEi2i4aVrQdfjVxsmvOwE,229223
|
37
49
|
pywebexec/static/js/xterm/LICENSE,sha256=EU1P4eXTull-_T9I80VuwnJXubB-zLzUl3xpEYj2T1M,1083
|
38
50
|
pywebexec/static/js/xterm/addon-canvas.js,sha256=ez6QTVvsmLVNJmdJlM-ZQ5bErwlxAQ_9DUmDIptl2TM,94607
|
39
51
|
pywebexec/static/js/xterm/addon-canvas.js.map,sha256=ECBA4B-BqUpdFeRzlsEWLSQnudnhLP-yPQJ8_hKquMo,379537
|
@@ -52,11 +64,12 @@ pywebexec/static/jsonform/deps/underscore.js,sha256=SzKOQsVYGX1bmddyfPzGC6yXY_rW
|
|
52
64
|
pywebexec/static/jsonform/deps/img/glyphicons-halflings.png,sha256=hpJM0AbbMLnU8UGOBs172D7vK-dooQ8n0s_ybml3zO0,13826
|
53
65
|
pywebexec/static/jsonform/lib/jsonform.js,sha256=U-BvOgq5gCvSUo36qSAK7Y91RPKOq7vZShkIYpzwlkk,138525
|
54
66
|
pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
55
|
-
pywebexec/templates/index.html,sha256=
|
67
|
+
pywebexec/templates/index.html,sha256=KeNLBH9PN_ZuGhzwrjvRTj2oBtbINv_SbwGQpOahNWo,3820
|
56
68
|
pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
|
57
|
-
pywebexec
|
58
|
-
pywebexec-
|
59
|
-
pywebexec-
|
60
|
-
pywebexec-
|
61
|
-
pywebexec-
|
62
|
-
pywebexec-
|
69
|
+
pywebexec/templates/swagger_ui.html,sha256=9ngyldkyEdLonBjl97mbIZUlVk-jxwcHrvFzMSrveyU,1067
|
70
|
+
pywebexec-2.0.0.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
|
71
|
+
pywebexec-2.0.0.dist-info/METADATA,sha256=kSl0GeXXJYePB_ZfNNH2AFXn9JQ8jQ-DRUO0H0letT4,9644
|
72
|
+
pywebexec-2.0.0.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
|
73
|
+
pywebexec-2.0.0.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
|
74
|
+
pywebexec-2.0.0.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
|
75
|
+
pywebexec-2.0.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|