vantage6-algorithm-tools 5.0.1rc2__tar.gz → 5.0.2rc2__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-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/PKG-INFO +3 -3
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/pyproject.toml +3 -3
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/client.py +1 -1
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/node.py +1 -1
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/tools/exceptions.py +9 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/.gitignore +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/Makefile +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/README.md +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/_test_deserialization.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/_test_docker_wrapper.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/_test_preprocessing.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/_test_serialization.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/algorithm/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/algorithm/test___init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/algorithm_module.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/base/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_algorithm_client.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_network.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_node.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_server.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_user_client.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_util.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/client/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/data_extraction/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/data_extraction/mock_extract.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/decorator/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/decorator/action.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/decorator/algorithm_client.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/decorator/data.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/decorator/metadata.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/decorator/ohdsi.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/globals.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/hq.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/network.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/mock/util.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/aggregation.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/algorithm_json_data.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/column.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/datetime.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/encoding.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/preprocessing/filtering.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/tools/__init__.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/tools/error_handling.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/tools/util.py +0 -0
- {vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/vantage6/algorithm/tools/wrap.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vantage6-algorithm-tools
|
|
3
|
-
Version: 5.0.
|
|
3
|
+
Version: 5.0.2rc2
|
|
4
4
|
Summary: Vantage6 algorithm tools
|
|
5
5
|
Author: Vantage6 Team
|
|
6
6
|
Maintainer-email: Frank Martin <f.martin@iknl.nl>, Bart van Beusekom <b.vanbeusekom@iknl.nl>
|
|
@@ -11,10 +11,10 @@ Requires-Dist: pandas>=2.2.3
|
|
|
11
11
|
Requires-Dist: psycopg2-binary==2.9.10
|
|
12
12
|
Requires-Dist: pyarrow>=16.1.0
|
|
13
13
|
Requires-Dist: pyfiglet==1.0.4
|
|
14
|
-
Requires-Dist: pyjwt==2.
|
|
14
|
+
Requires-Dist: pyjwt==2.13.0
|
|
15
15
|
Requires-Dist: sparqlwrapper>=2.0.0
|
|
16
16
|
Requires-Dist: sqlalchemy>=1.4.46
|
|
17
|
-
Requires-Dist: vantage6-common==5.0.
|
|
17
|
+
Requires-Dist: vantage6-common==5.0.2rc2
|
|
18
18
|
Provides-Extra: dev
|
|
19
19
|
Requires-Dist: black; extra == 'dev'
|
|
20
20
|
Requires-Dist: coverage==7.10.2; extra == 'dev'
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vantage6-algorithm-tools"
|
|
7
|
-
version = "5.0.
|
|
7
|
+
version = "5.0.2rc2"
|
|
8
8
|
description = "Vantage6 algorithm tools"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "MIT"}
|
|
@@ -23,11 +23,11 @@ dependencies = [
|
|
|
23
23
|
# running SQL queries on a postgres database.
|
|
24
24
|
"psycopg2-binary==2.9.10",
|
|
25
25
|
"pyarrow>=16.1.0",
|
|
26
|
-
"pyjwt==2.
|
|
26
|
+
"pyjwt==2.13.0",
|
|
27
27
|
"pyfiglet==1.0.4",
|
|
28
28
|
"SPARQLWrapper>=2.0.0",
|
|
29
29
|
"sqlalchemy>=1.4.46",
|
|
30
|
-
"vantage6-common==5.0.
|
|
30
|
+
"vantage6-common==5.0.2rc2",
|
|
31
31
|
]
|
|
32
32
|
|
|
33
33
|
[project.optional-dependencies]
|
|
@@ -3,13 +3,13 @@ import traceback
|
|
|
3
3
|
from typing import TYPE_CHECKING, Any
|
|
4
4
|
|
|
5
5
|
from vantage6.algorithm.tools.exceptions import (
|
|
6
|
+
DataFrameNotFound,
|
|
6
7
|
MethodNotFoundError,
|
|
7
8
|
SessionActionMismatchError,
|
|
8
9
|
)
|
|
9
10
|
from vantage6.algorithm.tools.util import error, warn
|
|
10
11
|
|
|
11
12
|
from vantage6.algorithm.mock.globals import MockDatabase
|
|
12
|
-
from vantage6.node.k8s.exceptions import DataFrameNotFound
|
|
13
13
|
|
|
14
14
|
if TYPE_CHECKING:
|
|
15
15
|
from vantage6.algorithm.mock.network import MockNetwork
|
|
@@ -9,6 +9,7 @@ from vantage6.common.globals import ContainerEnvNames
|
|
|
9
9
|
|
|
10
10
|
from vantage6.algorithm.tools.exceptions import (
|
|
11
11
|
AlgorithmModuleNotFoundError,
|
|
12
|
+
DataFrameNotFound,
|
|
12
13
|
MethodNotFoundError,
|
|
13
14
|
SessionActionMismatchError,
|
|
14
15
|
)
|
|
@@ -16,7 +17,6 @@ from vantage6.algorithm.tools.exceptions import (
|
|
|
16
17
|
from vantage6.algorithm.mock.client import MockAlgorithmClient
|
|
17
18
|
from vantage6.algorithm.mock.globals import MockDatabase
|
|
18
19
|
from vantage6.algorithm.mock.util import env_vars
|
|
19
|
-
from vantage6.node.k8s.exceptions import DataFrameNotFound
|
|
20
20
|
|
|
21
21
|
if TYPE_CHECKING:
|
|
22
22
|
from vantage6.algorithm.mock.network import MockNetwork
|
|
@@ -170,3 +170,12 @@ class SessionActionMismatchError(AlgorithmError):
|
|
|
170
170
|
- The function is e.g. a data extraction function but the user requests to start
|
|
171
171
|
a preprocessing task using that function.
|
|
172
172
|
"""
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class DataFrameNotFound(AlgorithmError):
|
|
176
|
+
"""
|
|
177
|
+
Raised when a dataframe is not found.
|
|
178
|
+
|
|
179
|
+
Example usage:
|
|
180
|
+
- The dataframe is not found in the node.
|
|
181
|
+
"""
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/_test_preprocessing.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/_test_serialization.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/algorithm/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/algorithm_module.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/base/__init__.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_network.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_node.py
RENAMED
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_server.py
RENAMED
|
File without changes
|
|
File without changes
|
{vantage6_algorithm_tools-5.0.1rc2 → vantage6_algorithm_tools-5.0.2rc2}/tests/mock/test_util.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
|
|
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
|