optimex 0.0.1__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.
optimex-0.0.1/LICENSE ADDED
@@ -0,0 +1,11 @@
1
+ Copyright 2024 Timo Diepers
2
+
3
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
4
+
5
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
6
+
7
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+
9
+ 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
10
+
11
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
File without changes
optimex-0.0.1/PKG-INFO ADDED
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.1
2
+ Name: optimex
3
+ Version: 0.0.1
4
+ Summary: Time-Explicit Life Cycle Optimization
5
+ Author-email: Timo Diepers <timo.diepers@ltt.rwth-aachen.de>, Jan Tautorus <jan.tautorus@rwth-aachen.de>
6
+ Maintainer-email: Timo Diepers <timo.diepers@ltt.rwth-aachen.de>
7
+ Project-URL: source, https://github.com/TimoDiepers/optimex
8
+ Project-URL: homepage, https://github.com/TimoDiepers/optimex
9
+ Project-URL: tracker, https://github.com/TimoDiepers/optimex/issues
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Programming Language :: Python
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
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Natural Language :: English
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Scientific/Engineering
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: bw-timex
24
+ Requires-Dist: premise
25
+ Requires-Dist: brightway25
26
+ Requires-Dist: tdqm
27
+ Provides-Extra: testing
28
+ Requires-Dist: optimex; extra == "testing"
29
+ Requires-Dist: pytest; extra == "testing"
30
+ Requires-Dist: pytest-cov; extra == "testing"
31
+ Requires-Dist: python-coveralls; extra == "testing"
32
+ Provides-Extra: dev
33
+ Requires-Dist: build; extra == "dev"
34
+ Requires-Dist: pre-commit; extra == "dev"
35
+ Requires-Dist: pylint; extra == "dev"
36
+ Requires-Dist: pytest; extra == "dev"
37
+ Requires-Dist: pytest-cov; extra == "dev"
38
+ Requires-Dist: pytest-randomly; extra == "dev"
39
+ Requires-Dist: setuptools; extra == "dev"
40
+
41
+ # optimex
42
+
43
+ [![PyPI](https://img.shields.io/pypi/v/optimex.svg)][pypi status]
44
+ [![Status](https://img.shields.io/pypi/status/optimex.svg)][pypi status]
45
+ [![Python Version](https://img.shields.io/pypi/pyversions/optimex)][pypi status]
46
+ [![License](https://img.shields.io/pypi/l/optimex)][license]
47
+
48
+ [![Read the documentation at https://optimex.readthedocs.io/](https://img.shields.io/readthedocs/optimex/latest.svg?label=Read%20the%20Docs)][read the docs]
49
+ [![Tests](https://github.com/TimoDiepers/optimex/actions/workflows/python-test.yml/badge.svg)][tests]
50
+ [![Codecov](https://codecov.io/gh/TimoDiepers/optimex/branch/main/graph/badge.svg)][codecov]
51
+
52
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
53
+ [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]
54
+
55
+ [pypi status]: https://pypi.org/project/optimex/
56
+ [read the docs]: https://optimex.readthedocs.io/
57
+ [tests]: https://github.com/TimoDiepers/optimex/actions?workflow=Tests
58
+ [codecov]: https://app.codecov.io/gh/TimoDiepers/optimex
59
+ [pre-commit]: https://github.com/pre-commit/pre-commit
60
+ [black]: https://github.com/psf/black
61
+
62
+ ## Installation
63
+
64
+ You can install _optimex_ via [pip] from [PyPI]:
65
+
66
+ ```console
67
+ $ pip install optimex
68
+ ```
69
+
70
+ ## Contributing
71
+
72
+ Contributions are very welcome.
73
+ To learn more, see the [Contributor Guide][Contributor Guide].
74
+
75
+ ## License
76
+
77
+ Distributed under the terms of the [BSD 3 Clause license][License],
78
+ _optimex_ is free and open source software.
79
+
80
+ ## Issues
81
+
82
+ If you encounter any problems,
83
+ please [file an issue][Issue Tracker] along with a detailed description.
84
+
85
+
86
+ <!-- github-only -->
87
+
88
+ [command-line reference]: https://optimex.readthedocs.io/en/latest/usage.html
89
+ [License]: https://github.com/TimoDiepers/optimex/blob/main/LICENSE
90
+ [Contributor Guide]: https://github.com/TimoDiepers/optimex/blob/main/CONTRIBUTING.md
91
+ [Issue Tracker]: https://github.com/TimoDiepers/optimex/issues
92
+
93
+
94
+ ## Building the Documentation
95
+
96
+ You can build the documentation locally by installing the documentation Conda environment:
97
+
98
+ ```bash
99
+ conda env create -f docs/environment.yml
100
+ ```
101
+
102
+ activating the environment
103
+
104
+ ```bash
105
+ conda activate sphinx_optimex
106
+ ```
107
+
108
+ and [running the build command](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#sphinx-build):
109
+
110
+ ```bash
111
+ sphinx-build docs _build/html --builder=html --jobs=auto --write-all; open _build/html/index.html
112
+ ```
@@ -0,0 +1,72 @@
1
+ # optimex
2
+
3
+ [![PyPI](https://img.shields.io/pypi/v/optimex.svg)][pypi status]
4
+ [![Status](https://img.shields.io/pypi/status/optimex.svg)][pypi status]
5
+ [![Python Version](https://img.shields.io/pypi/pyversions/optimex)][pypi status]
6
+ [![License](https://img.shields.io/pypi/l/optimex)][license]
7
+
8
+ [![Read the documentation at https://optimex.readthedocs.io/](https://img.shields.io/readthedocs/optimex/latest.svg?label=Read%20the%20Docs)][read the docs]
9
+ [![Tests](https://github.com/TimoDiepers/optimex/actions/workflows/python-test.yml/badge.svg)][tests]
10
+ [![Codecov](https://codecov.io/gh/TimoDiepers/optimex/branch/main/graph/badge.svg)][codecov]
11
+
12
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
13
+ [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]
14
+
15
+ [pypi status]: https://pypi.org/project/optimex/
16
+ [read the docs]: https://optimex.readthedocs.io/
17
+ [tests]: https://github.com/TimoDiepers/optimex/actions?workflow=Tests
18
+ [codecov]: https://app.codecov.io/gh/TimoDiepers/optimex
19
+ [pre-commit]: https://github.com/pre-commit/pre-commit
20
+ [black]: https://github.com/psf/black
21
+
22
+ ## Installation
23
+
24
+ You can install _optimex_ via [pip] from [PyPI]:
25
+
26
+ ```console
27
+ $ pip install optimex
28
+ ```
29
+
30
+ ## Contributing
31
+
32
+ Contributions are very welcome.
33
+ To learn more, see the [Contributor Guide][Contributor Guide].
34
+
35
+ ## License
36
+
37
+ Distributed under the terms of the [BSD 3 Clause license][License],
38
+ _optimex_ is free and open source software.
39
+
40
+ ## Issues
41
+
42
+ If you encounter any problems,
43
+ please [file an issue][Issue Tracker] along with a detailed description.
44
+
45
+
46
+ <!-- github-only -->
47
+
48
+ [command-line reference]: https://optimex.readthedocs.io/en/latest/usage.html
49
+ [License]: https://github.com/TimoDiepers/optimex/blob/main/LICENSE
50
+ [Contributor Guide]: https://github.com/TimoDiepers/optimex/blob/main/CONTRIBUTING.md
51
+ [Issue Tracker]: https://github.com/TimoDiepers/optimex/issues
52
+
53
+
54
+ ## Building the Documentation
55
+
56
+ You can build the documentation locally by installing the documentation Conda environment:
57
+
58
+ ```bash
59
+ conda env create -f docs/environment.yml
60
+ ```
61
+
62
+ activating the environment
63
+
64
+ ```bash
65
+ conda activate sphinx_optimex
66
+ ```
67
+
68
+ and [running the build command](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#sphinx-build):
69
+
70
+ ```bash
71
+ sphinx-build docs _build/html --builder=html --jobs=auto --write-all; open _build/html/index.html
72
+ ```
@@ -0,0 +1,11 @@
1
+ """optimex."""
2
+
3
+ __all__ = (
4
+ "__version__",
5
+
6
+ # Add functions and variables you want exposed in `optimex.` namespace here
7
+ )
8
+
9
+ __version__ = "0.0.1"
10
+
11
+ from . import test
@@ -0,0 +1 @@
1
+ print("test)
@@ -0,0 +1,112 @@
1
+ Metadata-Version: 2.1
2
+ Name: optimex
3
+ Version: 0.0.1
4
+ Summary: Time-Explicit Life Cycle Optimization
5
+ Author-email: Timo Diepers <timo.diepers@ltt.rwth-aachen.de>, Jan Tautorus <jan.tautorus@rwth-aachen.de>
6
+ Maintainer-email: Timo Diepers <timo.diepers@ltt.rwth-aachen.de>
7
+ Project-URL: source, https://github.com/TimoDiepers/optimex
8
+ Project-URL: homepage, https://github.com/TimoDiepers/optimex
9
+ Project-URL: tracker, https://github.com/TimoDiepers/optimex/issues
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Programming Language :: Python
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
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Natural Language :: English
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Topic :: Scientific/Engineering
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Requires-Dist: bw-timex
24
+ Requires-Dist: premise
25
+ Requires-Dist: brightway25
26
+ Requires-Dist: tdqm
27
+ Provides-Extra: testing
28
+ Requires-Dist: optimex; extra == "testing"
29
+ Requires-Dist: pytest; extra == "testing"
30
+ Requires-Dist: pytest-cov; extra == "testing"
31
+ Requires-Dist: python-coveralls; extra == "testing"
32
+ Provides-Extra: dev
33
+ Requires-Dist: build; extra == "dev"
34
+ Requires-Dist: pre-commit; extra == "dev"
35
+ Requires-Dist: pylint; extra == "dev"
36
+ Requires-Dist: pytest; extra == "dev"
37
+ Requires-Dist: pytest-cov; extra == "dev"
38
+ Requires-Dist: pytest-randomly; extra == "dev"
39
+ Requires-Dist: setuptools; extra == "dev"
40
+
41
+ # optimex
42
+
43
+ [![PyPI](https://img.shields.io/pypi/v/optimex.svg)][pypi status]
44
+ [![Status](https://img.shields.io/pypi/status/optimex.svg)][pypi status]
45
+ [![Python Version](https://img.shields.io/pypi/pyversions/optimex)][pypi status]
46
+ [![License](https://img.shields.io/pypi/l/optimex)][license]
47
+
48
+ [![Read the documentation at https://optimex.readthedocs.io/](https://img.shields.io/readthedocs/optimex/latest.svg?label=Read%20the%20Docs)][read the docs]
49
+ [![Tests](https://github.com/TimoDiepers/optimex/actions/workflows/python-test.yml/badge.svg)][tests]
50
+ [![Codecov](https://codecov.io/gh/TimoDiepers/optimex/branch/main/graph/badge.svg)][codecov]
51
+
52
+ [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)][pre-commit]
53
+ [![Black](https://img.shields.io/badge/code%20style-black-000000.svg)][black]
54
+
55
+ [pypi status]: https://pypi.org/project/optimex/
56
+ [read the docs]: https://optimex.readthedocs.io/
57
+ [tests]: https://github.com/TimoDiepers/optimex/actions?workflow=Tests
58
+ [codecov]: https://app.codecov.io/gh/TimoDiepers/optimex
59
+ [pre-commit]: https://github.com/pre-commit/pre-commit
60
+ [black]: https://github.com/psf/black
61
+
62
+ ## Installation
63
+
64
+ You can install _optimex_ via [pip] from [PyPI]:
65
+
66
+ ```console
67
+ $ pip install optimex
68
+ ```
69
+
70
+ ## Contributing
71
+
72
+ Contributions are very welcome.
73
+ To learn more, see the [Contributor Guide][Contributor Guide].
74
+
75
+ ## License
76
+
77
+ Distributed under the terms of the [BSD 3 Clause license][License],
78
+ _optimex_ is free and open source software.
79
+
80
+ ## Issues
81
+
82
+ If you encounter any problems,
83
+ please [file an issue][Issue Tracker] along with a detailed description.
84
+
85
+
86
+ <!-- github-only -->
87
+
88
+ [command-line reference]: https://optimex.readthedocs.io/en/latest/usage.html
89
+ [License]: https://github.com/TimoDiepers/optimex/blob/main/LICENSE
90
+ [Contributor Guide]: https://github.com/TimoDiepers/optimex/blob/main/CONTRIBUTING.md
91
+ [Issue Tracker]: https://github.com/TimoDiepers/optimex/issues
92
+
93
+
94
+ ## Building the Documentation
95
+
96
+ You can build the documentation locally by installing the documentation Conda environment:
97
+
98
+ ```bash
99
+ conda env create -f docs/environment.yml
100
+ ```
101
+
102
+ activating the environment
103
+
104
+ ```bash
105
+ conda activate sphinx_optimex
106
+ ```
107
+
108
+ and [running the build command](https://www.sphinx-doc.org/en/master/man/sphinx-build.html#sphinx-build):
109
+
110
+ ```bash
111
+ sphinx-build docs _build/html --builder=html --jobs=auto --write-all; open _build/html/index.html
112
+ ```
@@ -0,0 +1,11 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ pyproject.toml
5
+ optimex/__init__.py
6
+ optimex/test.py
7
+ optimex.egg-info/PKG-INFO
8
+ optimex.egg-info/SOURCES.txt
9
+ optimex.egg-info/dependency_links.txt
10
+ optimex.egg-info/requires.txt
11
+ optimex.egg-info/top_level.txt
@@ -0,0 +1,19 @@
1
+ bw-timex
2
+ premise
3
+ brightway25
4
+ tdqm
5
+
6
+ [dev]
7
+ build
8
+ pre-commit
9
+ pylint
10
+ pytest
11
+ pytest-cov
12
+ pytest-randomly
13
+ setuptools
14
+
15
+ [testing]
16
+ optimex
17
+ pytest
18
+ pytest-cov
19
+ python-coveralls
@@ -0,0 +1 @@
1
+ optimex
@@ -0,0 +1,106 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "optimex"
7
+ authors = [
8
+ { name="Timo Diepers", email="timo.diepers@ltt.rwth-aachen.de" },
9
+ { name="Jan Tautorus", email="jan.tautorus@rwth-aachen.de" }
10
+ ]
11
+ maintainers = [
12
+ { name="Timo Diepers", email="timo.diepers@ltt.rwth-aachen.de" }
13
+ ]
14
+ description = "Time-Explicit Life Cycle Optimization"
15
+ readme = "README.md"
16
+ dynamic = ["version"]
17
+ # Add here all kinds of additional classifiers as defined under
18
+ # https://pypi.org/classifiers/
19
+ classifiers = [
20
+ "Development Status :: 4 - Beta",
21
+ "Programming Language :: Python",
22
+ "Programming Language :: Python :: 3",
23
+ "Programming Language :: Python :: 3.9",
24
+ "Programming Language :: Python :: 3.10",
25
+ "Programming Language :: Python :: 3.11",
26
+ "Programming Language :: Python :: 3.12",
27
+ "Natural Language :: English",
28
+ "Operating System :: OS Independent",
29
+ "Topic :: Scientific/Engineering"
30
+ ]
31
+ requires-python = ">=3.9"
32
+ dependencies = [
33
+ "bw-timex",
34
+ "premise",
35
+ "brightway25",
36
+ "tdqm",
37
+ # dependencies as strings with quotes, e.g. "foo"
38
+ # You can add version requirements like "foo>2.0"
39
+ ]
40
+
41
+ [project.urls]
42
+ source = "https://github.com/TimoDiepers/optimex"
43
+ homepage = "https://github.com/TimoDiepers/optimex"
44
+ tracker = "https://github.com/TimoDiepers/optimex/issues"
45
+
46
+ [project.optional-dependencies]
47
+ # Getting recursive dependencies to work is a pain, this
48
+ # seems to work, at least for now
49
+ testing = [
50
+ "optimex",
51
+ "pytest",
52
+ "pytest-cov",
53
+ "python-coveralls"
54
+ ]
55
+ dev = [
56
+ "build",
57
+ "pre-commit",
58
+ "pylint",
59
+ "pytest",
60
+ "pytest-cov",
61
+ "pytest-randomly",
62
+ "setuptools",
63
+ ]
64
+
65
+ [tool.setuptools]
66
+ license-files = ["LICENSE"]
67
+ include-package-data = true
68
+ packages = ["optimex"]
69
+
70
+ [tool.setuptools.dynamic]
71
+ version = {attr = "optimex.__version__"}
72
+
73
+ [tool.pytest.ini_options]
74
+ addopts = "--cov optimex --cov-report term-missing --verbose"
75
+ norecursedirs = [
76
+ "dist",
77
+ "build",
78
+ ".tox"
79
+ ]
80
+ testpaths = ["tests/*.py"]
81
+
82
+ [tool.flake8]
83
+ # Some sane defaults for the code style checker flake8
84
+ max_line_length = 88
85
+ extend_ignore = ["E203", "W503"]
86
+ # ^ Black-compatible
87
+ # E203 and W503 have edge cases handled by black
88
+ exclude = [
89
+ ".tox",
90
+ "build",
91
+ "dist",
92
+ ".eggs",
93
+ "docs/conf.py",
94
+ ]
95
+
96
+ [tool.black]
97
+ line-length = 88
98
+
99
+ [tool.isort]
100
+ profile = "black"
101
+ line_length = 88
102
+ multi_line_output = 3
103
+ include_trailing_comma = true
104
+ force_grid_wrap = 0
105
+ use_parentheses = true
106
+ ensure_newline_before_comments = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+