vantage6-algorithm-tools 4.13.7__tar.gz → 4.14.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.
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/PKG-INFO +3 -3
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/setup.py +2 -2
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/client/__init__.py +7 -6
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/client/_version.py +1 -1
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6_algorithm_tools.egg-info/PKG-INFO +3 -3
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6_algorithm_tools.egg-info/requires.txt +2 -2
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/setup.cfg +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/__init__.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/algorithm/__init__.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/algorithm/test___init__.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/algorithm_module.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/base/__init__.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/test_deserialization.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/test_docker_wrapper.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/test_serialization.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/client/__build__ +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/__init__.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/decorators.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/exceptions.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/mock_client.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/preprocessing/__init__.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/preprocessing/functions.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/util.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/wrap.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/wrappers.py +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6_algorithm_tools.egg-info/SOURCES.txt +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6_algorithm_tools.egg-info/dependency_links.txt +0 -0
- {vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6_algorithm_tools.egg-info/top_level.txt +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vantage6_algorithm_tools
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.14.0
|
|
4
4
|
Summary: Vantage6 algorithm tools
|
|
5
5
|
Home-page: https://github.com/vantage6/vantage6
|
|
6
6
|
Requires-Python: >=3.6
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Requires-Dist: openpyxl>=3.0.0
|
|
9
9
|
Requires-Dist: pandas>=1.5.3
|
|
10
|
-
Requires-Dist: pyjwt==2.
|
|
10
|
+
Requires-Dist: pyjwt==2.12.1
|
|
11
11
|
Requires-Dist: pyfiglet==1.0.4
|
|
12
12
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
13
13
|
Requires-Dist: SPARQLWrapper>=2.0.0
|
|
14
14
|
Requires-Dist: sqlalchemy==1.4.46
|
|
15
|
-
Requires-Dist: vantage6-common==4.
|
|
15
|
+
Requires-Dist: vantage6-common==4.14.0
|
|
16
16
|
Provides-Extra: dev
|
|
17
17
|
Requires-Dist: black; extra == "dev"
|
|
18
18
|
Requires-Dist: pre-commit; extra == "dev"
|
|
@@ -34,14 +34,14 @@ setup(
|
|
|
34
34
|
install_requires=[
|
|
35
35
|
"openpyxl>=3.0.0",
|
|
36
36
|
"pandas>=1.5.3",
|
|
37
|
-
"pyjwt==2.
|
|
37
|
+
"pyjwt==2.12.1",
|
|
38
38
|
"pyfiglet==1.0.4",
|
|
39
39
|
# psycopg2-binary is not used directly in algorithm tools, but is necessary when
|
|
40
40
|
# running SQL queries on a postgres database.
|
|
41
41
|
"psycopg2-binary==2.9.10",
|
|
42
42
|
"SPARQLWrapper>=2.0.0",
|
|
43
43
|
"sqlalchemy==1.4.46",
|
|
44
|
-
f
|
|
44
|
+
f"vantage6-common=={version_ns['__version__']}",
|
|
45
45
|
],
|
|
46
46
|
extras_require={
|
|
47
47
|
"dev": [
|
|
@@ -157,7 +157,8 @@ class AlgorithmClient(ClientBase):
|
|
|
157
157
|
endpoint: str
|
|
158
158
|
Endpoint to which the request should be made.
|
|
159
159
|
params: dict
|
|
160
|
-
Parameters to be passed to the request.
|
|
160
|
+
Parameters to be passed to the request. If 'page' is present, it
|
|
161
|
+
will be ignored.
|
|
161
162
|
|
|
162
163
|
Returns
|
|
163
164
|
-------
|
|
@@ -168,18 +169,18 @@ class AlgorithmClient(ClientBase):
|
|
|
168
169
|
params = {}
|
|
169
170
|
# get first page
|
|
170
171
|
page = 1
|
|
171
|
-
params
|
|
172
|
-
|
|
172
|
+
response = self.request(endpoint, params={**params, "page": page})
|
|
173
|
+
data = response["data"]
|
|
173
174
|
|
|
174
175
|
# append next pages (if any)
|
|
175
176
|
links = response.get("links")
|
|
176
177
|
while links and links.get("next"):
|
|
177
178
|
page += 1
|
|
178
|
-
params
|
|
179
|
-
|
|
179
|
+
response = self.request(endpoint, params={**params, "page": page})
|
|
180
|
+
data += response["data"]
|
|
180
181
|
links = response.get("links")
|
|
181
182
|
|
|
182
|
-
return
|
|
183
|
+
return data
|
|
183
184
|
|
|
184
185
|
class Run(ClientBase.SubClient):
|
|
185
186
|
"""
|
|
@@ -7,7 +7,7 @@ with open(os.path.join(here, "__build__")) as fp:
|
|
|
7
7
|
__build__ = json.load(fp)
|
|
8
8
|
|
|
9
9
|
# Module version
|
|
10
|
-
version_info = (4,
|
|
10
|
+
version_info = (4, 14, 0, "final", __build__, 0)
|
|
11
11
|
|
|
12
12
|
# Module version stage suffix map
|
|
13
13
|
_specifier_ = {"alpha": "a", "beta": "b", "candidate": "rc", "final": ""}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vantage6_algorithm_tools
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.14.0
|
|
4
4
|
Summary: Vantage6 algorithm tools
|
|
5
5
|
Home-page: https://github.com/vantage6/vantage6
|
|
6
6
|
Requires-Python: >=3.6
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
Requires-Dist: openpyxl>=3.0.0
|
|
9
9
|
Requires-Dist: pandas>=1.5.3
|
|
10
|
-
Requires-Dist: pyjwt==2.
|
|
10
|
+
Requires-Dist: pyjwt==2.12.1
|
|
11
11
|
Requires-Dist: pyfiglet==1.0.4
|
|
12
12
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
13
13
|
Requires-Dist: SPARQLWrapper>=2.0.0
|
|
14
14
|
Requires-Dist: sqlalchemy==1.4.46
|
|
15
|
-
Requires-Dist: vantage6-common==4.
|
|
15
|
+
Requires-Dist: vantage6-common==4.14.0
|
|
16
16
|
Provides-Extra: dev
|
|
17
17
|
Requires-Dist: black; extra == "dev"
|
|
18
18
|
Requires-Dist: pre-commit; extra == "dev"
|
|
File without changes
|
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/algorithm/__init__.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/algorithm/test___init__.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/algorithm_module.py
RENAMED
|
File without changes
|
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/test_deserialization.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/test_docker_wrapper.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/tests/test_serialization.py
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
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/util.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-4.13.7 → vantage6_algorithm_tools-4.14.0}/vantage6/algorithm/tools/wrap.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|