OpenGeodeWeb-Viewer 0.1.2__tar.gz → 0.2.0__tar.gz
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.
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/PKG-INFO +2 -2
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/pyproject.toml +2 -2
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/PKG-INFO +2 -2
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/requires.txt +1 -1
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/config.py +1 -1
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/vtkw_server.py +7 -3
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/LICENSE +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/README.md +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/requirements.txt +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/setup.cfg +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/SOURCES.txt +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/dependency_links.txt +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/entry_points.txt +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/top_level.txt +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/__init__.py +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/function.py +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/apply_textures.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/create_object_pipeline.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/create_visualization.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/delete_object_pipeline.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/get_point_position.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/point_size.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/reset.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/reset_camera.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/set_color.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/set_vertex_attribute.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/toggle_edge_visibility.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/toggle_object_visibility.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/toggle_point_visibility.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/rpc/schemas/update_data.json +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/vtk_override_protocols.py +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/vtk_protocol.py +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/tests/__init__.py +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/tests/conftest.py +0 -0
- {opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/tests/test_protocol.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: OpenGeodeWeb-Viewer
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: OpenGeodeWeb-Viewer is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem
|
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/OpenGeodeWeb-Viewer
|
|
@@ -27,7 +27,7 @@ Requires-Dist: websocket-client==1.7.0
|
|
|
27
27
|
Requires-Dist: wslink==1.12.4
|
|
28
28
|
Requires-Dist: yarl==1.9.4
|
|
29
29
|
Provides-Extra: gpu
|
|
30
|
-
Requires-Dist: vtk==9
|
|
30
|
+
Requires-Dist: vtk==9.3.1; extra == "gpu"
|
|
31
31
|
|
|
32
32
|
# OpenGeodeWeb-Viewer
|
|
33
33
|
|
|
@@ -5,7 +5,7 @@ build-backend = "setuptools.build_meta"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "OpenGeodeWeb-Viewer"
|
|
8
|
-
version = "0.
|
|
8
|
+
version = "0.2.0"
|
|
9
9
|
dynamic = ["dependencies"]
|
|
10
10
|
authors = [
|
|
11
11
|
{ name="Geode-solutions", email="team-web@geode-solutions.com" },
|
|
@@ -20,7 +20,7 @@ classifiers = [
|
|
|
20
20
|
]
|
|
21
21
|
|
|
22
22
|
[project.optional-dependencies]
|
|
23
|
-
gpu = ["vtk == 9
|
|
23
|
+
gpu = ["vtk == 9.3.1"]
|
|
24
24
|
|
|
25
25
|
[project.urls]
|
|
26
26
|
"Homepage" = "https://github.com/Geode-solutions/OpenGeodeWeb-Viewer"
|
{opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: OpenGeodeWeb-Viewer
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: OpenGeodeWeb-Viewer is an open source framework that proposes handy python functions and wrappers for the OpenGeode ecosystem
|
|
5
5
|
Author-email: Geode-solutions <team-web@geode-solutions.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/Geode-solutions/OpenGeodeWeb-Viewer
|
|
@@ -27,7 +27,7 @@ Requires-Dist: websocket-client==1.7.0
|
|
|
27
27
|
Requires-Dist: wslink==1.12.4
|
|
28
28
|
Requires-Dist: yarl==1.9.4
|
|
29
29
|
Provides-Extra: gpu
|
|
30
|
-
Requires-Dist: vtk==9
|
|
30
|
+
Requires-Dist: vtk==9.3.1; extra == "gpu"
|
|
31
31
|
|
|
32
32
|
# OpenGeodeWeb-Viewer
|
|
33
33
|
|
{opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/vtkw_server.py
RENAMED
|
@@ -20,11 +20,12 @@ class _Server(vtk_wslink.ServerProtocol):
|
|
|
20
20
|
# Defaults
|
|
21
21
|
authKey = "wslink-secret"
|
|
22
22
|
view = None
|
|
23
|
+
debug = False
|
|
23
24
|
|
|
24
25
|
@staticmethod
|
|
25
26
|
def add_arguments(parser):
|
|
26
27
|
parser.add_argument(
|
|
27
|
-
"--
|
|
28
|
+
"--data_folder_path", default=os.environ.get("DATA_FOLDER_PATH"), help="Path to the folder where data is stored"
|
|
28
29
|
)
|
|
29
30
|
|
|
30
31
|
@staticmethod
|
|
@@ -70,6 +71,7 @@ class _Server(vtk_wslink.ServerProtocol):
|
|
|
70
71
|
widget.SetOrientationMarker(axes)
|
|
71
72
|
widget.EnabledOn()
|
|
72
73
|
widget.InteractiveOff()
|
|
74
|
+
renderWindow.SetOffScreenRendering(not _Server.debug)
|
|
73
75
|
self.setSharedObject("marker", widget)
|
|
74
76
|
|
|
75
77
|
|
|
@@ -94,10 +96,12 @@ def run_server():
|
|
|
94
96
|
|
|
95
97
|
_Server.add_arguments(parser)
|
|
96
98
|
args = parser.parse_args()
|
|
97
|
-
args.port
|
|
99
|
+
if not "port" in args or args.port == 8080:
|
|
100
|
+
args.port = os.environ.get("DEFAULT_PORT")
|
|
101
|
+
if "data_folder_path" in args:
|
|
102
|
+
os.environ["DATA_FOLDER_PATH"] = args.data_folder_path
|
|
98
103
|
args.host = os.environ.get("HOST")
|
|
99
104
|
print(f"{args=}", flush=True)
|
|
100
|
-
|
|
101
105
|
_Server.configure(args)
|
|
102
106
|
server.start_webserver(options=args, protocol=_Server)
|
|
103
107
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/OpenGeodeWeb_Viewer.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{opengeodeweb_viewer-0.1.2 → opengeodeweb_viewer-0.2.0}/src/opengeodeweb_viewer/vtk_protocol.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|