pymrm 2.2.2__tar.gz → 2.2.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.
- {pymrm-2.2.2 → pymrm-2.2.3}/CITATION.cff +1 -1
- {pymrm-2.2.2 → pymrm-2.2.3}/PKG-INFO +2 -3
- {pymrm-2.2.2 → pymrm-2.2.3}/README.md +1 -2
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/compile_sphinx.md +6 -6
- pymrm-2.2.3/docs/sphinx/.gitignore +4 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/sphinx/conf.py +11 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/build_documentation.sh +0 -10
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/_version.py +3 -3
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm.egg-info/PKG-INFO +2 -3
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm.egg-info/SOURCES.txt +1 -2
- pymrm-2.2.2/docs/sphinx/modules.rst +0 -7
- pymrm-2.2.2/docs/sphinx/pymrm.rst +0 -77
- {pymrm-2.2.2 → pymrm-2.2.3}/.coveragerc +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.flake8 +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/black-formatting.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/analysis.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/build.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/python-publish.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/test.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/update-citation-cff.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/validate-citation-cff.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.github/workflows/verification.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.gitignore +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.gitlab-ci.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.vscode/launch_debugpy.json +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/.vscode/settings_pytest.json +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/Dockerfile +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/LICENSE +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/MANIFEST.in +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/dependencies_format.md +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/helpers.md +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/installation.md +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/sphinx/Makefile +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/sphinx/index.rst +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/docs/sphinx/make.bat +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/environment.yml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/counter_current_reaction.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/counter_diffusion_reaction.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/darcy_flow.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/lid_driven_cavity.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/membrane_module_2D.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/membrane_module_2D_Sievert.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/optimization_example.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/particle_model_effectiveness.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/surface_reaction.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/tvd.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/unsteady_convection_reaction.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/examples/unsteady_diffusion_reaction_2D.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/pyproject.toml +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/requirements.txt +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/run_examples.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/run_exercises.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/run_linter.sh +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/run_notebook.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/run_tutorials.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/run_unit_tests.sh +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/scripts/split_notebook.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/setup.cfg +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/__init__.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/convect.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/coupling.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/grid.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/helpers.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/interpolate.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/numjac.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/operators.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm/solve.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm.egg-info/dependency_links.txt +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm.egg-info/requires.txt +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/src/pymrm.egg-info/top_level.txt +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_convect.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_coupling.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_csr_format.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_grid.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_helpers.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_integration.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_interpolate.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_numjac.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_operators.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/test/test_solve.py +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/tutorials/diffusion_2D.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/tutorials/diffusion_first_order_kinetics.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/tutorials/diffusion_model_class.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/tutorials/introduction_and_start.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/tutorials/nonlinear_kinetics.ipynb +0 -0
- {pymrm-2.2.2 → pymrm-2.2.3}/tutorials/stationary_diffusion.ipynb +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pymrm
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Functions for multiphase reactor modeling
|
|
5
5
|
Author-email: "E.A.J.F. Peters" <e.a.j.f.peters@tue.nl>, "M. van Sint Annaland" <M.v.SintAnnaland@tue.nl>, "M. Galanti" <m.galanti@tue.nl>, "D.R. Rieder" <d.r.rieder@tue.nl>
|
|
6
6
|
Maintainer-email: "E.A.J.F. Peters" <e.a.j.f.peters@tue.nl>
|
|
@@ -61,7 +61,7 @@ Dynamic: license-file
|
|
|
61
61
|
[](https://pypi.org/project/pymrm/)
|
|
62
62
|
[](https://github.com/computational-chemical-engineering/pymrm/blob/main/LICENSE)
|
|
63
63
|
[](https://github.com/psf/black)
|
|
64
|
-
[](https://zenodo.org/badge/latestdoi/901029258)
|
|
64
|
+
[](https://zenodo.org/badge/latestdoi/901029258)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
## Overview
|
|
@@ -99,4 +99,3 @@ coefficient matrices.
|
|
|
99
99
|
## Contributing
|
|
100
100
|
|
|
101
101
|
Contributions are welcome! For suggestions or enhancements, please contact us or submit a pull request.
|
|
102
|
-
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://pypi.org/project/pymrm/)
|
|
6
6
|
[](https://github.com/computational-chemical-engineering/pymrm/blob/main/LICENSE)
|
|
7
7
|
[](https://github.com/psf/black)
|
|
8
|
-
[](https://zenodo.org/badge/latestdoi/901029258)
|
|
8
|
+
[](https://zenodo.org/badge/latestdoi/901029258)
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
## Overview
|
|
@@ -43,4 +43,3 @@ coefficient matrices.
|
|
|
43
43
|
## Contributing
|
|
44
44
|
|
|
45
45
|
Contributions are welcome! For suggestions or enhancements, please contact us or submit a pull request.
|
|
46
|
-
|
|
@@ -55,11 +55,11 @@ language = 'en'
|
|
|
55
55
|
html_theme = 'sphinx_rtd_theme'
|
|
56
56
|
html_static_path = ['_static']
|
|
57
57
|
```
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
The API `*.rst` pages (`modules.rst` and `pymrm.rst`) are generated automatically by
|
|
59
|
+
the Sphinx build configuration (`conf.py`) during `make html`, so they should not be
|
|
60
|
+
manually generated or committed.
|
|
61
|
+
|
|
62
|
+
Ensure `modules` is present in the `index.rst` toctree:
|
|
63
63
|
```bash
|
|
64
64
|
.. toctree::
|
|
65
65
|
:maxdepth: 2
|
|
@@ -72,4 +72,4 @@ Finally, you can invoke make to generate the documentation
|
|
|
72
72
|
# here we are in the root folder of the package
|
|
73
73
|
cd docs/sphinx
|
|
74
74
|
make html
|
|
75
|
-
```
|
|
75
|
+
```
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
import os
|
|
9
9
|
import sys
|
|
10
10
|
from pathlib import Path
|
|
11
|
+
from sphinx.ext.apidoc import main as apidoc_main
|
|
11
12
|
sys.path.insert(0, os.path.abspath('../..')) # this path should point at the root directory
|
|
12
13
|
sys.path.insert(0, str(Path('../..', 'src').resolve())) # patch so we don't need to install the repository for sphinx to work
|
|
13
14
|
|
|
@@ -43,3 +44,13 @@ language = 'en'
|
|
|
43
44
|
|
|
44
45
|
html_theme = 'sphinx_rtd_theme'
|
|
45
46
|
html_static_path = ['_static']
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def run_apidoc(_):
|
|
50
|
+
docs_dir = Path(__file__).resolve().parent
|
|
51
|
+
package_dir = docs_dir.parent.parent / 'src' / 'pymrm'
|
|
52
|
+
apidoc_main(['-f', '-o', str(docs_dir), str(package_dir)])
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def setup(app):
|
|
56
|
+
app.connect('builder-inited', run_apidoc)
|
|
@@ -5,16 +5,6 @@
|
|
|
5
5
|
|
|
6
6
|
pip install myst-parser # workaround. Should be included in Docker image?
|
|
7
7
|
pip install -e .
|
|
8
|
-
sphinx-apidoc -f -o docs/sphinx src/pymrm
|
|
9
|
-
if [[ "${CI}" == "true" ]]; then
|
|
10
|
-
api_rst_files=(docs/sphinx/pymrm.rst docs/sphinx/modules.rst)
|
|
11
|
-
if ! git diff --quiet HEAD -- "${api_rst_files[@]}"; then
|
|
12
|
-
echo "Detected outdated autogenerated Sphinx API files:"
|
|
13
|
-
git --no-pager diff HEAD -- "${api_rst_files[@]}"
|
|
14
|
-
echo "Run 'sphinx-apidoc -f -o docs/sphinx src/pymrm' and commit the updated rst files."
|
|
15
|
-
exit 1
|
|
16
|
-
fi
|
|
17
|
-
fi
|
|
18
8
|
cd docs/sphinx
|
|
19
9
|
mkdir -p _static
|
|
20
10
|
make html 2>documentation_errors.txt
|
|
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
|
|
|
18
18
|
commit_id: str | None
|
|
19
19
|
__commit_id__: str | None
|
|
20
20
|
|
|
21
|
-
__version__ = version = '2.2.
|
|
22
|
-
__version_tuple__ = version_tuple = (2, 2,
|
|
21
|
+
__version__ = version = '2.2.3'
|
|
22
|
+
__version_tuple__ = version_tuple = (2, 2, 3)
|
|
23
23
|
|
|
24
|
-
__commit_id__ = commit_id = '
|
|
24
|
+
__commit_id__ = commit_id = 'geb01e7e3c'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pymrm
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.3
|
|
4
4
|
Summary: Functions for multiphase reactor modeling
|
|
5
5
|
Author-email: "E.A.J.F. Peters" <e.a.j.f.peters@tue.nl>, "M. van Sint Annaland" <M.v.SintAnnaland@tue.nl>, "M. Galanti" <m.galanti@tue.nl>, "D.R. Rieder" <d.r.rieder@tue.nl>
|
|
6
6
|
Maintainer-email: "E.A.J.F. Peters" <e.a.j.f.peters@tue.nl>
|
|
@@ -61,7 +61,7 @@ Dynamic: license-file
|
|
|
61
61
|
[](https://pypi.org/project/pymrm/)
|
|
62
62
|
[](https://github.com/computational-chemical-engineering/pymrm/blob/main/LICENSE)
|
|
63
63
|
[](https://github.com/psf/black)
|
|
64
|
-
[](https://zenodo.org/badge/latestdoi/901029258)
|
|
64
|
+
[](https://zenodo.org/badge/latestdoi/901029258)
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
## Overview
|
|
@@ -99,4 +99,3 @@ coefficient matrices.
|
|
|
99
99
|
## Contributing
|
|
100
100
|
|
|
101
101
|
Contributions are welcome! For suggestions or enhancements, please contact us or submit a pull request.
|
|
102
|
-
|
|
@@ -24,12 +24,11 @@ docs/compile_sphinx.md
|
|
|
24
24
|
docs/dependencies_format.md
|
|
25
25
|
docs/helpers.md
|
|
26
26
|
docs/installation.md
|
|
27
|
+
docs/sphinx/.gitignore
|
|
27
28
|
docs/sphinx/Makefile
|
|
28
29
|
docs/sphinx/conf.py
|
|
29
30
|
docs/sphinx/index.rst
|
|
30
31
|
docs/sphinx/make.bat
|
|
31
|
-
docs/sphinx/modules.rst
|
|
32
|
-
docs/sphinx/pymrm.rst
|
|
33
32
|
examples/counter_current_reaction.ipynb
|
|
34
33
|
examples/counter_diffusion_reaction.ipynb
|
|
35
34
|
examples/darcy_flow.ipynb
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
pymrm package
|
|
2
|
-
=============
|
|
3
|
-
|
|
4
|
-
Submodules
|
|
5
|
-
----------
|
|
6
|
-
|
|
7
|
-
pymrm.convect module
|
|
8
|
-
--------------------
|
|
9
|
-
|
|
10
|
-
.. automodule:: pymrm.convect
|
|
11
|
-
:members:
|
|
12
|
-
:show-inheritance:
|
|
13
|
-
:undoc-members:
|
|
14
|
-
|
|
15
|
-
pymrm.coupling module
|
|
16
|
-
---------------------
|
|
17
|
-
|
|
18
|
-
.. automodule:: pymrm.coupling
|
|
19
|
-
:members:
|
|
20
|
-
:show-inheritance:
|
|
21
|
-
:undoc-members:
|
|
22
|
-
|
|
23
|
-
pymrm.grid module
|
|
24
|
-
-----------------
|
|
25
|
-
|
|
26
|
-
.. automodule:: pymrm.grid
|
|
27
|
-
:members:
|
|
28
|
-
:show-inheritance:
|
|
29
|
-
:undoc-members:
|
|
30
|
-
|
|
31
|
-
pymrm.helpers module
|
|
32
|
-
--------------------
|
|
33
|
-
|
|
34
|
-
.. automodule:: pymrm.helpers
|
|
35
|
-
:members:
|
|
36
|
-
:show-inheritance:
|
|
37
|
-
:undoc-members:
|
|
38
|
-
|
|
39
|
-
pymrm.interpolate module
|
|
40
|
-
------------------------
|
|
41
|
-
|
|
42
|
-
.. automodule:: pymrm.interpolate
|
|
43
|
-
:members:
|
|
44
|
-
:show-inheritance:
|
|
45
|
-
:undoc-members:
|
|
46
|
-
|
|
47
|
-
pymrm.numjac module
|
|
48
|
-
-------------------
|
|
49
|
-
|
|
50
|
-
.. automodule:: pymrm.numjac
|
|
51
|
-
:members:
|
|
52
|
-
:show-inheritance:
|
|
53
|
-
:undoc-members:
|
|
54
|
-
|
|
55
|
-
pymrm.operators module
|
|
56
|
-
----------------------
|
|
57
|
-
|
|
58
|
-
.. automodule:: pymrm.operators
|
|
59
|
-
:members:
|
|
60
|
-
:show-inheritance:
|
|
61
|
-
:undoc-members:
|
|
62
|
-
|
|
63
|
-
pymrm.solve module
|
|
64
|
-
------------------
|
|
65
|
-
|
|
66
|
-
.. automodule:: pymrm.solve
|
|
67
|
-
:members:
|
|
68
|
-
:show-inheritance:
|
|
69
|
-
:undoc-members:
|
|
70
|
-
|
|
71
|
-
Module contents
|
|
72
|
-
---------------
|
|
73
|
-
|
|
74
|
-
.. automodule:: pymrm
|
|
75
|
-
:members:
|
|
76
|
-
:show-inheritance:
|
|
77
|
-
:undoc-members:
|
|
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
|
|
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
|
|
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
|