PyGeoModel 1.0.7__tar.gz → 1.0.8__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.
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/PKG-INFO +2 -27
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/PyGeoModel.egg-info/PKG-INFO +2 -27
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/README.md +1 -25
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/__init__.py +1 -1
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/results.py +1 -1
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/setup.py +1 -2
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/LICENSE +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/MANIFEST.in +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/PyGeoModel.egg-info/SOURCES.txt +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/PyGeoModel.egg-info/dependency_links.txt +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/PyGeoModel.egg-info/requires.txt +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/PyGeoModel.egg-info/top_level.txt +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/__init__.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/base.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/constants.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openModel.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openUtils/__init__.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openUtils/exceptions.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openUtils/http_client.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openUtils/mdlUtils.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openUtils/parameterValidator.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/ogmsServer2/openUtils/stateManager.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/client.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/config.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/consensus.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/context.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/data/__init__.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/data/computeModel.json +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/data/modelContext.txt +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/modeler.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/models.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/notebook.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/qa.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/pygeomodel/recommendation.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/scripts.py +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/setup.cfg +0 -0
- {pygeomodel-1.0.7 → pygeomodel-1.0.8}/tests/test_core_api.py +0 -0
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyGeoModel
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Summary: A Python package for integrating OpenGMS geographic model services.
|
|
5
5
|
Home-page: https://github.com/MpLebron/PyGeoModel
|
|
6
6
|
Author: Peilong Ma
|
|
7
7
|
Author-email: mpl_gis@nnu.edu.cn
|
|
8
8
|
Keywords: geographic modeling,GIS,OpenGMS,model services,geospatial analysis,jupyter
|
|
9
|
-
Classifier: Development Status :: 4 - Beta
|
|
10
9
|
Classifier: Intended Audience :: Science/Research
|
|
11
10
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
12
11
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
@@ -91,20 +90,6 @@ result = modeler.invoke(
|
|
|
91
90
|
result.to_json("execution_record.json")
|
|
92
91
|
```
|
|
93
92
|
|
|
94
|
-
OpenGMS execution uses the bundled public demo token by default. For stable or private use, configure your own OpenGMS token:
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
export OGMS_TOKEN="your-token"
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Optional endpoint overrides:
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
export OGMS_BASE_PORTAL_URL="http://222.192.7.75"
|
|
104
|
-
export OGMS_BASE_MANAGER_URL="http://222.192.7.75/managerServer"
|
|
105
|
-
export OGMS_BASE_DATA_URL="http://222.192.7.75/dataTransferServer"
|
|
106
|
-
```
|
|
107
|
-
|
|
108
93
|
## Notebook Interface
|
|
109
94
|
|
|
110
95
|
```python
|
|
@@ -124,18 +109,8 @@ answer = modeler.ask_model("SWAT_Model", "What input data are required?")
|
|
|
124
109
|
answer.to_json("qa_record.json")
|
|
125
110
|
```
|
|
126
111
|
|
|
127
|
-
The recommendation service automatically builds notebook/data context and calls the configured
|
|
112
|
+
The recommendation service automatically builds notebook/data context and calls the configured recommendation workflow. Q&A uses OpenGMS model metadata and an OpenAI-compatible web-enabled model. The main notebook workflow is designed to run out of the box for demonstration use.
|
|
128
113
|
|
|
129
114
|
## Relation to OpenGMS
|
|
130
115
|
|
|
131
116
|
OpenGMS provides the model-service platform and online execution infrastructure. PyGeoModel is a Python client package that exposes OpenGMS model-service discovery, metadata inspection, task invocation, and result records to Python and notebook workflows.
|
|
132
|
-
|
|
133
|
-
## Development
|
|
134
|
-
|
|
135
|
-
Run the lightweight test suite with:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
python -m unittest discover -s tests
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
The source distribution should not include real API keys, local `.env` files, bytecode caches, generated C files, `.pyd` binaries, or previous build artifacts.
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PyGeoModel
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.8
|
|
4
4
|
Summary: A Python package for integrating OpenGMS geographic model services.
|
|
5
5
|
Home-page: https://github.com/MpLebron/PyGeoModel
|
|
6
6
|
Author: Peilong Ma
|
|
7
7
|
Author-email: mpl_gis@nnu.edu.cn
|
|
8
8
|
Keywords: geographic modeling,GIS,OpenGMS,model services,geospatial analysis,jupyter
|
|
9
|
-
Classifier: Development Status :: 4 - Beta
|
|
10
9
|
Classifier: Intended Audience :: Science/Research
|
|
11
10
|
Classifier: Topic :: Scientific/Engineering :: GIS
|
|
12
11
|
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
@@ -91,20 +90,6 @@ result = modeler.invoke(
|
|
|
91
90
|
result.to_json("execution_record.json")
|
|
92
91
|
```
|
|
93
92
|
|
|
94
|
-
OpenGMS execution uses the bundled public demo token by default. For stable or private use, configure your own OpenGMS token:
|
|
95
|
-
|
|
96
|
-
```bash
|
|
97
|
-
export OGMS_TOKEN="your-token"
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Optional endpoint overrides:
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
export OGMS_BASE_PORTAL_URL="http://222.192.7.75"
|
|
104
|
-
export OGMS_BASE_MANAGER_URL="http://222.192.7.75/managerServer"
|
|
105
|
-
export OGMS_BASE_DATA_URL="http://222.192.7.75/dataTransferServer"
|
|
106
|
-
```
|
|
107
|
-
|
|
108
93
|
## Notebook Interface
|
|
109
94
|
|
|
110
95
|
```python
|
|
@@ -124,18 +109,8 @@ answer = modeler.ask_model("SWAT_Model", "What input data are required?")
|
|
|
124
109
|
answer.to_json("qa_record.json")
|
|
125
110
|
```
|
|
126
111
|
|
|
127
|
-
The recommendation service automatically builds notebook/data context and calls the configured
|
|
112
|
+
The recommendation service automatically builds notebook/data context and calls the configured recommendation workflow. Q&A uses OpenGMS model metadata and an OpenAI-compatible web-enabled model. The main notebook workflow is designed to run out of the box for demonstration use.
|
|
128
113
|
|
|
129
114
|
## Relation to OpenGMS
|
|
130
115
|
|
|
131
116
|
OpenGMS provides the model-service platform and online execution infrastructure. PyGeoModel is a Python client package that exposes OpenGMS model-service discovery, metadata inspection, task invocation, and result records to Python and notebook workflows.
|
|
132
|
-
|
|
133
|
-
## Development
|
|
134
|
-
|
|
135
|
-
Run the lightweight test suite with:
|
|
136
|
-
|
|
137
|
-
```bash
|
|
138
|
-
python -m unittest discover -s tests
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
The source distribution should not include real API keys, local `.env` files, bytecode caches, generated C files, `.pyd` binaries, or previous build artifacts.
|
|
@@ -45,20 +45,6 @@ result = modeler.invoke(
|
|
|
45
45
|
result.to_json("execution_record.json")
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
OpenGMS execution uses the bundled public demo token by default. For stable or private use, configure your own OpenGMS token:
|
|
49
|
-
|
|
50
|
-
```bash
|
|
51
|
-
export OGMS_TOKEN="your-token"
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
Optional endpoint overrides:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
export OGMS_BASE_PORTAL_URL="http://222.192.7.75"
|
|
58
|
-
export OGMS_BASE_MANAGER_URL="http://222.192.7.75/managerServer"
|
|
59
|
-
export OGMS_BASE_DATA_URL="http://222.192.7.75/dataTransferServer"
|
|
60
|
-
```
|
|
61
|
-
|
|
62
48
|
## Notebook Interface
|
|
63
49
|
|
|
64
50
|
```python
|
|
@@ -78,18 +64,8 @@ answer = modeler.ask_model("SWAT_Model", "What input data are required?")
|
|
|
78
64
|
answer.to_json("qa_record.json")
|
|
79
65
|
```
|
|
80
66
|
|
|
81
|
-
The recommendation service automatically builds notebook/data context and calls the configured
|
|
67
|
+
The recommendation service automatically builds notebook/data context and calls the configured recommendation workflow. Q&A uses OpenGMS model metadata and an OpenAI-compatible web-enabled model. The main notebook workflow is designed to run out of the box for demonstration use.
|
|
82
68
|
|
|
83
69
|
## Relation to OpenGMS
|
|
84
70
|
|
|
85
71
|
OpenGMS provides the model-service platform and online execution infrastructure. PyGeoModel is a Python client package that exposes OpenGMS model-service discovery, metadata inspection, task invocation, and result records to Python and notebook workflows.
|
|
86
|
-
|
|
87
|
-
## Development
|
|
88
|
-
|
|
89
|
-
Run the lightweight test suite with:
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
python -m unittest discover -s tests
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
The source distribution should not include real API keys, local `.env` files, bytecode caches, generated C files, `.pyd` binaries, or previous build artifacts.
|
|
@@ -29,7 +29,7 @@ class TaskResult:
|
|
|
29
29
|
params: dict[str, Any] = field(default_factory=dict)
|
|
30
30
|
uploaded_inputs: dict[str, Any] = field(default_factory=dict)
|
|
31
31
|
endpoint: str | None = None
|
|
32
|
-
pygeomodel_version: str = "1.0.
|
|
32
|
+
pygeomodel_version: str = "1.0.8"
|
|
33
33
|
execution_time: float | None = None
|
|
34
34
|
created_at: float = field(default_factory=time.time)
|
|
35
35
|
|
|
@@ -11,7 +11,7 @@ def read_readme():
|
|
|
11
11
|
|
|
12
12
|
setup(
|
|
13
13
|
name="PyGeoModel",
|
|
14
|
-
version="1.0.
|
|
14
|
+
version="1.0.8",
|
|
15
15
|
author="Peilong Ma",
|
|
16
16
|
author_email="mpl_gis@nnu.edu.cn",
|
|
17
17
|
description="A Python package for integrating OpenGMS geographic model services.",
|
|
@@ -41,7 +41,6 @@ setup(
|
|
|
41
41
|
},
|
|
42
42
|
python_requires=">=3.8",
|
|
43
43
|
classifiers=[
|
|
44
|
-
"Development Status :: 4 - Beta",
|
|
45
44
|
"Intended Audience :: Science/Research",
|
|
46
45
|
"Topic :: Scientific/Engineering :: GIS",
|
|
47
46
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
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
|
|
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
|