iwopy 0.1.8__tar.gz → 0.1.9__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.

Potentially problematic release.


This version of iwopy might be problematic. Click here for more details.

Files changed (57) hide show
  1. {iwopy-0.1.8/iwopy.egg-info → iwopy-0.1.9}/PKG-INFO +16 -2
  2. {iwopy-0.1.8 → iwopy-0.1.9}/README.md +14 -0
  3. iwopy-0.1.9/iwopy/VERSION +1 -0
  4. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/__init__.py +7 -2
  5. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/utils/discretization.py +1 -1
  6. {iwopy-0.1.8 → iwopy-0.1.9/iwopy.egg-info}/PKG-INFO +16 -2
  7. iwopy-0.1.8/iwopy/VERSION +0 -1
  8. {iwopy-0.1.8 → iwopy-0.1.9}/LICENSE +0 -0
  9. {iwopy-0.1.8 → iwopy-0.1.9}/Logo_IWOPY_white.svg +0 -0
  10. {iwopy-0.1.8 → iwopy-0.1.9}/MANIFEST.in +0 -0
  11. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/benchmarks/__init__.py +0 -0
  12. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/benchmarks/branin.py +0 -0
  13. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/benchmarks/rosenbrock.py +0 -0
  14. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/__init__.py +0 -0
  15. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/base.py +0 -0
  16. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/constraint.py +0 -0
  17. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/function.py +0 -0
  18. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/function_list.py +0 -0
  19. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/function_subset.py +0 -0
  20. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/memory.py +0 -0
  21. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/objective.py +0 -0
  22. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/opt_results.py +0 -0
  23. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/optimizer.py +0 -0
  24. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/core/problem.py +0 -0
  25. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/__init__.py +0 -0
  26. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pygmo/__init__.py +0 -0
  27. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pygmo/algos.py +0 -0
  28. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pygmo/imports.py +0 -0
  29. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pygmo/optimizer.py +0 -0
  30. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pygmo/problem.py +0 -0
  31. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pymoo/__init__.py +0 -0
  32. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pymoo/factory.py +0 -0
  33. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pymoo/imports.py +0 -0
  34. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pymoo/optimizer.py +0 -0
  35. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/pymoo/problem.py +0 -0
  36. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/scipy/__init__.py +0 -0
  37. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/interfaces/scipy/optimizer.py +0 -0
  38. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/optimizers/__init__.py +0 -0
  39. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/optimizers/gg.py +0 -0
  40. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/utils/__init__.py +0 -0
  41. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/utils/load.py +0 -0
  42. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/utils/stdout.py +0 -0
  43. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/__init__.py +0 -0
  44. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/discretize_reg_grid.py +0 -0
  45. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/local_fd.py +0 -0
  46. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/problem_wrapper.py +0 -0
  47. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/simple_constraint.py +0 -0
  48. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/simple_objective.py +0 -0
  49. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy/wrappers/simple_problem.py +0 -0
  50. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy.egg-info/SOURCES.txt +0 -0
  51. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy.egg-info/dependency_links.txt +0 -0
  52. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy.egg-info/requires.txt +1 -1
  53. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy.egg-info/top_level.txt +0 -0
  54. {iwopy-0.1.8 → iwopy-0.1.9}/iwopy.egg-info/zip-safe +0 -0
  55. {iwopy-0.1.8 → iwopy-0.1.9}/pyproject.toml +0 -0
  56. {iwopy-0.1.8 → iwopy-0.1.9}/setup.cfg +1 -1
  57. {iwopy-0.1.8 → iwopy-0.1.9}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iwopy
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Fraunhofer IWES optimization tools in Python
5
5
  Home-page: https://github.com/FraunhoferIWES/iwopy
6
6
  Author: Fraunhofer IWES
@@ -23,8 +23,8 @@ Requires-Dist: matplotlib
23
23
  Provides-Extra: test
24
24
  Requires-Dist: flake8; extra == "test"
25
25
  Requires-Dist: pytest; extra == "test"
26
- Requires-Dist: pymoo>=0.6; extra == "test"
27
26
  Requires-Dist: pygmo; extra == "test"
27
+ Requires-Dist: pymoo>=0.6; extra == "test"
28
28
  Provides-Extra: doc
29
29
  Requires-Dist: sphinx; extra == "doc"
30
30
  Requires-Dist: sphinx_rtd_theme; extra == "doc"
@@ -141,6 +141,20 @@ Then you can either install from this directory via
141
141
  pip install -e .
142
142
  ```
143
143
 
144
+ ## Testing
145
+
146
+ For testing, please clone the repository and install the required dependencies:
147
+ ```console
148
+ git clone https://github.com/FraunhoferIWES/iwopy.git
149
+ cd iwopy
150
+ pip install -e .[test]
151
+ ```
152
+
153
+ The tests are then run by
154
+ ```console
155
+ pytest tests
156
+ ```
157
+
144
158
  ## Contributing
145
159
 
146
160
  1. Fork _iwopy_ on _github_.
@@ -102,6 +102,20 @@ Then you can either install from this directory via
102
102
  pip install -e .
103
103
  ```
104
104
 
105
+ ## Testing
106
+
107
+ For testing, please clone the repository and install the required dependencies:
108
+ ```console
109
+ git clone https://github.com/FraunhoferIWES/iwopy.git
110
+ cd iwopy
111
+ pip install -e .[test]
112
+ ```
113
+
114
+ The tests are then run by
115
+ ```console
116
+ pytest tests
117
+ ```
118
+
105
119
  ## Contributing
106
120
 
107
121
  1. Fork _iwopy_ on _github_.
@@ -0,0 +1 @@
1
+ 0.1.9
@@ -13,6 +13,11 @@ from . import interfaces
13
13
  from . import benchmarks
14
14
  from . import optimizers
15
15
 
16
- from importlib.resources import read_text
16
+ try:
17
+ from importlib.resources import files
17
18
 
18
- __version__ = read_text(__package__, "VERSION")
19
+ __version__ = files(__package__).joinpath("VERSION").read_text()
20
+ except ImportError:
21
+ from importlib.resources import read_text
22
+
23
+ __version__ = read_text(__package__, "VERSION")
@@ -752,7 +752,7 @@ class RegularDiscretizationGrid:
752
752
  ).all(), f"Found coordinates above 1: {qts[np.any(qts>1., axis=-1)].tolist()}"
753
753
 
754
754
  opts = self._get_opts()
755
- return np.product(1 - np.abs(qts[:, None] - opts[None, :]), axis=-1)
755
+ return np.prod(1 - np.abs(qts[:, None] - opts[None, :]), axis=-1)
756
756
 
757
757
  def interpolation_coeffs_point(self, p):
758
758
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: iwopy
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: Fraunhofer IWES optimization tools in Python
5
5
  Home-page: https://github.com/FraunhoferIWES/iwopy
6
6
  Author: Fraunhofer IWES
@@ -23,8 +23,8 @@ Requires-Dist: matplotlib
23
23
  Provides-Extra: test
24
24
  Requires-Dist: flake8; extra == "test"
25
25
  Requires-Dist: pytest; extra == "test"
26
- Requires-Dist: pymoo>=0.6; extra == "test"
27
26
  Requires-Dist: pygmo; extra == "test"
27
+ Requires-Dist: pymoo>=0.6; extra == "test"
28
28
  Provides-Extra: doc
29
29
  Requires-Dist: sphinx; extra == "doc"
30
30
  Requires-Dist: sphinx_rtd_theme; extra == "doc"
@@ -141,6 +141,20 @@ Then you can either install from this directory via
141
141
  pip install -e .
142
142
  ```
143
143
 
144
+ ## Testing
145
+
146
+ For testing, please clone the repository and install the required dependencies:
147
+ ```console
148
+ git clone https://github.com/FraunhoferIWES/iwopy.git
149
+ cd iwopy
150
+ pip install -e .[test]
151
+ ```
152
+
153
+ The tests are then run by
154
+ ```console
155
+ pytest tests
156
+ ```
157
+
144
158
  ## Contributing
145
159
 
146
160
  1. Fork _iwopy_ on _github_.
iwopy-0.1.8/iwopy/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.1.8
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
@@ -19,5 +19,5 @@ m2r2
19
19
  [test]
20
20
  flake8
21
21
  pytest
22
- pymoo>=0.6
23
22
  pygmo
23
+ pymoo>=0.6
File without changes
File without changes
@@ -35,8 +35,8 @@ install_requires =
35
35
  test =
36
36
  flake8
37
37
  pytest
38
- pymoo>=0.6
39
38
  pygmo
39
+ pymoo>=0.6
40
40
  doc =
41
41
  sphinx
42
42
  sphinx_rtd_theme
File without changes