pywebexec 1.8.0__py3-none-any.whl → 1.8.2__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.
@@ -1,6 +1,6 @@
1
1
  @font-face {
2
- font-family: 'Consolas NF';
3
- src: url('/static/css/Consolas NF.ttf');
2
+ font-family: 'CommitMono Nerd Font Mono';
3
+ src: url('/static/fonts/CommitMonoNerdFontMono-Regular.ttf');
4
4
  font-weight: 400;
5
5
  font-style: normal;
6
6
  }
@@ -48,7 +48,7 @@ th {
48
48
  cursor: pointer;
49
49
  }
50
50
  .monospace {
51
- font-family: Consolas NF,monospace;
51
+ font-family: "CommitMono Nerd Font Mono", monospace;
52
52
  font-size: 13px;
53
53
  }
54
54
  .system-font {
@@ -0,0 +1,90 @@
1
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
2
+ This license is copied below, and is also available with a FAQ at:
3
+ http://scripts.sil.org/OFL
4
+
5
+ -----------------------------------------------------------
6
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
7
+ -----------------------------------------------------------
8
+
9
+ PREAMBLE
10
+ The goals of the Open Font License (OFL) are to stimulate worldwide
11
+ development of collaborative font projects, to support the font creation
12
+ efforts of academic and linguistic communities, and to provide a free and
13
+ open framework in which fonts may be shared and improved in partnership
14
+ with others.
15
+
16
+ The OFL allows the licensed fonts to be used, studied, modified and
17
+ redistributed freely as long as they are not sold by themselves. The
18
+ fonts, including any derivative works, can be bundled, embedded,
19
+ redistributed and/or sold with any software provided that any reserved
20
+ names are not used by derivative works. The fonts and derivatives,
21
+ however, cannot be released under any other type of license. The
22
+ requirement for fonts to remain under this license does not apply
23
+ to any document created using the fonts or their derivatives.
24
+
25
+ DEFINITIONS
26
+ "Font Software" refers to the set of files released by the Copyright
27
+ Holder(s) under this license and clearly marked as such. This may
28
+ include source files, build scripts and documentation.
29
+
30
+ "Reserved Font Name" refers to any names specified as such after the
31
+ copyright statement(s).
32
+
33
+ "Original Version" refers to the collection of Font Software components as
34
+ distributed by the Copyright Holder(s).
35
+
36
+ "Modified Version" refers to any derivative made by adding to, deleting,
37
+ or substituting -- in part or in whole -- any of the components of the
38
+ Original Version, by changing formats or by porting the Font Software to a
39
+ new environment.
40
+
41
+ "Author" refers to any designer, engineer, programmer, technical
42
+ writer or other person who contributed to the Font Software.
43
+
44
+ PERMISSION & CONDITIONS
45
+ Permission is hereby granted, free of charge, to any person obtaining
46
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
47
+ redistribute, and sell modified and unmodified copies of the Font
48
+ Software, subject to the following conditions:
49
+
50
+ 1) Neither the Font Software nor any of its individual components,
51
+ in Original or Modified Versions, may be sold by itself.
52
+
53
+ 2) Original or Modified Versions of the Font Software may be bundled,
54
+ redistributed and/or sold with any software, provided that each copy
55
+ contains the above copyright notice and this license. These can be
56
+ included either as stand-alone text files, human-readable headers or
57
+ in the appropriate machine-readable metadata fields within text or
58
+ binary files as long as those fields can be easily viewed by the user.
59
+
60
+ 3) No Modified Version of the Font Software may use the Reserved Font
61
+ Name(s) unless explicit written permission is granted by the corresponding
62
+ Copyright Holder. This restriction only applies to the primary font name as
63
+ presented to the users.
64
+
65
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
66
+ Software shall not be used to promote, endorse or advertise any
67
+ Modified Version, except to acknowledge the contribution(s) of the
68
+ Copyright Holder(s) and the Author(s) or with their explicit written
69
+ permission.
70
+
71
+ 5) The Font Software, modified or unmodified, in part or in whole,
72
+ must be distributed entirely under this license, and must not be
73
+ distributed under any other license. The requirement for fonts to
74
+ remain under this license does not apply to any document created
75
+ using the Font Software.
76
+
77
+ TERMINATION
78
+ This license becomes null and void if any of the above conditions are
79
+ not met.
80
+
81
+ DISCLAIMER
82
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
83
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
84
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
85
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
86
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
87
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
88
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
89
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
90
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -6,7 +6,7 @@ let terminal = new Terminal({
6
6
  cursorInactiveStyle: 'none',
7
7
  disableStdin: true,
8
8
  convertEol: true,
9
- fontFamily: 'Consolas NF, monospace, courier-new, courier',
9
+ fontFamily: '"CommitMono Nerd Font Mono", monospace, courier-new, courier',
10
10
  fontSize: fontSize,
11
11
  scrollback: maxScrollback,
12
12
  theme: {
@@ -36,20 +36,20 @@ terminal.loadAddon(new CanvasAddon.CanvasAddon());
36
36
  unicode11Addon = new Unicode11Addon.Unicode11Addon();
37
37
  terminal.loadAddon(unicode11Addon);
38
38
  terminal.unicode.activeVersion = '11';
39
- terminal.register({
40
- wcwidth: (character) => {
41
- const code = character.charCodeAt(0);
42
- if (code == 0x1F525) return 2; // Fire emoji
43
- // Handle powerline symbols (usually should be width 1)
44
- if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
45
- // Handle other specific unicode ranges
46
- if (code >= 0x1100 && code <= 0x11FF) return 2; // Hangul Jamo
47
- if (code >= 0x3000 && code <= 0x30FF) return 2; // CJK Symbols and Japanese
48
- if (code >= 0x4E00 && code <= 0x9FFF) return 2; // CJK Unified Ideographs
49
- // Default to system wcwidth
50
- return null;
51
- }
52
- });
39
+ // terminal.register({
40
+ // wcwidth: (character) => {
41
+ // const code = character.charCodeAt(0);
42
+ // if (code == 0x1F525) return 2; // Fire emoji
43
+ // // Handle powerline symbols (usually should be width 1)
44
+ // if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
45
+ // // Handle other specific unicode ranges
46
+ // if (code >= 0x1100 && code <= 0x11FF) return 2; // Hangul Jamo
47
+ // if (code >= 0x3000 && code <= 0x30FF) return 2; // CJK Symbols and Japanese
48
+ // if (code >= 0x4E00 && code <= 0x9FFF) return 2; // CJK Unified Ideographs
49
+ // // Default to system wcwidth
50
+ // return null;
51
+ // }
52
+ // });
53
53
 
54
54
  const fitAddon = new FitAddon.FitAddon();
55
55
  terminal.loadAddon(fitAddon);
@@ -22,7 +22,7 @@ function initTerminal()
22
22
  cursorInactiveStyle: 'none',
23
23
  disableStdin: true,
24
24
  //convertEol: true,
25
- fontFamily: '"Consolas NF", "Fira Code", monospace, "Powerline Extra Symbols", courier-new, courier',
25
+ fontFamily: '"CommitMono Nerd Font Mono", "Fira Code", monospace, "Powerline Extra Symbols", courier-new, courier',
26
26
  fontSize: fontSize,
27
27
  scrollback: maxScrollback,
28
28
  theme: {
@@ -59,20 +59,20 @@ terminal.loadAddon(new CanvasAddon.CanvasAddon());
59
59
  unicode11Addon = new Unicode11Addon.Unicode11Addon();
60
60
  terminal.loadAddon(unicode11Addon);
61
61
  terminal.unicode.activeVersion = '11';
62
- terminal.register({
63
- wcwidth: (character) => {
64
- const code = character.charCodeAt(0);
65
- if (code == 0x1F525) return 2; // Fire emoji
66
- // Handle powerline symbols (usually should be width 1)
67
- if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
68
- // Handle other specific unicode ranges
69
- if (code >= 0x1100 && code <= 0x11FF) return 2; // Hangul Jamo
70
- if (code >= 0x3000 && code <= 0x30FF) return 2; // CJK Symbols and Japanese
71
- if (code >= 0x4E00 && code <= 0x9FFF) return 2; // CJK Unified Ideographs
72
- // Default to system wcwidth
73
- return null;
74
- }
75
- });
62
+ // terminal.register({
63
+ // wcwidth: (character) => {
64
+ // const code = character.charCodeAt(0);
65
+ // if (code == 0x1F525) return 3; // Fire emoji
66
+ // // Handle powerline symbols (usually should be width 1)
67
+ // if (code >= 0xE0A0 && code <= 0xE0D4) return 1;
68
+ // // Handle other specific unicode ranges
69
+ // if (code >= 0x1100 && code <= 0x11FF) return 3; // Hangul Jamo
70
+ // if (code >= 0x3000 && code <= 0x30FF) return 3; // CJK Symbols and Japanese
71
+ // if (code >= 0x4E00 && code <= 0x9FFF) return 3; // CJK Unified Ideographs
72
+ // // Default to system wcwidth
73
+ // return null;
74
+ // }
75
+ // });
76
76
 
77
77
  const fitAddon = new FitAddon.FitAddon();
78
78
  terminal.loadAddon(fitAddon);
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.8.0'
21
- __version_tuple__ = version_tuple = (1, 8, 0)
20
+ __version__ = version = '1.8.2'
21
+ __version_tuple__ = version_tuple = (1, 8, 2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.8.0
3
+ Version: 1.8.2
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,10 +1,11 @@
1
1
  pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
2
2
  pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
3
3
  pywebexec/pywebexec.py,sha256=Pwsjq9VpM19l10-suEZ5nEXBv-LOaJNZy91ubuAkBos,32541
4
- pywebexec/version.py,sha256=NlHLpXkNFmTH52K5-WhbSOpEjuVpHwg6f2tUr8gHTCY,511
5
- pywebexec/static/css/Consolas NF.ttf,sha256=DJEOzF0eqZ-kxu3Gs_VE8X0NJqiobBzmxWDGpdgGRxI,1313900
6
- pywebexec/static/css/style.css,sha256=fU-_eAk6Xy0L_GbH9rJBkeCFe5M2RYQA99cvRZ3pW9w,7934
4
+ pywebexec/version.py,sha256=zaeoU7Eq6PaWD3xKg_JynFq8PW2k7pyoCPnWj8bsvOI,511
5
+ pywebexec/static/css/style.css,sha256=0Ro0Nj-0ZF_XrA8-sRB7ENNJk9brWzSztwHC0HcDZxo,7986
7
6
  pywebexec/static/css/xterm.css,sha256=uo5phWaUiJgcz0DAzv46uoByLLbJLeetYosL1xf68rY,5559
7
+ pywebexec/static/fonts/CommitMonoNerdFontMono-Regular.ttf,sha256=v6nZdSx5cs_TIic8Fujrjzg9u9glWjorDIr7RlwNceM,2370228
8
+ pywebexec/static/fonts/LICENSE,sha256=Li3JN3B4GQhudjHQLmGD--UjFqidoKYR2bCdO-fUvXI,4389
8
9
  pywebexec/static/images/aborted.svg,sha256=2nuvSwGBIZGWtlM1DrBO3qiSq1reDbcZDAj9rJXBnjY,380
9
10
  pywebexec/static/images/copy.svg,sha256=d9OwtGh5GzzZHzYcDrLfNxZYLth1Q64x7bRyYxu4Px0,622
10
11
  pywebexec/static/images/copy_ok.svg,sha256=mEqUVUhSq8xaJK2msQkxRawnz_KwlCZ-tok8QS6hJ3g,451
@@ -22,8 +23,8 @@ pywebexec/static/images/resume.svg,sha256=99LP1Ya2JXakRCO9kW8JMuT_4a_CannF65Eiuw
22
23
  pywebexec/static/images/running.svg,sha256=fBCYwYb2O9K4N3waC2nURP25NRwZlqR4PbDZy6JQMww,610
23
24
  pywebexec/static/images/success.svg,sha256=NVwezvVMplt46ElW798vqGfrL21Mw_DWHUp_qiD_FU8,489
24
25
  pywebexec/static/js/commands.js,sha256=TmfcauQlfIeAeC8pwQvKspc4PA_VYLbPTnVCDVBZ87I,8420
25
- pywebexec/static/js/popup.js,sha256=_2GzUizJ-sdZFWG7SZwbYJTPbu4EvVq7D5Q_UE8nepA,9452
26
- pywebexec/static/js/script.js,sha256=0vyxfgYYPsnnfscn11YcFYDyDYwmIGEVTe0dx0UJIqA,18538
26
+ pywebexec/static/js/popup.js,sha256=aXT2oxkpUAkVAhKtAyyVMsMb1MVTDJ0Br0aA9ZBRvGI,9510
27
+ pywebexec/static/js/script.js,sha256=e_yjyZazcn9YS7VQhDV_8f3gFfnd7rEF0cQyi5hQ1aA,18594
27
28
  pywebexec/static/js/xterm/LICENSE,sha256=EU1P4eXTull-_T9I80VuwnJXubB-zLzUl3xpEYj2T1M,1083
28
29
  pywebexec/static/js/xterm/addon-canvas.js,sha256=ez6QTVvsmLVNJmdJlM-ZQ5bErwlxAQ_9DUmDIptl2TM,94607
29
30
  pywebexec/static/js/xterm/addon-canvas.js.map,sha256=ECBA4B-BqUpdFeRzlsEWLSQnudnhLP-yPQJ8_hKquMo,379537
@@ -36,9 +37,9 @@ pywebexec/static/js/xterm/xterm.js.map,sha256=Y7O2Pb-fIS7Z8AC1D5s04_aiW_Jf1f4mCf
36
37
  pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
38
  pywebexec/templates/index.html,sha256=KSdQYBdzWKP6v0ETZsMO_729aosGBAzJxAss8T5jCto,2953
38
39
  pywebexec/templates/popup.html,sha256=f5m4u8WKpkevL2mQamGqo4_y-rSuLOXGuNsezuUbniY,1508
39
- pywebexec-1.8.0.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
40
- pywebexec-1.8.0.dist-info/METADATA,sha256=BwYrBzm4blpnbGe0A1xwwobqIHCnIT211Jobsx9GpQg,8146
41
- pywebexec-1.8.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
42
- pywebexec-1.8.0.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
43
- pywebexec-1.8.0.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
44
- pywebexec-1.8.0.dist-info/RECORD,,
40
+ pywebexec-1.8.2.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
41
+ pywebexec-1.8.2.dist-info/METADATA,sha256=KIuqMzV_1C5cPD4L45tmoL4RIo84j8nFPChDFUDGZLw,8146
42
+ pywebexec-1.8.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
43
+ pywebexec-1.8.2.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
44
+ pywebexec-1.8.2.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
45
+ pywebexec-1.8.2.dist-info/RECORD,,
Binary file