OpenGeodeWeb-Back 5.5.1__py3-none-any.whl → 5.6.0rc1__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.
- opengeodeweb_back/routes/blueprint_routes.py +20 -0
- opengeodeweb_back/routes/schemas/texture_coordinates.json +24 -0
- {opengeodeweb_back-5.5.1.dist-info → opengeodeweb_back-5.6.0rc1.dist-info}/METADATA +8 -8
- {opengeodeweb_back-5.5.1.dist-info → opengeodeweb_back-5.6.0rc1.dist-info}/RECORD +7 -6
- {opengeodeweb_back-5.5.1.dist-info → opengeodeweb_back-5.6.0rc1.dist-info}/WHEEL +1 -1
- {opengeodeweb_back-5.5.1.dist-info → opengeodeweb_back-5.6.0rc1.dist-info}/LICENSE +0 -0
- {opengeodeweb_back-5.5.1.dist-info → opengeodeweb_back-5.6.0rc1.dist-info}/top_level.txt +0 -0
@@ -305,6 +305,26 @@ def create_point():
|
|
305
305
|
)
|
306
306
|
|
307
307
|
|
308
|
+
with open(os.path.join(schemas, "texture_coordinates.json"), "r") as file:
|
309
|
+
texture_coordinates_json = json.load(file)
|
310
|
+
|
311
|
+
|
312
|
+
@routes.route(
|
313
|
+
texture_coordinates_json["route"],
|
314
|
+
methods=texture_coordinates_json["methods"],
|
315
|
+
)
|
316
|
+
def texture_coordinates():
|
317
|
+
DATA_FOLDER_PATH = flask.current_app.config["DATA_FOLDER_PATH"]
|
318
|
+
utils_functions.validate_request(flask.request, texture_coordinates_json)
|
319
|
+
data = geode_functions.load(
|
320
|
+
flask.request.json["input_geode_object"],
|
321
|
+
os.path.join(DATA_FOLDER_PATH, flask.request.json["filename"]),
|
322
|
+
)
|
323
|
+
texture_coordinates = data.texture_manager().texture_names()
|
324
|
+
|
325
|
+
return flask.make_response({"texture_coordinates": texture_coordinates}, 200)
|
326
|
+
|
327
|
+
|
308
328
|
with open(
|
309
329
|
os.path.join(schemas, "vertex_attribute_names.json"),
|
310
330
|
"r",
|
@@ -0,0 +1,24 @@
|
|
1
|
+
{
|
2
|
+
"route": "/texture_coordinates",
|
3
|
+
"methods": [
|
4
|
+
"POST"
|
5
|
+
],
|
6
|
+
"type": "object",
|
7
|
+
"properties": {
|
8
|
+
"input_geode_object": {
|
9
|
+
"type": [
|
10
|
+
"string"
|
11
|
+
]
|
12
|
+
},
|
13
|
+
"filename": {
|
14
|
+
"type": [
|
15
|
+
"string"
|
16
|
+
]
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"required": [
|
20
|
+
"input_geode_object",
|
21
|
+
"filename"
|
22
|
+
],
|
23
|
+
"additionalProperties": false
|
24
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: OpenGeodeWeb-Back
|
3
|
-
Version: 5.
|
3
|
+
Version: 5.6.0rc1
|
4
4
|
Summary: OpenGeodeWeb-Back 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-Back
|
@@ -16,27 +16,27 @@ Requires-Dist: attrs==25.1.0
|
|
16
16
|
Requires-Dist: blinker==1.9.0
|
17
17
|
Requires-Dist: click==8.1.8
|
18
18
|
Requires-Dist: flask[async]==3.1.0
|
19
|
-
Requires-Dist: flask-cors==5.0.
|
20
|
-
Requires-Dist: geode-background==8.9.
|
21
|
-
Requires-Dist: geode-common==33.5.
|
22
|
-
Requires-Dist: geode-conversion==6.1.
|
19
|
+
Requires-Dist: flask-cors==5.0.1
|
20
|
+
Requires-Dist: geode-background==8.9.4
|
21
|
+
Requires-Dist: geode-common==33.5.1rc1
|
22
|
+
Requires-Dist: geode-conversion==6.1.6
|
23
23
|
Requires-Dist: geode-explicit==6.1.28
|
24
24
|
Requires-Dist: geode-implicit==3.5.2
|
25
25
|
Requires-Dist: geode-numerics==5.2.5
|
26
|
-
Requires-Dist: geode-simplex==9.0.
|
26
|
+
Requires-Dist: geode-simplex==9.0.12rc1
|
27
27
|
Requires-Dist: geode-viewables==3.0.10
|
28
28
|
Requires-Dist: itsdangerous==2.2.0
|
29
29
|
Requires-Dist: jinja2==3.1.5
|
30
30
|
Requires-Dist: jsonschema==4.23.0
|
31
31
|
Requires-Dist: jsonschema-specifications==2024.10.1
|
32
32
|
Requires-Dist: markupsafe==3.0.2
|
33
|
-
Requires-Dist: opengeode-core==15.
|
33
|
+
Requires-Dist: opengeode-core==15.13.0rc1
|
34
34
|
Requires-Dist: opengeode-geosciences==8.2.2
|
35
35
|
Requires-Dist: opengeode-geosciencesio==5.3.6
|
36
36
|
Requires-Dist: opengeode-inspector==6.3.7
|
37
37
|
Requires-Dist: opengeode-io==7.1.0
|
38
38
|
Requires-Dist: referencing==0.36.2
|
39
|
-
Requires-Dist: rpds-py==0.
|
39
|
+
Requires-Dist: rpds-py==0.23.1
|
40
40
|
Requires-Dist: typing-extensions==4.12.2
|
41
41
|
Requires-Dist: werkzeug==3.1.3
|
42
42
|
|
@@ -4,7 +4,7 @@ opengeodeweb_back/geode_functions.py,sha256=ei0eI3pWMqzrhgI5ta5HtnoRoNs-GCqtkXe5
|
|
4
4
|
opengeodeweb_back/geode_objects.py,sha256=4XH0TGujHw3LIBIzPLBa2eqxyfjVLo9hywKYxXEp-zU,24372
|
5
5
|
opengeodeweb_back/test_utils.py,sha256=gvRPOzin4nI5TKuB-AFgIxcekTOYM4h7yUYk0tYIZFI,820
|
6
6
|
opengeodeweb_back/utils_functions.py,sha256=18kp8M3bnrlu692qj-ymJJPA1hTpPjx_xl9oVi5qGyg,4120
|
7
|
-
opengeodeweb_back/routes/blueprint_routes.py,sha256=
|
7
|
+
opengeodeweb_back/routes/blueprint_routes.py,sha256=r8lEKmYKetN8bS0N4wOZeEwMpSWl_8YyhCchrQfPfPU,13174
|
8
8
|
opengeodeweb_back/routes/schemas/allowed_files.json,sha256=pRsGf39LiJpl3zEGLg4IqvRtm7iUx3Wq4Tb4tSFXGV0,234
|
9
9
|
opengeodeweb_back/routes/schemas/allowed_objects.json,sha256=8JLtAI46eXeiJuiryS2geRVv0J1rGkFb87pRwtBZSZw,296
|
10
10
|
opengeodeweb_back/routes/schemas/create_point.json,sha256=fqBOLRxpRtCVz1t7ottdfhSMREhqNFUHrQwamn-F7Ds,306
|
@@ -16,10 +16,11 @@ opengeodeweb_back/routes/schemas/ping.json,sha256=MhI5jtrjMsAsfIKEzdY8p1HyV9xv4O
|
|
16
16
|
opengeodeweb_back/routes/schemas/polygon_attribute_names.json,sha256=y0qDZ0v3zkzYuM-9jfBXU0aTUnWz2w0gXqes9Xs7PgE,296
|
17
17
|
opengeodeweb_back/routes/schemas/polyhedron_attribute_names.json,sha256=FaW1kMC4D4LrdvCGMzWVM6d7zq1pxrr-YwdVdmaWx8k,299
|
18
18
|
opengeodeweb_back/routes/schemas/save_viewable_file.json,sha256=7BXO8vsQrmqyEQ2uycm2Ift_EY7a0KocvnGEjYrQFcQ,368
|
19
|
+
opengeodeweb_back/routes/schemas/texture_coordinates.json,sha256=iLlP6EQiLpzfKBXdrX3fmse_4V_QjblEDV2f2AMUM20,347
|
19
20
|
opengeodeweb_back/routes/schemas/upload_file.json,sha256=sE6bxz3mJbSZlGmrnR_hZmcx0dvZGn3Wpnn6szRPxXQ,186
|
20
21
|
opengeodeweb_back/routes/schemas/vertex_attribute_names.json,sha256=wijww9z7vVUIr1_3hMnR5efpMfW2-o2-QvcO_MVDefE,295
|
21
|
-
opengeodeweb_back-5.
|
22
|
-
opengeodeweb_back-5.
|
23
|
-
opengeodeweb_back-5.
|
24
|
-
opengeodeweb_back-5.
|
25
|
-
opengeodeweb_back-5.
|
22
|
+
opengeodeweb_back-5.6.0rc1.dist-info/LICENSE,sha256=LoTB-aqQvzTGxoTRXNnhNV0LKiqdk2bQv6MB34l8zkI,1079
|
23
|
+
opengeodeweb_back-5.6.0rc1.dist-info/METADATA,sha256=kt9Kk5g4qMoHpQZjs3l8i9mmYT51GHcYvfgN0pOPYOs,3068
|
24
|
+
opengeodeweb_back-5.6.0rc1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
25
|
+
opengeodeweb_back-5.6.0rc1.dist-info/top_level.txt,sha256=tN1FZeLIVBrdja2-pbmhg5-tK-JILmmT9OeIBnhlUrQ,18
|
26
|
+
opengeodeweb_back-5.6.0rc1.dist-info/RECORD,,
|
File without changes
|
File without changes
|