vuer 0.0.29rc7__py3-none-any.whl → 0.0.29rc9__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 vuer might be problematic. Click here for more details.

Binary file
Binary file
vuer/base.py CHANGED
@@ -105,9 +105,11 @@ class Server:
105
105
  def run(self):
106
106
  async def init_server():
107
107
  ssl_context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
108
+ print(self.cert)
109
+ print(self.key)
108
110
  ssl_context.load_cert_chain(certfile=self.cert, keyfile=self.key)
109
- if self.ca_crt:
110
- ssl_context.load_verify_locations(self.ca_crt)
111
+ if self.ca_cert:
112
+ ssl_context.load_verify_locations(self.ca_cert)
111
113
  ssl_context.verify_mode = ssl.CERT_REQUIRED
112
114
  else:
113
115
  ssl_context.verify_mode = ssl.CERT_OPTIONAL
vuer/server.py CHANGED
@@ -294,6 +294,10 @@ class Vuer(PrefixProto, Server):
294
294
  cors = "https://vuer.ai,https://dash.ml,http://localhost:8000,http://127.0.0.1:8000,*"
295
295
  queries = Proto({}, help="query parameters to pass")
296
296
 
297
+ cert = Proto(None, dtype=str, help="the path to the SSL certificate")
298
+ key = Proto(None, dtype=str, help="the path to the SSL key")
299
+ ca_cert = Proto(None, dtype=str, help="the trusted root CA certificates")
300
+
297
301
  client_root = Path(__file__).parent / "client_build"
298
302
 
299
303
  device = "cuda"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vuer
3
- Version: 0.0.29rc7
3
+ Version: 0.0.29rc9
4
4
  Home-page: https://github.com/geyang/vuer
5
5
  Author: Ge Yang<ge.ike.yang@gmail.com>
6
6
  Author-email: ge.ike.yang@gmail.com
@@ -1,16 +1,16 @@
1
1
  vuer/__init__.py,sha256=kbjORSc64WWVHcx3eJB1wnCzhIF76eX5g-JAXYEDM4Q,519
2
- vuer/base.py,sha256=chIs9cM8kRu3lRUvXb-96rNzKysC-FiMvodjNkNG4ck,4087
2
+ vuer/base.py,sha256=eorvvCmvOufxqnmXUc7zFDD91Trrh7a5hODNm4J4C9w,4146
3
3
  vuer/events.py,sha256=8AAzkfbm5jHkeMh17Z57n8YTxF4mheWC3Qbya4XkQSc,7291
4
4
  vuer/schemas.py,sha256=aZOocE02gO43SLLfeYSxxac0x38TmyTcfs_iFh5hsJ4,18152
5
5
  vuer/serdes.py,sha256=gD2iA9Yypu1QjocneOT3Nc0y6q_mdHn9zW1ko5j3I7c,2600
6
- vuer/server.py,sha256=mNbRAR59AyZsF01OEBVrN77IOzCKn02zu-a7yI9hyxU,22398
6
+ vuer/server.py,sha256=tsOXagIpKPk7056vUz1AnmOgluKlhTNwYXoAbWiq-lI,22616
7
7
  vuer/types.py,sha256=N2KLa0fl6z8Jm6cJwZoD8Vqrins_AayG5BCGk1p3Eek,1279
8
8
  vuer/__pycache__/__init__.cpython-38.pyc,sha256=5iTFXy2ivwedwlehtJwBje7Bh3j86bu9TZh_waR8kvs,644
9
- vuer/__pycache__/base.cpython-38.pyc,sha256=Kp5PXKwWZm5Tu1MYnfKfpC7cRIkyafDGJ8QXvjDwHfI,4017
9
+ vuer/__pycache__/base.cpython-38.pyc,sha256=U-ZxX__tpodeFai2-f6ZADy9gAG6xsYCPQPLrFljt3A,4579
10
10
  vuer/__pycache__/events.cpython-38.pyc,sha256=zx3bXeJixqOyCFe2nA7qpq6jiCJ49kRaXO-xONGUyeQ,9616
11
11
  vuer/__pycache__/schemas.cpython-38.pyc,sha256=hvY9Aak8zE-zKcWiwuNe6DghOw9qH_zSe_FtkBOAPPk,23234
12
12
  vuer/__pycache__/serdes.cpython-38.pyc,sha256=GncycLg8qwrlKR-X5el9txThHkY_zqejmZlpQKAeJnA,2253
13
- vuer/__pycache__/server.cpython-38.pyc,sha256=nNWECHle-JuKsMTveG7APYe0mjeRDj-qByhoBfQqojU,20493
13
+ vuer/__pycache__/server.cpython-38.pyc,sha256=HhrlTfHGBrl43_SQV65Rhw7gYNxix6LA-SZ-yst8X00,20667
14
14
  vuer/__pycache__/types.cpython-38.pyc,sha256=IhlXtkT-XWM0V1420FDuoqIYnpvRvekYVkGqEK7fAV8,1819
15
15
  vuer/addons/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
16
  vuer/addons/nerf_vuer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -101,9 +101,9 @@ vuer/schemas/__pycache__/__init__.cpython-38.pyc,sha256=NRnVrpIDBKne93xOUY1-Wpav
101
101
  vuer/schemas/__pycache__/drei_components.cpython-38.pyc,sha256=g_ufcKxf-XKfZLdUV-HqKnjIrgxGWFv51aHLWQgH-ws,7712
102
102
  vuer/schemas/__pycache__/html_components.cpython-38.pyc,sha256=sk2gDqu_zNQMS-PC8d3L90bvjFjTBb8-UKK9Ka5aoAw,8348
103
103
  vuer/schemas/__pycache__/scene_components.cpython-38.pyc,sha256=FCBjSZs-lX5YvhcL3K0s_T_oz2Fm8NAdd-XsPoXQc9s,22109
104
- vuer-0.0.29rc7.dist-info/LICENSE,sha256=MGF-inVBUaGe2mEjqT0g6XsHIXwoNXgNHqD7Z1MzR0k,1063
105
- vuer-0.0.29rc7.dist-info/METADATA,sha256=n73wBJ2lMtvXtC11ej_S8lE0tYYoKPnf1g9_6wwmln4,5349
106
- vuer-0.0.29rc7.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
107
- vuer-0.0.29rc7.dist-info/entry_points.txt,sha256=J_NM6fbpipmD9oP7cdxd1UyBR8mVEQVx0xjlE_56yss,41
108
- vuer-0.0.29rc7.dist-info/top_level.txt,sha256=ermmVkwvGFAK4gfSgDIwOmKpxwpqNt-oo7gVQQUSHok,5
109
- vuer-0.0.29rc7.dist-info/RECORD,,
104
+ vuer-0.0.29rc9.dist-info/LICENSE,sha256=MGF-inVBUaGe2mEjqT0g6XsHIXwoNXgNHqD7Z1MzR0k,1063
105
+ vuer-0.0.29rc9.dist-info/METADATA,sha256=0njgD4sTvLOP2Q9iu99RKpVjL6fEHFuZooCbv_8t8eU,5349
106
+ vuer-0.0.29rc9.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
107
+ vuer-0.0.29rc9.dist-info/entry_points.txt,sha256=J_NM6fbpipmD9oP7cdxd1UyBR8mVEQVx0xjlE_56yss,41
108
+ vuer-0.0.29rc9.dist-info/top_level.txt,sha256=ermmVkwvGFAK4gfSgDIwOmKpxwpqNt-oo7gVQQUSHok,5
109
+ vuer-0.0.29rc9.dist-info/RECORD,,