AdsorPy 1.3.5a2__tar.gz → 1.3.5a4__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.
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/PKG-INFO +6 -6
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/README.md +1 -1
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/pyproject.toml +48 -29
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/sbom.cdx.json +1960 -4595
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/compiled_squared_cdist.c +294 -328
- adsorpy-1.3.5a4/src/adsorpy/compiled_squared_cdist.cpython-314-x86_64-linux-gnu.so +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/gui.py +76 -42
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/randomsequentialadsorption.py +82 -22
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/run_simulation.py +2 -2
- adsorpy-1.3.5a2/src/adsorpy/compiled_squared_cdist.cpython-313-x86_64-linux-gnu.so +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/LICENSE.md +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/VdW_Radii.csv +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/__init__.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/assets/Icon_attribution.txt +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/assets/book-open-list.png +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/assets/book-question.png +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/assets/bug--exclamation.png +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/assets/door-open-out.png +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/compiled_squared_cdist.pyx +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/config.json +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/molecule_colour.json +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/molecule_lib.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/rsa_calculator.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/rsa_config.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/scripts/__init__.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/scripts/schrodinger_interface.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/types.py +0 -0
- {adsorpy-1.3.5a2 → adsorpy-1.3.5a4}/src/adsorpy/vdw_radii.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: adsorpy
|
|
3
|
-
Version: 1.3.5-alpha.
|
|
3
|
+
Version: 1.3.5-alpha.4
|
|
4
4
|
Summary: Random sequential adsorption (RSA) simulation, 2D lattice-based.
|
|
5
5
|
Project-URL: github, https://github.com/JoostFWMaas/AdsorPy
|
|
6
6
|
Project-URL: Documentation, https://joostfwmaas.github.io/AdsorPy
|
|
@@ -32,20 +32,20 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
|
32
32
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
33
33
|
Classifier: Topic :: Software Development
|
|
34
34
|
Classifier: Typing :: Typed
|
|
35
|
-
Requires-Python:
|
|
35
|
+
Requires-Python: <3.15,>=3.11
|
|
36
36
|
Requires-Dist: defusedxml>=0.7.1
|
|
37
|
-
Requires-Dist: frozendict>=2.
|
|
37
|
+
Requires-Dist: frozendict>=2.5.1; python_version <= '3.14'
|
|
38
38
|
Requires-Dist: matplotlib>=3.11.2
|
|
39
39
|
Requires-Dist: numpy>=2.4.6
|
|
40
40
|
Requires-Dist: pydantic-extra-types>=2.11.1
|
|
41
|
-
Requires-Dist: pydantic>=2.14.
|
|
41
|
+
Requires-Dist: pydantic>=2.14.3
|
|
42
42
|
Requires-Dist: pyside6>=6.12.0
|
|
43
43
|
Requires-Dist: rtree>=1.4.1
|
|
44
44
|
Requires-Dist: shapely>=2.2.0
|
|
45
45
|
Requires-Dist: svg-py>=1.10.0
|
|
46
46
|
Requires-Dist: typing-extensions>=4.16.0
|
|
47
47
|
Provides-Extra: gui-deps
|
|
48
|
-
Requires-Dist: dask[distributed]>=2026.
|
|
48
|
+
Requires-Dist: dask[distributed]>=2026.11.0; extra == 'gui-deps'
|
|
49
49
|
Requires-Dist: h5py>=3.16.0; extra == 'gui-deps'
|
|
50
50
|
Requires-Dist: pandas>=3.1.0; extra == 'gui-deps'
|
|
51
51
|
Requires-Dist: seaborn>=0.13.2; extra == 'gui-deps'
|
|
@@ -109,7 +109,7 @@ In a future update, the code will be expanded with diffusion, desorption, and sp
|
|
|
109
109
|
Because AdsorPy has been made with scientific rigour in mind, the package is tested in multiple ways:
|
|
110
110
|
- Unit tests (`pytest`) of the code ensure correct behaviour for expected input.
|
|
111
111
|
- Property tests (`hypothesis`) of the most critical code components ensure correct behaviour for unexpected input as well.
|
|
112
|
-
- `mypy` (in `--strict` mode) and `
|
|
112
|
+
- `mypy` (in `--strict` mode) and `basedpyright` (`strict`) ensure that the package is correctly-typed, as if it were static. The `py.typed` file, a promise that the code is type-hinted properly, is added because the code passes this test.
|
|
113
113
|
- `ruff` is used as a linter with almost all rules enabled (see the `pyproject.toml` for the list of exclusions and reasons).
|
|
114
114
|
- `slotscheck` ensures that all dataclass slots are set up correctly.
|
|
115
115
|
- `tach` ensures that internal dependencies are handled correctly (from low level to high), preventing circular dependencies.
|
|
@@ -56,7 +56,7 @@ In a future update, the code will be expanded with diffusion, desorption, and sp
|
|
|
56
56
|
Because AdsorPy has been made with scientific rigour in mind, the package is tested in multiple ways:
|
|
57
57
|
- Unit tests (`pytest`) of the code ensure correct behaviour for expected input.
|
|
58
58
|
- Property tests (`hypothesis`) of the most critical code components ensure correct behaviour for unexpected input as well.
|
|
59
|
-
- `mypy` (in `--strict` mode) and `
|
|
59
|
+
- `mypy` (in `--strict` mode) and `basedpyright` (`strict`) ensure that the package is correctly-typed, as if it were static. The `py.typed` file, a promise that the code is type-hinted properly, is added because the code passes this test.
|
|
60
60
|
- `ruff` is used as a linter with almost all rules enabled (see the `pyproject.toml` for the list of exclusions and reasons).
|
|
61
61
|
- `slotscheck` ensures that all dataclass slots are set up correctly.
|
|
62
62
|
- `tach` ensures that internal dependencies are handled correctly (from low level to high), preventing circular dependencies.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["hatchling", "hatch-cython"]
|
|
2
|
+
requires = ["hatchling>=1.18.2", "hatch-cython"]
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
|
|
5
5
|
|
|
@@ -7,11 +7,11 @@ build-backend = "hatchling.build"
|
|
|
7
7
|
[project]
|
|
8
8
|
name = "adsorpy"
|
|
9
9
|
#dynamic = ["version"] # The Python guide says that this will use the Git tag to fill it in.
|
|
10
|
-
version = "1.3.5-alpha.
|
|
10
|
+
version = "1.3.5-alpha.4" # Edit manually.
|
|
11
11
|
description = "Random sequential adsorption (RSA) simulation, 2D lattice-based."
|
|
12
12
|
authors = [{ name = "J.F.W. Maas", email = "j.f.w.maas@tue.nl" }]
|
|
13
13
|
readme = "README.md"
|
|
14
|
-
requires-python = ">=3.11"
|
|
14
|
+
requires-python = ">=3.11,<3.15"
|
|
15
15
|
license = "MIT"
|
|
16
16
|
license-files = ["LICEN[CS]E.md"]
|
|
17
17
|
classifiers = [
|
|
@@ -62,14 +62,14 @@ dependencies = [
|
|
|
62
62
|
"numpy>=2.4.6",
|
|
63
63
|
"matplotlib>=3.11.2",
|
|
64
64
|
"shapely>=2.2.0",
|
|
65
|
-
"pydantic>=2.14.
|
|
65
|
+
"pydantic>=2.14.3",
|
|
66
66
|
"pydantic-extra-types>=2.11.1",
|
|
67
67
|
"rtree>=1.4.1",
|
|
68
68
|
"svg-py>=1.10.0",
|
|
69
69
|
"defusedxml>=0.7.1",
|
|
70
70
|
"PySide6>=6.12.0",
|
|
71
71
|
"typing-extensions>=4.16.0",
|
|
72
|
-
"frozendict>=2.
|
|
72
|
+
"frozendict>=2.5.1; python_version <= '3.14'", # This exists in default Python starting 3.15.
|
|
73
73
|
]
|
|
74
74
|
|
|
75
75
|
|
|
@@ -79,12 +79,16 @@ gui-deps = [
|
|
|
79
79
|
"pandas>=3.1.0",
|
|
80
80
|
"h5py>=3.16.0",
|
|
81
81
|
"seaborn>=0.13.2",
|
|
82
|
-
"dask[distributed]>=2026.
|
|
82
|
+
"dask[distributed]>=2026.11.0",
|
|
83
83
|
]
|
|
84
84
|
|
|
85
85
|
|
|
86
86
|
[tool.uv]
|
|
87
|
-
required-version = ">=0.13.
|
|
87
|
+
required-version = ">=0.13.5"
|
|
88
|
+
environments = [
|
|
89
|
+
"platform_system != 'Emscripten'"
|
|
90
|
+
]
|
|
91
|
+
#exclude-newer = "3 days"
|
|
88
92
|
|
|
89
93
|
constraint-dependencies = [
|
|
90
94
|
"html5lib>=1.1",
|
|
@@ -109,45 +113,56 @@ constraint-dependencies = [
|
|
|
109
113
|
"id>=1.6.1",
|
|
110
114
|
"pyyaml>=6.0.3",
|
|
111
115
|
"pillow>=13.0.0",
|
|
116
|
+
"pip>=26.3.0",
|
|
117
|
+
"certifi>=2026.10.23",
|
|
118
|
+
"sigstore>=4.5.1",
|
|
119
|
+
"conda>=26.9.4",
|
|
120
|
+
"pixi>=0.82.1",
|
|
121
|
+
"soupsieve>=4.0.0",
|
|
122
|
+
"virtualenv>=21.14.12",
|
|
123
|
+
"pipx>=1.18.7",
|
|
124
|
+
"pixi>=0.82.1",
|
|
125
|
+
"pipenv>=2026.10.2",
|
|
126
|
+
"PDM>=2.29.4",
|
|
127
|
+
"Pex>=2.105.1",
|
|
128
|
+
"pyenv>=2.8.14"
|
|
112
129
|
]
|
|
113
130
|
|
|
114
131
|
[dependency-groups]
|
|
115
132
|
test = [
|
|
116
|
-
"pytest>=9.
|
|
133
|
+
"pytest>=9.2.0",
|
|
117
134
|
"pytest-cov>=7.1.0",
|
|
118
|
-
"hypothesis>=6.170.
|
|
119
|
-
# "scipy>=1.15.3",
|
|
120
|
-
"codecov>=2.1.13",
|
|
135
|
+
"hypothesis>=6.170.17",
|
|
121
136
|
"pytest-qt>=4.5.0",
|
|
122
137
|
"pytest-xvfb>=3.1.1; sys_platform == 'linux'",
|
|
123
138
|
"pyvirtualdisplay>=3.0; sys_platform == 'linux'",
|
|
124
139
|
"easyprocess>=1.1; sys_platform == 'linux'",
|
|
125
|
-
"pytest-env>=1.8.
|
|
140
|
+
"pytest-env>=1.8.5",
|
|
126
141
|
]
|
|
127
142
|
lint = [
|
|
128
|
-
"mypy==2.4.
|
|
129
|
-
"ruff==0.17.
|
|
143
|
+
"mypy==2.4.1",
|
|
144
|
+
"ruff==0.17.6",
|
|
130
145
|
"basedpyright==1.40.2",
|
|
131
146
|
"tach==0.35.3",
|
|
132
147
|
"slotscheck==0.21.0",
|
|
133
148
|
"pyside6-stubs==6.7.3.0",
|
|
134
|
-
"types-shapely>=2.
|
|
149
|
+
"types-shapely>=2.2.0.20261122",
|
|
135
150
|
]
|
|
136
151
|
docs = [
|
|
137
|
-
"sphinx>=
|
|
152
|
+
"sphinx>=9.0.0",
|
|
138
153
|
"furo>=2025.12.19",
|
|
139
|
-
"sphinx_design>=0.
|
|
140
|
-
"sphinx-autodoc-typehints>=3.
|
|
154
|
+
"sphinx_design>=0.8.0",
|
|
155
|
+
"sphinx-autodoc-typehints>=3.17.7",
|
|
141
156
|
"sphinx-pyproject>=0.3.0",
|
|
142
157
|
]
|
|
143
158
|
envs = [
|
|
144
|
-
"tox>=4.67.
|
|
145
|
-
"tox-uv>=1.37.
|
|
159
|
+
"tox>=4.67.15",
|
|
160
|
+
"tox-uv>=1.37.9",
|
|
146
161
|
]
|
|
147
162
|
dev-misc = [
|
|
148
163
|
"build>=1.6.1",
|
|
149
164
|
"twine>=7.0.0",
|
|
150
|
-
"cibuildwheel>=4.3.
|
|
165
|
+
"cibuildwheel>=4.3.5",
|
|
151
166
|
]
|
|
152
167
|
|
|
153
168
|
dev-gui = [
|
|
@@ -160,6 +175,8 @@ dev = [
|
|
|
160
175
|
{include-group = "envs"},
|
|
161
176
|
]
|
|
162
177
|
|
|
178
|
+
[tool.uv.dependency-groups]
|
|
179
|
+
docs = { requires-python = "==3.14.*" }
|
|
163
180
|
|
|
164
181
|
[project.urls]
|
|
165
182
|
github = "https://github.com/JoostFWMaas/AdsorPy"
|
|
@@ -200,7 +217,7 @@ include = [
|
|
|
200
217
|
[tool.pytest.ini_options]
|
|
201
218
|
testpaths = ["tests"]
|
|
202
219
|
pythonpath = ["."]
|
|
203
|
-
addopts = ["--cov=adsorpy", "--cov-report=term", "--cov-report=html", "--strict-markers", "--import-mode=importlib"]
|
|
220
|
+
#addopts = ["--cov=adsorpy", "--cov-report=term", "--cov-report=html", "--strict-markers", "--import-mode=importlib"]
|
|
204
221
|
qt_api = "pyside6"
|
|
205
222
|
env = ["QT_QPA_PLATFORM=offscreen"]
|
|
206
223
|
|
|
@@ -215,6 +232,9 @@ omit = [
|
|
|
215
232
|
"*/sensitivity.py", # Demonstrator, not included.
|
|
216
233
|
"*/[sS]cripts/*",
|
|
217
234
|
]
|
|
235
|
+
parallel = true
|
|
236
|
+
source = ["src", "adsorpy"]
|
|
237
|
+
branch = true
|
|
218
238
|
|
|
219
239
|
|
|
220
240
|
[tool.coverage.report]
|
|
@@ -230,11 +250,8 @@ exclude_also = [
|
|
|
230
250
|
"if plot_",
|
|
231
251
|
"while temp_results_folder.is_dir()", # Checks for collision in saving folders. Nothing is saved for tests.
|
|
232
252
|
"if self.flux_flag:", # Experimental feature, not yet usable.
|
|
233
|
-
"
|
|
253
|
+
"_run_flux", # See above.
|
|
234
254
|
"if not self.simple_shape_flag", # Idem ditto.
|
|
235
|
-
"if (sys\\.)?version_info", # Is tested with Tox (between instances of Pytest). False negative.
|
|
236
|
-
"from datetime import", # Used for compatibility between versions. Only tests for one version at a time.
|
|
237
|
-
"@njit", # Compiled code is not seen by coverage. This code is tested with Hypothesis though. False negative.
|
|
238
255
|
"svg",
|
|
239
256
|
"css",
|
|
240
257
|
"def show_",
|
|
@@ -247,9 +264,11 @@ exclude_also = [
|
|
|
247
264
|
|
|
248
265
|
[tool.coverage.paths]
|
|
249
266
|
source = [
|
|
250
|
-
"
|
|
251
|
-
"
|
|
252
|
-
"
|
|
267
|
+
"adsorpy/", # Local path
|
|
268
|
+
"*/src/adsorpy/",
|
|
269
|
+
"*\\src\\adsorpy/",
|
|
270
|
+
"*/site-packages/adsorpy", # Linux / MacOS / CI path
|
|
271
|
+
"*\\site-packages\\adsorpy", # Windows path
|
|
253
272
|
]
|
|
254
273
|
|
|
255
274
|
|