pydmoo 0.0.2__tar.gz → 0.0.3__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.
@@ -0,0 +1,24 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout
13
+ uses: actions/checkout@v5
14
+
15
+ - name: Install uv
16
+ uses: astral-sh/setup-uv@v6
17
+
18
+ - name: Build package
19
+ run: uv build
20
+
21
+ - name: Publish to PyPI
22
+ env:
23
+ UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
24
+ run: uv publish
@@ -0,0 +1,225 @@
1
+ # Common ignored files and folders
2
+ # Ignored files
3
+ .DS_Store
4
+
5
+ *.sublime-workspace
6
+ *.code-workspace
7
+
8
+ # Ignored folders
9
+ node_modules/
10
+ .virtual_documents/
11
+ .ruff_cache/
12
+ .idea/
13
+ .vscode/
14
+ tests_temp/
15
+
16
+ # Special for this project
17
+
18
+ # from https://github.com/github/gitignore/blob/main/Python.gitignore
19
+ # Byte-compiled / optimized / DLL files
20
+ __pycache__/
21
+ *.py[codz]
22
+ *$py.class
23
+
24
+ # C extensions
25
+ *.so
26
+
27
+ # Distribution / packaging
28
+ .Python
29
+ build/
30
+ develop-eggs/
31
+ dist/
32
+ downloads/
33
+ eggs/
34
+ .eggs/
35
+ lib/
36
+ lib64/
37
+ parts/
38
+ sdist/
39
+ var/
40
+ wheels/
41
+ share/python-wheels/
42
+ *.egg-info/
43
+ .installed.cfg
44
+ *.egg
45
+ MANIFEST
46
+
47
+ # PyInstaller
48
+ # Usually these files are written by a python script from a template
49
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
50
+ *.manifest
51
+ *.spec
52
+
53
+ # Installer logs
54
+ pip-log.txt
55
+ pip-delete-this-directory.txt
56
+
57
+ # Unit test / coverage reports
58
+ htmlcov/
59
+ .tox/
60
+ .nox/
61
+ .coverage
62
+ .coverage.*
63
+ .cache
64
+ nosetests.xml
65
+ coverage.xml
66
+ *.cover
67
+ *.py.cover
68
+ .hypothesis/
69
+ .pytest_cache/
70
+ cover/
71
+
72
+ # Translations
73
+ *.mo
74
+ *.pot
75
+
76
+ # Django stuff:
77
+ *.log
78
+ local_settings.py
79
+ db.sqlite3
80
+ db.sqlite3-journal
81
+
82
+ # Flask stuff:
83
+ instance/
84
+ .webassets-cache
85
+
86
+ # Scrapy stuff:
87
+ .scrapy
88
+
89
+ # Sphinx documentation
90
+ docs/_build/
91
+
92
+ # PyBuilder
93
+ .pybuilder/
94
+ target/
95
+
96
+ # Jupyter Notebook
97
+ .ipynb_checkpoints
98
+
99
+ # IPython
100
+ profile_default/
101
+ ipython_config.py
102
+
103
+ # pyenv
104
+ # For a library or package, you might want to ignore these files since the code is
105
+ # intended to run in multiple environments; otherwise, check them in:
106
+ # .python-version
107
+
108
+ # pipenv
109
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
110
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
111
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
112
+ # install all needed dependencies.
113
+ #Pipfile.lock
114
+
115
+ # UV
116
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
117
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
118
+ # commonly ignored for libraries.
119
+ #uv.lock
120
+
121
+ # poetry
122
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
123
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
124
+ # commonly ignored for libraries.
125
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
126
+ #poetry.lock
127
+ #poetry.toml
128
+
129
+ # pdm
130
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
131
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
132
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
133
+ #pdm.lock
134
+ #pdm.toml
135
+ .pdm-python
136
+ .pdm-build/
137
+
138
+ # pixi
139
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
140
+ #pixi.lock
141
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
142
+ # in the .venv directory. It is recommended not to include this directory in version control.
143
+ .pixi
144
+
145
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
146
+ __pypackages__/
147
+
148
+ # Celery stuff
149
+ celerybeat-schedule
150
+ celerybeat.pid
151
+
152
+ # SageMath parsed files
153
+ *.sage.py
154
+
155
+ # Environments
156
+ .env
157
+ .envrc
158
+ .venv
159
+ env/
160
+ venv/
161
+ ENV/
162
+ env.bak/
163
+ venv.bak/
164
+
165
+ # Spyder project settings
166
+ .spyderproject
167
+ .spyproject
168
+
169
+ # Rope project settings
170
+ .ropeproject
171
+
172
+ # mkdocs documentation
173
+ /site
174
+
175
+ # mypy
176
+ .mypy_cache/
177
+ .dmypy.json
178
+ dmypy.json
179
+
180
+ # Pyre type checker
181
+ .pyre/
182
+
183
+ # pytype static type analyzer
184
+ .pytype/
185
+
186
+ # Cython debug symbols
187
+ cython_debug/
188
+
189
+ # PyCharm
190
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
191
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
192
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
193
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
194
+ #.idea/
195
+
196
+ # Abstra
197
+ # Abstra is an AI-powered process automation framework.
198
+ # Ignore directories containing user credentials, local state, and settings.
199
+ # Learn more at https://abstra.io/docs
200
+ .abstra/
201
+
202
+ # Visual Studio Code
203
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
204
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
205
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
206
+ # you could uncomment the following to ignore the entire vscode folder
207
+ # .vscode/
208
+
209
+ # Ruff stuff:
210
+ .ruff_cache/
211
+
212
+ # PyPI configuration file
213
+ .pypirc
214
+
215
+ # Cursor
216
+ # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
217
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
218
+ # refer to https://docs.cursor.com/context/ignore-files
219
+ .cursorignore
220
+ .cursorindexingignore
221
+
222
+ # Marimo
223
+ marimo/_static/
224
+ marimo/_lsp/
225
+ __marimo__/
@@ -0,0 +1 @@
1
+ 3.12
@@ -0,0 +1,83 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or advances of any kind
22
+ * Trolling, insulting or derogatory comments, and personal or political attacks
23
+ * Public or private harassment
24
+ * Publishing others' private information, such as a physical or email address, without their explicit permission
25
+ * Other conduct which could reasonably be considered inappropriate in a professional setting
26
+
27
+ ## Enforcement Responsibilities
28
+
29
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
30
+
31
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
32
+
33
+ ## Scope
34
+
35
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
36
+
37
+ ## Enforcement
38
+
39
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [INSERT CONTACT METHOD]. All complaints will be reviewed and investigated promptly and fairly.
40
+
41
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
42
+
43
+ ## Enforcement Guidelines
44
+
45
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
46
+
47
+ ### 1. Correction
48
+
49
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
50
+
51
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
52
+
53
+ ### 2. Warning
54
+
55
+ **Community Impact**: A violation through a single incident or series of actions.
56
+
57
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
58
+
59
+ ### 3. Temporary Ban
60
+
61
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
62
+
63
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
64
+
65
+ ### 4. Permanent Ban
66
+
67
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
68
+
69
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
70
+
71
+ ## Attribution
72
+
73
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
74
+
75
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder][Mozilla CoC].
76
+
77
+ For answers to common questions about this code of conduct, see the FAQ at [https://www.contributor-covenant.org/faq][FAQ]. Translations are available at [https://www.contributor-covenant.org/translations][translations].
78
+
79
+ [homepage]: https://www.contributor-covenant.org
80
+ [v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
81
+ [Mozilla CoC]: https://github.com/mozilla/diversity
82
+ [FAQ]: https://www.contributor-covenant.org/faq
83
+ [translations]: https://www.contributor-covenant.org/translations
pydmoo-0.0.3/PKG-INFO ADDED
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.4
2
+ Name: pydmoo
3
+ Version: 0.0.3
4
+ Summary: pydmoo
5
+ Author-email: DynOpt <dynoptimization@gmail.com>
6
+ Maintainer-email: DynOpt <dynoptimization@gmail.com>
7
+ License: GPL-3.0-or-later
8
+ License-File: LICENSE
9
+ Keywords: Dynamic Multi-objective Optimization,Python
10
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
11
+ Requires-Python: >=3.12
12
+ Requires-Dist: matplotlib>=3.10.7
13
+ Requires-Dist: mpmath>=1.3.0
14
+ Requires-Dist: numpy>=2.3.3
15
+ Requires-Dist: pandas>=2.3.3
16
+ Requires-Dist: pymoo>=0.6.1.5
17
+ Requires-Dist: scikit-learn>=1.7.2
18
+ Requires-Dist: scikit-posthocs>=0.11.4
19
+ Requires-Dist: scipy>=1.16.2
20
+ Requires-Dist: seaborn>=0.13.2
21
+ Requires-Dist: statsmodels>=0.14.5
22
+ Requires-Dist: tabulate>=0.9.0
23
+ Description-Content-Type: text/markdown
24
+
25
+ # pydmoo
26
+
27
+ ## Dynamic Multi-Objective Optimization Problems (DMOPs)
28
+
29
+ ## Dynamic Multi-Objective Optimization Algorithms (DMOAs)
30
+
31
+ ## Dynamic Multi-Objective Optimization Benchmarks (DMOBs)
@@ -1,39 +1,45 @@
1
- [tool.poetry]
1
+ [project]
2
2
  name = "pydmoo"
3
- version = "0.0.2"
3
+ version = "0.0.3"
4
4
  description = "pydmoo"
5
- license = "GPL-3.0-or-later"
6
- authors = ["DynOpt <dynoptimization@gmail.com>"]
7
- maintainers = ["DynOpt <dynoptimization@gmail.com>"]
8
- readme = ["README.md", "LICENSE"]
5
+ license = {text = "GPL-3.0-or-later"}
6
+ authors = [
7
+ {name = "DynOpt", email = "dynoptimization@gmail.com"},
8
+ ]
9
+ maintainers = [
10
+ {name = "DynOpt", email = "dynoptimization@gmail.com"},
11
+ ]
12
+ readme = "README.md"
9
13
  homepage = "https://github.com/dynoptimization/pydmoo"
10
14
  repository = "https://github.com/dynoptimization/pydmoo"
11
15
  documentation = "https://github.com/dynoptimization/pydmoo"
12
16
  keywords = ["Python", "Dynamic Multi-objective Optimization"]
13
17
  classifiers = ["Topic :: Software Development :: Libraries :: Python Modules"]
18
+ requires-python = ">=3.12"
19
+ dependencies = [
20
+ "matplotlib>=3.10.7",
21
+ "mpmath>=1.3.0",
22
+ "numpy>=2.3.3",
23
+ "pandas>=2.3.3",
24
+ "pymoo>=0.6.1.5",
25
+ "scikit-learn>=1.7.2",
26
+ "scikit-posthocs>=0.11.4",
27
+ "scipy>=1.16.2",
28
+ "seaborn>=0.13.2",
29
+ "statsmodels>=0.14.5",
30
+ "tabulate>=0.9.0",
31
+ ]
14
32
 
15
- [tool.poetry.dependencies]
16
- python = ">=3.12,<4"
17
- pymoo = "^0.6.1.5"
18
- numpy = "^2.3.0"
19
- scipy = "^1.15.3"
20
- matplotlib = "^3.10.3"
21
- scikit-learn = "^1.7.0"
22
- seaborn = "^0.13.2"
23
- pandas = "^2.3.0"
24
- statsmodels = "^0.14.4"
25
- tabulate = "^0.9.0"
26
- scikit-posthocs = "^0.11.4"
27
- mpmath = "^1.3.0"
28
-
29
- [tool.poetry.group.dev.dependencies]
30
- mypy = "^1.18.2"
31
- ruff = "^0.13.1"
32
- pycodestyle = "^2.14.0"
33
- pydocstyle = "^6.3.0"
34
- flake8 = "^7.3.0"
35
- isort = "^6.0.1"
36
- black = "^25.9.0"
33
+ [dependency-groups]
34
+ dev = [
35
+ "black>=25.9.0",
36
+ "flake8>=7.3.0",
37
+ "isort>=6.1.0",
38
+ "mypy>=1.18.2",
39
+ "pycodestyle>=2.14.0",
40
+ "pydocstyle>=6.3.0",
41
+ "ruff>=0.14.0",
42
+ ]
37
43
 
38
44
  [tool.pyright]
39
45
  venvPath = "."
@@ -42,7 +48,6 @@ venv = ".venv"
42
48
  [tool.ruff]
43
49
  line-length = 120
44
50
  indent-width = 4
45
-
46
51
  exclude = [".venv"]
47
52
  extend-exclude = ["tests"]
48
53
 
@@ -68,5 +73,5 @@ include_trailing_comma = true
68
73
  [tool.pytest]
69
74
 
70
75
  [build-system]
71
- requires = ["poetry-core>=1.0.0"]
72
- build-backend = "poetry.core.masonry.api"
76
+ requires = ["hatchling"]
77
+ build-backend = "hatchling.build"