Vease-Viewer 2.1.2rc1__tar.gz → 2.2.0rc2__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/PKG-INFO +3 -3
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/pyproject.toml +1 -1
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/requirements_gpu.txt +1 -1
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/PKG-INFO +3 -3
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/SOURCES.txt +3 -1
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/requires.txt +1 -1
- vease_viewer-2.2.0rc2/src/vease_viewer/app.py +14 -0
- vease_viewer-2.2.0rc2/src/vease_viewer/rpc/protocols.py +24 -0
- vease_viewer-2.2.0rc2/src/vease_viewer/rpc/schemas/microservice_version.json +7 -0
- vease_viewer-2.1.2rc1/src/vease_viewer/app.py +0 -13
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/LICENSE +0 -0
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/README.md +0 -0
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/setup.cfg +0 -0
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/dependency_links.txt +0 -0
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/entry_points.txt +0 -0
- {vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: Vease-Viewer
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.2.0rc2
|
4
4
|
Summary: Vease-Viewer is the viewer microservice of Vease
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/Vease-Viewer
|
@@ -26,7 +26,7 @@ Requires-Dist: kiwisolver==1.4.8
|
|
26
26
|
Requires-Dist: matplotlib==3.10.0
|
27
27
|
Requires-Dist: multidict==6.0.5
|
28
28
|
Requires-Dist: numpy==2.2.1
|
29
|
-
Requires-Dist: opengeodeweb-viewer[gpu]==1.
|
29
|
+
Requires-Dist: opengeodeweb-viewer[gpu]==1.2.0
|
30
30
|
Requires-Dist: packaging==24.2
|
31
31
|
Requires-Dist: pillow==11.1.0
|
32
32
|
Requires-Dist: pyparsing==3.2.1
|
@@ -1,6 +1,6 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.2
|
2
2
|
Name: Vease-Viewer
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.2.0rc2
|
4
4
|
Summary: Vease-Viewer is the viewer microservice of Vease
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/Vease-Viewer
|
@@ -26,7 +26,7 @@ Requires-Dist: kiwisolver==1.4.8
|
|
26
26
|
Requires-Dist: matplotlib==3.10.0
|
27
27
|
Requires-Dist: multidict==6.0.5
|
28
28
|
Requires-Dist: numpy==2.2.1
|
29
|
-
Requires-Dist: opengeodeweb-viewer[gpu]==1.
|
29
|
+
Requires-Dist: opengeodeweb-viewer[gpu]==1.2.0
|
30
30
|
Requires-Dist: packaging==24.2
|
31
31
|
Requires-Dist: pillow==11.1.0
|
32
32
|
Requires-Dist: pyparsing==3.2.1
|
@@ -8,4 +8,6 @@ src/Vease_Viewer.egg-info/dependency_links.txt
|
|
8
8
|
src/Vease_Viewer.egg-info/entry_points.txt
|
9
9
|
src/Vease_Viewer.egg-info/requires.txt
|
10
10
|
src/Vease_Viewer.egg-info/top_level.txt
|
11
|
-
src/vease_viewer/app.py
|
11
|
+
src/vease_viewer/app.py
|
12
|
+
src/vease_viewer/rpc/protocols.py
|
13
|
+
src/vease_viewer/rpc/schemas/microservice_version.json
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Standard library imports
|
2
|
+
|
3
|
+
# Third party imports
|
4
|
+
from opengeodeweb_viewer.vtkw_server import _Server, run_server
|
5
|
+
|
6
|
+
# Local application imports
|
7
|
+
from vease_viewer.rpc.protocols import VtkVeaseViewerView
|
8
|
+
|
9
|
+
def run_viewer():
|
10
|
+
_Server.custom_protocols.append(VtkVeaseViewerView())
|
11
|
+
run_server()
|
12
|
+
|
13
|
+
if __name__ == "__main__":
|
14
|
+
run_viewer()
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Standard library imports
|
2
|
+
import os
|
3
|
+
import pkg_resources
|
4
|
+
|
5
|
+
# Third party imports
|
6
|
+
from opengeodeweb_viewer.utils_functions import get_schemas_dict, validate_schema
|
7
|
+
from vtk.web import protocols as vtk_protocols
|
8
|
+
from wslink import register as exportRpc
|
9
|
+
|
10
|
+
# Local application imports
|
11
|
+
|
12
|
+
class VtkVeaseViewerView(vtk_protocols.vtkWebProtocol):
|
13
|
+
prefix = "vease_viewer."
|
14
|
+
schemas_dict = get_schemas_dict(os.path.join(os.path.dirname(__file__), "schemas"))
|
15
|
+
|
16
|
+
def __init__(self):
|
17
|
+
super().__init__()
|
18
|
+
|
19
|
+
@exportRpc(prefix + schemas_dict["microservice_version"]["rpc"])
|
20
|
+
def microservice_version(self, params):
|
21
|
+
print(self.prefix + self.schemas_dict["microservice_version"]["rpc"], f"{params=}", flush=True)
|
22
|
+
validate_schema(params, self.schemas_dict["microservice_version"])
|
23
|
+
|
24
|
+
return {"microservice_version": pkg_resources.get_distribution("vease_viewer").version}
|
File without changes
|
File without changes
|
File without changes
|
{vease_viewer-2.1.2rc1 → vease_viewer-2.2.0rc2}/src/Vease_Viewer.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|