surrogates_interface 4.0.1__tar.gz → 4.0.2__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.
- surrogates_interface-4.0.2/PKG-INFO +61 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/pyproject.toml +13 -38
- surrogates_interface-4.0.1/PKG-INFO +0 -66
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/LICENSE +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/README.md +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/__init__.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/domains.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/openmdao.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/surrogates.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/__init__.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_domains.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_init.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_pca_jacobian.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_smt.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_surrogates.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_tensorflow_and_openmdao.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_transformers.py +0 -0
- {surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/transformers.py +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: surrogates_interface
|
|
3
|
+
Version: 4.0.2
|
|
4
|
+
Summary: Interface for surrogate models.
|
|
5
|
+
Home-page: https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface
|
|
6
|
+
License: MIT
|
|
7
|
+
Author: DTU Wind and Energy Systems
|
|
8
|
+
Maintainer: Riccardo Riva
|
|
9
|
+
Maintainer-email: ricriv@dtu.dk
|
|
10
|
+
Requires-Python: >=3.9,<3.12
|
|
11
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Provides-Extra: code-style
|
|
17
|
+
Provides-Extra: docs
|
|
18
|
+
Provides-Extra: om
|
|
19
|
+
Provides-Extra: smt
|
|
20
|
+
Provides-Extra: test
|
|
21
|
+
Provides-Extra: tf
|
|
22
|
+
Requires-Dist: black ; extra == "code-style"
|
|
23
|
+
Requires-Dist: codespell ; extra == "code-style"
|
|
24
|
+
Requires-Dist: flake8 ; extra == "code-style"
|
|
25
|
+
Requires-Dist: h5py
|
|
26
|
+
Requires-Dist: isort ; extra == "code-style"
|
|
27
|
+
Requires-Dist: matplotlib ; extra == "test" or extra == "smt"
|
|
28
|
+
Requires-Dist: numpy (>=1.10.0)
|
|
29
|
+
Requires-Dist: numpydoc ; extra == "docs"
|
|
30
|
+
Requires-Dist: openmdao (>=3.25,<4.0) ; extra == "docs" or extra == "test" or extra == "om"
|
|
31
|
+
Requires-Dist: pydata-sphinx-theme ; extra == "docs"
|
|
32
|
+
Requires-Dist: pytest ; extra == "test"
|
|
33
|
+
Requires-Dist: pytest-cov ; extra == "test"
|
|
34
|
+
Requires-Dist: pytest-testmon ; extra == "test"
|
|
35
|
+
Requires-Dist: scikit-learn ; extra == "test" or extra == "smt" or extra == "tf"
|
|
36
|
+
Requires-Dist: smt (>=2.0.1,<3.0.0) ; extra == "test" or extra == "smt"
|
|
37
|
+
Requires-Dist: sphinx ; extra == "docs"
|
|
38
|
+
Requires-Dist: sphinx-copybutton ; extra == "docs"
|
|
39
|
+
Requires-Dist: sphinx-sitemap ; extra == "docs"
|
|
40
|
+
Requires-Dist: sphinx_design ; extra == "docs"
|
|
41
|
+
Requires-Dist: tensorflow (>=2.10.0,<3.0.0) ; extra == "test" or extra == "tf"
|
|
42
|
+
Requires-Dist: tensorflow-intel (>=2.10.0,<3.0.0) ; (sys_platform == "win32") and (extra == "test" or extra == "tf")
|
|
43
|
+
Requires-Dist: tensorflow-io-gcs-filesystem (<0.32.0) ; (python_version >= "3.9" and python_version < "3.12" and platform_system == "Windows") and (extra == "test" or extra == "tf")
|
|
44
|
+
Requires-Dist: tensorflow-io-gcs-filesystem (>=0.23.1) ; (platform_machine != "arm64" and python_version >= "3.9" and python_version < "3.12" or platform_system != "Darwin" and python_version >= "3.9" and python_version < "3.12") and (extra == "test" or extra == "tf")
|
|
45
|
+
Requires-Dist: tomli (>=2.0.1,<3.0.0) ; (python_version < "3.11") and (extra == "test")
|
|
46
|
+
Project-URL: Repository, https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface
|
|
47
|
+
Description-Content-Type: text/markdown
|
|
48
|
+
|
|
49
|
+
# Surrogate Models Interface
|
|
50
|
+
|
|
51
|
+
[](https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface/-/commits/main)
|
|
52
|
+
[](https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface/-/commits/main)
|
|
53
|
+
[](https://github.com/psf/black)
|
|
54
|
+
[](https://python-poetry.org/)
|
|
55
|
+
[](https://opensource.org/licenses/MIT)
|
|
56
|
+
[](https://doi.org/10.5281/10.5281/zenodo.8282614)
|
|
57
|
+
|
|
58
|
+
Provides a common interface to several surrogate models, including an OpenMDAO wrapper.
|
|
59
|
+
|
|
60
|
+
The documentation is available at: https://surrogate-models.pages.windenergy.dtu.dk/surrogate-models-interface
|
|
61
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "surrogates_interface"
|
|
3
|
-
version = "4.0.
|
|
3
|
+
version = "4.0.2"
|
|
4
4
|
description = "Interface for surrogate models."
|
|
5
5
|
authors = ["DTU Wind and Energy Systems"]
|
|
6
6
|
maintainers = [
|
|
@@ -31,57 +31,28 @@ sphinx = {version="*", optional=true}
|
|
|
31
31
|
pydata-sphinx-theme = {version="*", optional=true}
|
|
32
32
|
sphinx-copybutton = {version="*", optional=true}
|
|
33
33
|
sphinx-sitemap = {version="*", optional=true}
|
|
34
|
+
sphinx_design = {version="*", optional=true}
|
|
34
35
|
numpydoc = {version="*", optional=true}
|
|
35
36
|
matplotlib = {version="*", optional=true}
|
|
36
37
|
scikit-learn = {version="*", optional=true}
|
|
37
|
-
#
|
|
38
|
-
#
|
|
39
|
-
|
|
40
|
-
# Inspired from https://github.com/tensorflow/tensorflow/blob/adb39b04e9cb116df4659a7e2de9eea27e62f25c/tensorflow/tools/pip_package/setup.py#L148-L162
|
|
41
|
-
tensorflow = [
|
|
42
|
-
{version = ">=2.10.0, <2.11", markers = "platform_system == 'Windows'", optional=true },
|
|
43
|
-
{version = "^2.10.0", markers = "platform_system != 'Windows'", optional=true },
|
|
44
|
-
]
|
|
45
|
-
tensorflow-macos = { version = "^2.10.0", platform = "darwin", markers = "platform_machine=='arm64'", optional=true }
|
|
46
|
-
tensorflow-intel = { version = "^2.10.0", platform = "win32", optional=true }
|
|
47
|
-
tensorflow-cpu = [
|
|
48
|
-
{ version = "^2.10.0", platform = "linux", markers = "platform_machine!='arm64' and platform_machine!='aarch64'", optional=true },
|
|
49
|
-
{ version = "^2.10.0", platform = "darwin", markers = "platform_machine!='arm64' and platform_machine!='aarch64'", optional=true },]
|
|
50
|
-
tensorflow-cpu-aws = { version = "^2.10.0", platform = "linux", markers = "platform_machine=='arm64' or platform_machine=='aarch64'" }
|
|
51
|
-
# https://github.com/tensorflow/tensorflow/blob/adb39b04e9cb116df4659a7e2de9eea27e62f25c/tensorflow/tools/pip_package/setup.py#L107-L108
|
|
52
|
-
# https://github.com/python-poetry/poetry/issues/8271#issuecomment-1697740447
|
|
38
|
+
# The following configuration for TensorFlow seems to work on Windows and linux, as tested at
|
|
39
|
+
# https://gitlab.windenergy.dtu.dk/surrogate-models/test-poetry-and-tensorflow
|
|
40
|
+
tensorflow = {version = "^2.10.0", optional=true }
|
|
53
41
|
tensorflow-io-gcs-filesystem = [
|
|
54
|
-
{
|
|
55
|
-
{
|
|
42
|
+
{version = ">= 0.23.1", markers = "platform_machine!='arm64' or platform_system!='Darwin'", python=">=3.9,<3.12", optional=true},
|
|
43
|
+
{version = "< 0.32.0", markers = "platform_system == 'Windows'", python=">=3.9,<3.12", optional=true}
|
|
56
44
|
]
|
|
45
|
+
tensorflow-intel = {version="^2.10.0", platform = "win32", optional=true}
|
|
57
46
|
smt = {version="^2.0.1", optional=true}
|
|
58
47
|
openmdao = {version="^3.25", optional=true}
|
|
59
48
|
|
|
60
49
|
[tool.poetry.extras]
|
|
61
|
-
all = ["black",
|
|
62
|
-
"flake8",
|
|
63
|
-
"isort",
|
|
64
|
-
"codespell",
|
|
65
|
-
"pytest",
|
|
66
|
-
"pytest-cov",
|
|
67
|
-
"pytest-testmon",
|
|
68
|
-
"tomli",
|
|
69
|
-
"sphinx",
|
|
70
|
-
"pydata-sphinx-theme",
|
|
71
|
-
"sphinx-copybutton",
|
|
72
|
-
"sphinx-sitemap",
|
|
73
|
-
"numpydoc",
|
|
74
|
-
"matplotlib",
|
|
75
|
-
"scikit-learn",
|
|
76
|
-
"smt",
|
|
77
|
-
"tensorflow",
|
|
78
|
-
"openmdao",
|
|
79
|
-
]
|
|
80
50
|
|
|
81
51
|
docs = ["sphinx",
|
|
82
52
|
"pydata-sphinx-theme",
|
|
83
53
|
"sphinx-copybutton",
|
|
84
54
|
"sphinx-sitemap",
|
|
55
|
+
"sphinx_design",
|
|
85
56
|
"numpydoc",
|
|
86
57
|
"openmdao",
|
|
87
58
|
]
|
|
@@ -100,6 +71,8 @@ test = ["matplotlib", # Needed by SMT.
|
|
|
100
71
|
"scikit-learn",
|
|
101
72
|
"smt",
|
|
102
73
|
"tensorflow",
|
|
74
|
+
"tensorflow-io-gcs-filesystem",
|
|
75
|
+
"tensorflow-intel",
|
|
103
76
|
"openmdao",
|
|
104
77
|
]
|
|
105
78
|
|
|
@@ -110,6 +83,8 @@ smt = ["matplotlib", # Needed by SMT.
|
|
|
110
83
|
|
|
111
84
|
tf = ["scikit-learn",
|
|
112
85
|
"tensorflow",
|
|
86
|
+
"tensorflow-io-gcs-filesystem",
|
|
87
|
+
"tensorflow-intel",
|
|
113
88
|
]
|
|
114
89
|
|
|
115
90
|
om = ["openmdao"]
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: surrogates_interface
|
|
3
|
-
Version: 4.0.1
|
|
4
|
-
Summary: Interface for surrogate models.
|
|
5
|
-
Home-page: https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface
|
|
6
|
-
License: MIT
|
|
7
|
-
Author: DTU Wind and Energy Systems
|
|
8
|
-
Maintainer: Riccardo Riva
|
|
9
|
-
Maintainer-email: ricriv@dtu.dk
|
|
10
|
-
Requires-Python: >=3.9,<3.12
|
|
11
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
12
|
-
Classifier: Programming Language :: Python :: 3
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
-
Provides-Extra: all
|
|
17
|
-
Provides-Extra: code-style
|
|
18
|
-
Provides-Extra: docs
|
|
19
|
-
Provides-Extra: om
|
|
20
|
-
Provides-Extra: smt
|
|
21
|
-
Provides-Extra: test
|
|
22
|
-
Provides-Extra: tf
|
|
23
|
-
Requires-Dist: black ; extra == "all" or extra == "code-style"
|
|
24
|
-
Requires-Dist: codespell ; extra == "all" or extra == "code-style"
|
|
25
|
-
Requires-Dist: flake8 ; extra == "all" or extra == "code-style"
|
|
26
|
-
Requires-Dist: h5py
|
|
27
|
-
Requires-Dist: isort ; extra == "all" or extra == "code-style"
|
|
28
|
-
Requires-Dist: matplotlib ; extra == "all" or extra == "test" or extra == "smt"
|
|
29
|
-
Requires-Dist: numpy (>=1.10.0)
|
|
30
|
-
Requires-Dist: numpydoc ; extra == "all" or extra == "docs"
|
|
31
|
-
Requires-Dist: openmdao (>=3.25,<4.0) ; extra == "all" or extra == "docs" or extra == "test" or extra == "om"
|
|
32
|
-
Requires-Dist: pydata-sphinx-theme ; extra == "all" or extra == "docs"
|
|
33
|
-
Requires-Dist: pytest ; extra == "all" or extra == "test"
|
|
34
|
-
Requires-Dist: pytest-cov ; extra == "all" or extra == "test"
|
|
35
|
-
Requires-Dist: pytest-testmon ; extra == "all" or extra == "test"
|
|
36
|
-
Requires-Dist: scikit-learn ; extra == "all" or extra == "test" or extra == "smt" or extra == "tf"
|
|
37
|
-
Requires-Dist: smt (>=2.0.1,<3.0.0) ; extra == "all" or extra == "test" or extra == "smt"
|
|
38
|
-
Requires-Dist: sphinx ; extra == "all" or extra == "docs"
|
|
39
|
-
Requires-Dist: sphinx-copybutton ; extra == "all" or extra == "docs"
|
|
40
|
-
Requires-Dist: sphinx-sitemap ; extra == "all" or extra == "docs"
|
|
41
|
-
Requires-Dist: tensorflow (>=2.10.0,<2.11) ; (platform_system == "Windows") and (extra == "all" or extra == "test" or extra == "tf")
|
|
42
|
-
Requires-Dist: tensorflow (>=2.10.0,<3.0.0) ; (platform_system != "Windows") and (extra == "all" or extra == "test" or extra == "tf")
|
|
43
|
-
Requires-Dist: tensorflow-cpu (>=2.10.0,<3.0.0) ; (platform_machine != "arm64" and platform_machine != "aarch64") and sys_platform == "darwin"
|
|
44
|
-
Requires-Dist: tensorflow-cpu (>=2.10.0,<3.0.0) ; (platform_machine != "arm64" and platform_machine != "aarch64") and sys_platform == "linux"
|
|
45
|
-
Requires-Dist: tensorflow-cpu-aws (>=2.10.0,<3.0.0) ; (platform_machine == "arm64" or platform_machine == "aarch64") and sys_platform == "linux"
|
|
46
|
-
Requires-Dist: tensorflow-intel (>=2.10.0,<3.0.0) ; sys_platform == "win32"
|
|
47
|
-
Requires-Dist: tensorflow-io-gcs-filesystem (<0.32.0) ; platform_system == "Windows"
|
|
48
|
-
Requires-Dist: tensorflow-io-gcs-filesystem (>=0.23.1) ; platform_machine != "arm64" or platform_system != "Darwin"
|
|
49
|
-
Requires-Dist: tensorflow-macos (>=2.10.0,<3.0.0) ; platform_machine == "arm64" and sys_platform == "darwin"
|
|
50
|
-
Requires-Dist: tomli (>=2.0.1,<3.0.0) ; (python_version < "3.11") and (extra == "all" or extra == "test")
|
|
51
|
-
Project-URL: Repository, https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface
|
|
52
|
-
Description-Content-Type: text/markdown
|
|
53
|
-
|
|
54
|
-
# Surrogate Models Interface
|
|
55
|
-
|
|
56
|
-
[](https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface/-/commits/main)
|
|
57
|
-
[](https://gitlab.windenergy.dtu.dk/surrogate-models/surrogate-models-interface/-/commits/main)
|
|
58
|
-
[](https://github.com/psf/black)
|
|
59
|
-
[](https://python-poetry.org/)
|
|
60
|
-
[](https://opensource.org/licenses/MIT)
|
|
61
|
-
[](https://doi.org/10.5281/10.5281/zenodo.8282614)
|
|
62
|
-
|
|
63
|
-
Provides a common interface to several surrogate models, including an OpenMDAO wrapper.
|
|
64
|
-
|
|
65
|
-
The documentation is available at: https://surrogate-models.pages.windenergy.dtu.dk/surrogate-models-interface
|
|
66
|
-
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/surrogates.py
RENAMED
|
File without changes
|
{surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/__init__.py
RENAMED
|
File without changes
|
{surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_domains.py
RENAMED
|
File without changes
|
{surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_init.py
RENAMED
|
File without changes
|
|
File without changes
|
{surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/test/test_smt.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{surrogates_interface-4.0.1 → surrogates_interface-4.0.2}/surrogates_interface/transformers.py
RENAMED
|
File without changes
|