wslink 2.0.0__py3-none-any.whl → 2.0.1__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.
wslink/server.py CHANGED
@@ -18,13 +18,13 @@ ws_server = None
18
18
 
19
19
  # =============================================================================
20
20
  # Setup default arguments to be parsed
21
- # -s, --nosignalhandlers
22
- # -d, --debug
23
- # -i, --host localhost
21
+ # --nosignalhandlers
22
+ # --debug
23
+ # --host localhost
24
24
  # -p, --port 8080
25
- # -t, --timeout 300 (seconds)
26
- # -c, --content '/www' (No content means WebSocket only)
27
- # -a, --authKey vtkweb-secret
25
+ # --timeout 300 (seconds)
26
+ # --content '/www' (No content means WebSocket only)
27
+ # --authKey vtkweb-secret
28
28
  # =============================================================================
29
29
 
30
30
 
@@ -35,16 +35,14 @@ def add_arguments(parser):
35
35
  """
36
36
 
37
37
  parser.add_argument(
38
- "-d", "--debug", help="log debugging messages to stdout", action="store_true"
38
+ "--debug", help="log debugging messages to stdout", action="store_true"
39
39
  )
40
40
  parser.add_argument(
41
- "-s",
42
41
  "--nosignalhandlers",
43
42
  help="Prevent installation of signal handlers so server can be started inside a thread.",
44
43
  action="store_true",
45
44
  )
46
45
  parser.add_argument(
47
- "-i",
48
46
  "--host",
49
47
  type=str,
50
48
  default="localhost",
@@ -58,26 +56,22 @@ def add_arguments(parser):
58
56
  help="port number for the web-server to listen on (default: 8080)",
59
57
  )
60
58
  parser.add_argument(
61
- "-t",
62
59
  "--timeout",
63
60
  type=int,
64
61
  default=300,
65
62
  help="timeout for reaping process on idle in seconds (default: 300s, 0 to disable)",
66
63
  )
67
64
  parser.add_argument(
68
- "-c",
69
65
  "--content",
70
66
  default="",
71
67
  help="root for web-pages to serve (default: none)",
72
68
  )
73
69
  parser.add_argument(
74
- "-a",
75
70
  "--authKey",
76
71
  default="wslink-secret",
77
72
  help="Authentication key for clients to connect to the WebSocket.",
78
73
  )
79
74
  parser.add_argument(
80
- "-ws",
81
75
  "--ws-endpoint",
82
76
  type=str,
83
77
  default="ws",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wslink
3
- Version: 2.0.0
3
+ Version: 2.0.1
4
4
  Summary: Python/JavaScript library for communicating over WebSocket
5
5
  Home-page: https://github.com/kitware/wslink
6
6
  Author: Kitware, Inc.
@@ -5,7 +5,7 @@ wslink/launcher.py,sha256=8VMs3juObLkyGYQFNLjMoo4qFpKIcxWz0kS-af-DKO4,21170
5
5
  wslink/protocol.py,sha256=zdf4QthFHpAgEw3hTUyyaOuN76jzHeOJBpvekPbk7aY,15886
6
6
  wslink/publish.py,sha256=9G5TXqyGr-LCo_LwHYhzif6lhG2iXDvEBmEgwR8fh1M,1437
7
7
  wslink/relay.py,sha256=E8Lzu2Ay7KbOheN1-ArAZawo8lLqdDgJXOZSBuMknYs,86
8
- wslink/server.py,sha256=FKSJAKHDyfkNVM45-M-y1Zn8hh2TTYto1hTCIJx1pp8,9440
8
+ wslink/server.py,sha256=kS0v17uidq6auF4k2kD4L_FHU6i-OdxvG2tH1KeJOpk,9325
9
9
  wslink/ssl_context.py,sha256=hNOJJCdrStws1Qf6vPvY4vTk9Bf8J5d90W3fS0cRv8o,2290
10
10
  wslink/uri.py,sha256=woCQ4yChUqTMg9IT6YYDtUYeKmCg7OUCEgeBGA-19DY,384
11
11
  wslink/websocket.py,sha256=pBiWqkL8Zn8LuSJ9nv3yA-KjEynbolOQ2gLHtQFJ2Ic,4611
@@ -19,7 +19,7 @@ wslink/backends/jupyter/__init__.py,sha256=Qu65gWsd2xCSsxybnDtEDI5vMjHN-F5jgPZOy
19
19
  wslink/backends/jupyter/core.py,sha256=H73IEEHyom3TsbhkyI5O88bFBbUIDzHVuvqbIF6PAIM,3858
20
20
  wslink/backends/tornado/__init__.py,sha256=Qu65gWsd2xCSsxybnDtEDI5vMjHN-F5jgPZOyNIxnGs,112
21
21
  wslink/backends/tornado/core.py,sha256=tPMkkhWuO_ovkisVim0zcegwZKEAG4IRUdd_O_0a_R0,2157
22
- wslink-2.0.0.dist-info/METADATA,sha256=XWnXD2kxZEtIuOy4Y-_8HZ8anq9hYFL7axDQhv96GoE,3045
23
- wslink-2.0.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
- wslink-2.0.0.dist-info/top_level.txt,sha256=N0d8eqvhwhfW1p1yPTmvxlbzhjz7ZyhBfysNvaFqpQY,7
25
- wslink-2.0.0.dist-info/RECORD,,
22
+ wslink-2.0.1.dist-info/METADATA,sha256=0qH0MmMTMLg0ABAdOzng9T0tCbUvQF3NDuJs-zpe6NA,3045
23
+ wslink-2.0.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
24
+ wslink-2.0.1.dist-info/top_level.txt,sha256=N0d8eqvhwhfW1p1yPTmvxlbzhjz7ZyhBfysNvaFqpQY,7
25
+ wslink-2.0.1.dist-info/RECORD,,
File without changes