pywebexec 1.9.21__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/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
@@ -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>
@@ -28,7 +30,7 @@
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
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '1.9.21'
21
- __version_tuple__ = version_tuple = (1, 9, 21)
20
+ __version__ = version = '2.0.0'
21
+ __version_tuple__ = version_tuple = (2, 0, 0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.9.21
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=5hv_3F0Tbz_s5eXrt4WaPCylW44gk5NHCzjJzP5HITw,40320
4
- pywebexec/swagger.yaml,sha256=pGG4ikpASgBnzoZ44jJJ8l5JrNz7GOBpCakSJta-30c,5676
5
- pywebexec/version.py,sha256=Zo-mS3a1MwZvEgXjzm9emCI_RnGPRJSVRynGQFQi5xg,513
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/style.css,sha256=DVxDEiNQkn-nB43yRcqUWihdhcRHGZryhO5i2416QZs,171317
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/js/executables.js,sha256=coSGGD_H47VXmSp-SSu6zZm59K9NsTIZ6Hnh_FRJnpY,12849
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
39
+ pywebexec/static/js/schemaform.js,sha256=bd874Geg9vri1c_seUGVynxZswGb5IcyWLZxYlcryCA,2784
34
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=z63DTXuOoCQ8EngJuEZapRLIcfDHlWayNEsEF7fzsGs,3610
67
+ pywebexec/templates/index.html,sha256=KeNLBH9PN_ZuGhzwrjvRTj2oBtbINv_SbwGQpOahNWo,3820
56
68
  pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
57
- pywebexec-1.9.21.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
58
- pywebexec-1.9.21.dist-info/METADATA,sha256=1_ZKGU7GXQNNJV2hWb9-9vXIv0YDqh15PK3x85VTadg,9685
59
- pywebexec-1.9.21.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
60
- pywebexec-1.9.21.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
61
- pywebexec-1.9.21.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
62
- pywebexec-1.9.21.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5