AdsorPy 1.3.4a8__tar.gz → 1.3.5a2__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.4a8 → adsorpy-1.3.5a2}/PKG-INFO +14 -107
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/README.md +3 -3
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/pyproject.toml +75 -70
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/sbom.cdx.json +5384 -9164
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/compiled_squared_cdist.c +1 -1
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/compiled_squared_cdist.cpython-313-x86_64-linux-gnu.so +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/gui.py +3 -10
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/randomsequentialadsorption.py +39 -16
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/rsa_config.py +1 -6
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/run_simulation.py +7 -14
- adsorpy-1.3.5a2/src/adsorpy/scripts/__init__.py +2 -0
- adsorpy-1.3.5a2/src/adsorpy/scripts/schrodinger_interface.py +144 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/types.py +1 -1
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/LICENSE.md +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/VdW_Radii.csv +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/__init__.py +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/assets/Icon_attribution.txt +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/assets/book-open-list.png +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/assets/book-question.png +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/assets/bug--exclamation.png +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/assets/door-open-out.png +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/compiled_squared_cdist.pyx +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/config.json +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/molecule_colour.json +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/molecule_lib.py +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/src/adsorpy/rsa_calculator.py +0 -0
- {adsorpy-1.3.4a8 → adsorpy-1.3.5a2}/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.
|
|
3
|
+
Version: 1.3.5-alpha.2
|
|
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
|
|
@@ -16,11 +16,12 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
16
16
|
Classifier: Intended Audience :: Developers
|
|
17
17
|
Classifier: Intended Audience :: Science/Research
|
|
18
18
|
Classifier: Natural Language :: English
|
|
19
|
-
Classifier: Operating System ::
|
|
19
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
20
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
21
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
20
22
|
Classifier: Programming Language :: Python
|
|
21
23
|
Classifier: Programming Language :: Python :: 3
|
|
22
24
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
24
25
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
26
|
Classifier: Programming Language :: Python :: 3.12
|
|
26
27
|
Classifier: Programming Language :: Python :: 3.13
|
|
@@ -31,131 +32,37 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
|
31
32
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
32
33
|
Classifier: Topic :: Software Development
|
|
33
34
|
Classifier: Typing :: Typed
|
|
34
|
-
Requires-Python: >=3.
|
|
35
|
-
Requires-Dist: beautifulsoup4>=4.10.0
|
|
35
|
+
Requires-Python: >=3.11
|
|
36
36
|
Requires-Dist: defusedxml>=0.7.1
|
|
37
|
-
Requires-Dist: entrypoints>=0.2.3
|
|
38
|
-
Requires-Dist: enum34>=1.1.10
|
|
39
37
|
Requires-Dist: frozendict>=2.4.7; python_version <= '3.14'
|
|
40
|
-
Requires-Dist:
|
|
41
|
-
Requires-Dist:
|
|
42
|
-
Requires-Dist: ipaddress>=1.0.23
|
|
43
|
-
Requires-Dist: matplotlib>=3.8.9
|
|
44
|
-
Requires-Dist: numpy>=2.2.6
|
|
45
|
-
Requires-Dist: ply>=3.11
|
|
46
|
-
Requires-Dist: pre-commit>=4.6.2
|
|
47
|
-
Requires-Dist: pycparser>=3.0.0
|
|
38
|
+
Requires-Dist: matplotlib>=3.11.2
|
|
39
|
+
Requires-Dist: numpy>=2.4.6
|
|
48
40
|
Requires-Dist: pydantic-extra-types>=2.11.1
|
|
49
|
-
Requires-Dist: pydantic>=2.
|
|
50
|
-
Requires-Dist:
|
|
51
|
-
Requires-Dist: pyside6>=6.11.1
|
|
52
|
-
Requires-Dist: pywin32-ctypes>=0.2.3
|
|
41
|
+
Requires-Dist: pydantic>=2.14.1
|
|
42
|
+
Requires-Dist: pyside6>=6.12.0
|
|
53
43
|
Requires-Dist: rtree>=1.4.1
|
|
54
|
-
Requires-Dist:
|
|
55
|
-
Requires-Dist: shapely>=2.1.2
|
|
44
|
+
Requires-Dist: shapely>=2.2.0
|
|
56
45
|
Requires-Dist: svg-py>=1.10.0
|
|
57
46
|
Requires-Dist: typing-extensions>=4.16.0
|
|
58
|
-
Requires-Dist: wcwidth>=0.7.0
|
|
59
|
-
Requires-Dist: webencodings>=0.5.1
|
|
60
|
-
Provides-Extra: dev-complete
|
|
61
|
-
Requires-Dist: basedpyright==1.40.1; extra == 'dev-complete'
|
|
62
|
-
Requires-Dist: build>=1.6.1; extra == 'dev-complete'
|
|
63
|
-
Requires-Dist: check-wheel-contents>=0.6.3; extra == 'dev-complete'
|
|
64
|
-
Requires-Dist: cibuildwheel>=2.23.4; extra == 'dev-complete'
|
|
65
|
-
Requires-Dist: codecov>=2.1.13; extra == 'dev-complete'
|
|
66
|
-
Requires-Dist: cryptography>=50.0.1; extra == 'dev-complete'
|
|
67
|
-
Requires-Dist: dask[distributed]>=2026.8.0; extra == 'dev-complete'
|
|
68
|
-
Requires-Dist: easyprocess>=1.1; (sys_platform == 'linux') and extra == 'dev-complete'
|
|
69
|
-
Requires-Dist: furo>=2025.12.19; extra == 'dev-complete'
|
|
70
|
-
Requires-Dist: gitpython>=3.2.0; extra == 'dev-complete'
|
|
71
|
-
Requires-Dist: h5py>=3.16.0; extra == 'dev-complete'
|
|
72
|
-
Requires-Dist: hypothesis>=6.168.3; extra == 'dev-complete'
|
|
73
|
-
Requires-Dist: mypy==2.3.1; extra == 'dev-complete'
|
|
74
|
-
Requires-Dist: nodeenv>=1.10.0; extra == 'dev-complete'
|
|
75
|
-
Requires-Dist: pandas>=2.3.3; extra == 'dev-complete'
|
|
76
|
-
Requires-Dist: pre-commit>=4.6.2; extra == 'dev-complete'
|
|
77
|
-
Requires-Dist: pyside6-stubs==6.7.3.0; extra == 'dev-complete'
|
|
78
|
-
Requires-Dist: pytest-cov>=7.1.0; extra == 'dev-complete'
|
|
79
|
-
Requires-Dist: pytest-env>=1.7.1; extra == 'dev-complete'
|
|
80
|
-
Requires-Dist: pytest-qt>=4.5.0; extra == 'dev-complete'
|
|
81
|
-
Requires-Dist: pytest-xvfb>=3.1.1; (sys_platform == 'linux') and extra == 'dev-complete'
|
|
82
|
-
Requires-Dist: pytest>=9.1.1; extra == 'dev-complete'
|
|
83
|
-
Requires-Dist: pyvirtualdisplay>=1.3; (sys_platform == 'linux') and extra == 'dev-complete'
|
|
84
|
-
Requires-Dist: ruff==0.16.9; extra == 'dev-complete'
|
|
85
|
-
Requires-Dist: scipy>=1.15.3; extra == 'dev-complete'
|
|
86
|
-
Requires-Dist: seaborn>=0.13.2; extra == 'dev-complete'
|
|
87
|
-
Requires-Dist: slotscheck==0.21.0; extra == 'dev-complete'
|
|
88
|
-
Requires-Dist: sphinx-autodoc-typehints>=3.0.1; extra == 'dev-complete'
|
|
89
|
-
Requires-Dist: sphinx-design>=0.6.1; extra == 'dev-complete'
|
|
90
|
-
Requires-Dist: sphinx-pyproject>=0.3.0; extra == 'dev-complete'
|
|
91
|
-
Requires-Dist: sphinx>=8.1.3; extra == 'dev-complete'
|
|
92
|
-
Requires-Dist: tach==0.35.2; extra == 'dev-complete'
|
|
93
|
-
Requires-Dist: tox-uv==1.36.0; extra == 'dev-complete'
|
|
94
|
-
Requires-Dist: tox==4.64.6; extra == 'dev-complete'
|
|
95
|
-
Requires-Dist: twine>=7.0.0; extra == 'dev-complete'
|
|
96
|
-
Requires-Dist: types-shapely>=2.1.0.20260728; extra == 'dev-complete'
|
|
97
|
-
Requires-Dist: uv==0.12.21; extra == 'dev-complete'
|
|
98
|
-
Provides-Extra: dev-misc
|
|
99
|
-
Requires-Dist: build>=1.6.1; extra == 'dev-misc'
|
|
100
|
-
Requires-Dist: check-wheel-contents>=0.6.3; extra == 'dev-misc'
|
|
101
|
-
Requires-Dist: cibuildwheel>=2.23.4; extra == 'dev-misc'
|
|
102
|
-
Requires-Dist: cryptography>=50.0.1; extra == 'dev-misc'
|
|
103
|
-
Requires-Dist: nodeenv>=1.10.0; extra == 'dev-misc'
|
|
104
|
-
Requires-Dist: pre-commit>=4.6.2; extra == 'dev-misc'
|
|
105
|
-
Requires-Dist: twine>=7.0.0; extra == 'dev-misc'
|
|
106
|
-
Provides-Extra: docs
|
|
107
|
-
Requires-Dist: furo>=2025.12.19; extra == 'docs'
|
|
108
|
-
Requires-Dist: sphinx-autodoc-typehints>=3.0.1; extra == 'docs'
|
|
109
|
-
Requires-Dist: sphinx-design>=0.6.1; extra == 'docs'
|
|
110
|
-
Requires-Dist: sphinx-pyproject>=0.3.0; extra == 'docs'
|
|
111
|
-
Requires-Dist: sphinx>=8.1.3; extra == 'docs'
|
|
112
|
-
Provides-Extra: envs
|
|
113
|
-
Requires-Dist: tox-uv==1.36.0; extra == 'envs'
|
|
114
|
-
Requires-Dist: tox==4.64.6; extra == 'envs'
|
|
115
|
-
Requires-Dist: uv==0.12.21; extra == 'envs'
|
|
116
47
|
Provides-Extra: gui-deps
|
|
117
48
|
Requires-Dist: dask[distributed]>=2026.8.0; extra == 'gui-deps'
|
|
118
49
|
Requires-Dist: h5py>=3.16.0; extra == 'gui-deps'
|
|
119
|
-
Requires-Dist: pandas>=
|
|
50
|
+
Requires-Dist: pandas>=3.1.0; extra == 'gui-deps'
|
|
120
51
|
Requires-Dist: seaborn>=0.13.2; extra == 'gui-deps'
|
|
121
|
-
Provides-Extra: lint
|
|
122
|
-
Requires-Dist: basedpyright==1.40.1; extra == 'lint'
|
|
123
|
-
Requires-Dist: gitpython>=3.2.0; extra == 'lint'
|
|
124
|
-
Requires-Dist: mypy==2.3.1; extra == 'lint'
|
|
125
|
-
Requires-Dist: pyside6-stubs==6.7.3.0; extra == 'lint'
|
|
126
|
-
Requires-Dist: ruff==0.16.9; extra == 'lint'
|
|
127
|
-
Requires-Dist: slotscheck==0.21.0; extra == 'lint'
|
|
128
|
-
Requires-Dist: tach==0.35.2; extra == 'lint'
|
|
129
|
-
Requires-Dist: types-shapely>=2.1.0.20260728; extra == 'lint'
|
|
130
|
-
Provides-Extra: test
|
|
131
|
-
Requires-Dist: codecov>=2.1.13; extra == 'test'
|
|
132
|
-
Requires-Dist: dask[distributed]>=2026.8.0; extra == 'test'
|
|
133
|
-
Requires-Dist: easyprocess>=1.1; (sys_platform == 'linux') and extra == 'test'
|
|
134
|
-
Requires-Dist: h5py>=3.16.0; extra == 'test'
|
|
135
|
-
Requires-Dist: hypothesis>=6.168.3; extra == 'test'
|
|
136
|
-
Requires-Dist: pandas>=2.3.3; extra == 'test'
|
|
137
|
-
Requires-Dist: pytest-cov>=7.1.0; extra == 'test'
|
|
138
|
-
Requires-Dist: pytest-env>=1.7.1; extra == 'test'
|
|
139
|
-
Requires-Dist: pytest-qt>=4.5.0; extra == 'test'
|
|
140
|
-
Requires-Dist: pytest-xvfb>=3.1.1; (sys_platform == 'linux') and extra == 'test'
|
|
141
|
-
Requires-Dist: pytest>=9.1.1; extra == 'test'
|
|
142
|
-
Requires-Dist: pyvirtualdisplay>=1.3; (sys_platform == 'linux') and extra == 'test'
|
|
143
|
-
Requires-Dist: scipy>=1.15.3; extra == 'test'
|
|
144
|
-
Requires-Dist: seaborn>=0.13.2; extra == 'test'
|
|
145
52
|
Description-Content-Type: text/markdown
|
|
146
53
|
|
|
147
54
|
# AdsorPy
|
|
148
55
|
|
|
149
56
|
[](https://pypi.python.org/pypi/adsorpy) <!-- [](https://anaconda.org/conda-forge/adsorpy) -->
|
|
57
|
+
[](https://pypi.python.org/pypi/adsorpy)
|
|
150
58
|

|
|
151
59
|
[](https://joostfwmaas.github.io/AdsorPy/)
|
|
152
60
|
[](https://codecov.io/github/JoostFWMaas/AdsorPy)
|
|
153
61
|
[](https://scorecard.dev/viewer/?uri=github.com/JoostFWMaas/AdsorPy)
|
|
154
|
-
[](https://www.bestpractices.dev/projects/12810)
|
|
62
|
+
[](https://app.sbomify.com/public/product/jmtLHQbIeZLD/)
|
|
156
63
|
|
|
157
64
|
|
|
158
|
-
Lattice-based random sequential adsorption (RSA) Python 3.
|
|
65
|
+
Lattice-based random sequential adsorption (RSA) Python 3.11+ script.
|
|
159
66
|
|
|
160
67
|
In RSA, molecules arrive one by one at a surface. Adsorption takes place if the molecule does not overlap with molecules
|
|
161
68
|
already on the surface.
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
# AdsorPy
|
|
2
2
|
|
|
3
3
|
[](https://pypi.python.org/pypi/adsorpy) <!-- [](https://anaconda.org/conda-forge/adsorpy) -->
|
|
4
|
+
[](https://pypi.python.org/pypi/adsorpy)
|
|
4
5
|

|
|
5
6
|
[](https://joostfwmaas.github.io/AdsorPy/)
|
|
6
7
|
[](https://codecov.io/github/JoostFWMaas/AdsorPy)
|
|
7
8
|
[](https://scorecard.dev/viewer/?uri=github.com/JoostFWMaas/AdsorPy)
|
|
8
|
-
[](https://www.bestpractices.dev/projects/12810)
|
|
9
|
+
[](https://app.sbomify.com/public/product/jmtLHQbIeZLD/)
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
Lattice-based random sequential adsorption (RSA) Python 3.
|
|
12
|
+
Lattice-based random sequential adsorption (RSA) Python 3.11+ script.
|
|
13
13
|
|
|
14
14
|
In RSA, molecules arrive one by one at a surface. Adsorption takes place if the molecule does not overlap with molecules
|
|
15
15
|
already on the surface.
|
|
@@ -7,17 +7,16 @@ 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.
|
|
10
|
+
version = "1.3.5-alpha.2" # 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.
|
|
14
|
+
requires-python = ">=3.11"
|
|
15
15
|
license = "MIT"
|
|
16
16
|
license-files = ["LICEN[CS]E.md"]
|
|
17
17
|
classifiers = [
|
|
18
18
|
# Project maturity:
|
|
19
19
|
"Development Status :: 5 - Production/Stable",
|
|
20
|
-
# "License :: OSI Approved :: MIT License",
|
|
21
20
|
"Typing :: Typed",
|
|
22
21
|
# Intended users of project:
|
|
23
22
|
"Natural Language :: English",
|
|
@@ -32,13 +31,14 @@ classifiers = [
|
|
|
32
31
|
"Programming Language :: Python",
|
|
33
32
|
"Programming Language :: Python :: 3",
|
|
34
33
|
"Programming Language :: Python :: 3 :: Only",
|
|
35
|
-
"Programming Language :: Python :: 3.10",
|
|
36
34
|
"Programming Language :: Python :: 3.11",
|
|
37
35
|
"Programming Language :: Python :: 3.12",
|
|
38
36
|
"Programming Language :: Python :: 3.13",
|
|
39
37
|
"Programming Language :: Python :: 3.14",
|
|
40
|
-
# This does not run on mobile because of Shapely. It runs
|
|
41
|
-
"Operating System ::
|
|
38
|
+
# This does not run on mobile because of Shapely. It runs on most other platforms, see matrix tests in CI.
|
|
39
|
+
"Operating System :: Microsoft :: Windows",
|
|
40
|
+
"Operating System :: POSIX :: Linux",
|
|
41
|
+
"Operating System :: MacOS :: MacOS X",
|
|
42
42
|
]
|
|
43
43
|
keywords = [
|
|
44
44
|
"RSA",
|
|
@@ -59,88 +59,105 @@ keywords = [
|
|
|
59
59
|
]
|
|
60
60
|
|
|
61
61
|
dependencies = [
|
|
62
|
-
"numpy>=2.
|
|
63
|
-
"matplotlib>=3.
|
|
64
|
-
"shapely>=2.
|
|
65
|
-
"pydantic>=2.
|
|
62
|
+
"numpy>=2.4.6",
|
|
63
|
+
"matplotlib>=3.11.2",
|
|
64
|
+
"shapely>=2.2.0",
|
|
65
|
+
"pydantic>=2.14.1",
|
|
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
|
-
"PySide6>=6.
|
|
70
|
+
"PySide6>=6.12.0",
|
|
71
71
|
"typing-extensions>=4.16.0",
|
|
72
72
|
"frozendict>=2.4.7; python_version <= '3.14'", # This exists in default Python starting 3.15.
|
|
73
|
-
|
|
73
|
+
]
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
[project.optional-dependencies]
|
|
77
|
+
|
|
78
|
+
gui-deps = [
|
|
79
|
+
"pandas>=3.1.0",
|
|
80
|
+
"h5py>=3.16.0",
|
|
81
|
+
"seaborn>=0.13.2",
|
|
82
|
+
"dask[distributed]>=2026.8.0",
|
|
83
|
+
]
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
[tool.uv]
|
|
87
|
+
required-version = ">=0.13.4"
|
|
88
|
+
|
|
89
|
+
constraint-dependencies = [
|
|
74
90
|
"html5lib>=1.1",
|
|
75
|
-
"wcwidth>=0.
|
|
91
|
+
"wcwidth>=0.9.3",
|
|
76
92
|
"webencodings>=0.5.1",
|
|
77
|
-
"pyproject-hooks>=1.
|
|
78
|
-
"beautifulsoup4>=4.
|
|
93
|
+
"pyproject-hooks>=1.3.3",
|
|
94
|
+
"beautifulsoup4>=4.15.0",
|
|
79
95
|
"entrypoints>=0.2.3",
|
|
80
96
|
"future>=1.0.0",
|
|
81
97
|
"secretstorage>=3.5.0",
|
|
82
98
|
"pywin32-ctypes>=0.2.3",
|
|
83
|
-
"pycparser>=3.
|
|
99
|
+
"pycparser>=3.12",
|
|
84
100
|
"enum34>=1.1.10",
|
|
85
101
|
"ipaddress>=1.0.23",
|
|
86
102
|
"ply>=3.11",
|
|
87
|
-
"
|
|
103
|
+
"cryptography>=50.0.2",
|
|
104
|
+
"check-wheel-contents>=0.6.3",
|
|
105
|
+
"nodeenv>=1.11.0",
|
|
106
|
+
"gitpython>=3.2.1",
|
|
107
|
+
"bashlex>=0.18",
|
|
108
|
+
"bracex>=3.2",
|
|
109
|
+
"id>=1.6.1",
|
|
110
|
+
"pyyaml>=6.0.3",
|
|
111
|
+
"pillow>=13.0.0",
|
|
88
112
|
]
|
|
89
113
|
|
|
90
|
-
|
|
91
|
-
[project.optional-dependencies]
|
|
114
|
+
[dependency-groups]
|
|
92
115
|
test = [
|
|
93
116
|
"pytest>=9.1.1",
|
|
94
117
|
"pytest-cov>=7.1.0",
|
|
95
|
-
"hypothesis>=6.
|
|
96
|
-
"scipy>=1.15.3",
|
|
118
|
+
"hypothesis>=6.170.6",
|
|
119
|
+
# "scipy>=1.15.3",
|
|
97
120
|
"codecov>=2.1.13",
|
|
98
121
|
"pytest-qt>=4.5.0",
|
|
99
|
-
"adsorpy[gui-deps]",
|
|
100
122
|
"pytest-xvfb>=3.1.1; sys_platform == 'linux'",
|
|
101
|
-
"pyvirtualdisplay>=
|
|
123
|
+
"pyvirtualdisplay>=3.0; sys_platform == 'linux'",
|
|
102
124
|
"easyprocess>=1.1; sys_platform == 'linux'",
|
|
103
|
-
"pytest-env>=1.
|
|
125
|
+
"pytest-env>=1.8.1",
|
|
104
126
|
]
|
|
105
127
|
lint = [
|
|
106
|
-
"mypy==2.
|
|
107
|
-
"ruff==0.
|
|
108
|
-
"basedpyright==1.40.
|
|
109
|
-
"tach==0.35.
|
|
128
|
+
"mypy==2.4.0",
|
|
129
|
+
"ruff==0.17.2",
|
|
130
|
+
"basedpyright==1.40.2",
|
|
131
|
+
"tach==0.35.3",
|
|
110
132
|
"slotscheck==0.21.0",
|
|
111
133
|
"pyside6-stubs==6.7.3.0",
|
|
112
|
-
"gitpython>=3.2.0",
|
|
113
134
|
"types-shapely>=2.1.0.20260728",
|
|
114
135
|
]
|
|
115
136
|
docs = [
|
|
116
|
-
"sphinx>=8.
|
|
137
|
+
"sphinx>=8.3.0",
|
|
117
138
|
"furo>=2025.12.19",
|
|
118
139
|
"sphinx_design>=0.6.1",
|
|
119
|
-
"sphinx-autodoc-typehints>=3.
|
|
140
|
+
"sphinx-autodoc-typehints>=3.6.1",
|
|
120
141
|
"sphinx-pyproject>=0.3.0",
|
|
121
142
|
]
|
|
122
143
|
envs = [
|
|
123
|
-
"tox
|
|
124
|
-
"tox-uv
|
|
125
|
-
"uv==0.12.21",
|
|
144
|
+
"tox>=4.67.1",
|
|
145
|
+
"tox-uv>=1.37.0",
|
|
126
146
|
]
|
|
127
147
|
dev-misc = [
|
|
128
148
|
"build>=1.6.1",
|
|
129
149
|
"twine>=7.0.0",
|
|
130
|
-
"
|
|
131
|
-
"check-wheel-contents>=0.6.3",
|
|
132
|
-
"pre-commit>=4.6.2",
|
|
133
|
-
"nodeenv>=1.10.0",
|
|
134
|
-
"cibuildwheel>=2.23.4",
|
|
150
|
+
"cibuildwheel>=4.3.4",
|
|
135
151
|
]
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
"seaborn>=0.13.2",
|
|
140
|
-
"dask[distributed]>=2026.8.0",
|
|
152
|
+
|
|
153
|
+
dev-gui = [
|
|
154
|
+
"adsorpy[gui-deps]"
|
|
141
155
|
]
|
|
142
|
-
dev
|
|
143
|
-
"
|
|
156
|
+
dev = [
|
|
157
|
+
"pre-commit>=4.7.0",
|
|
158
|
+
{include-group = "test"},
|
|
159
|
+
{include-group = "dev-gui"},
|
|
160
|
+
{include-group = "envs"},
|
|
144
161
|
]
|
|
145
162
|
|
|
146
163
|
|
|
@@ -188,15 +205,15 @@ qt_api = "pyside6"
|
|
|
188
205
|
env = ["QT_QPA_PLATFORM=offscreen"]
|
|
189
206
|
|
|
190
207
|
|
|
208
|
+
|
|
191
209
|
[tool.coverage.run]
|
|
192
210
|
omit = [
|
|
193
211
|
"*/tests/*",
|
|
194
212
|
"*/Output/*",
|
|
195
213
|
"*/__main__.py",
|
|
196
214
|
"*/__init__.py",
|
|
197
|
-
# "*/molecule_lib*.py", # There is no point in testing the individual molecules.
|
|
198
215
|
"*/sensitivity.py", # Demonstrator, not included.
|
|
199
|
-
"*/
|
|
216
|
+
"*/[sS]cripts/*",
|
|
200
217
|
]
|
|
201
218
|
|
|
202
219
|
|
|
@@ -241,7 +258,7 @@ mypy_path = ["."]
|
|
|
241
258
|
ignore_missing_imports = true
|
|
242
259
|
strict = true
|
|
243
260
|
disallow_any_explicit = true
|
|
244
|
-
exclude = ['/
|
|
261
|
+
exclude = ['/[sS]cripts']
|
|
245
262
|
plugins = ["pydantic.mypy"]
|
|
246
263
|
allow_untyped_decorators = true
|
|
247
264
|
native_parser = true
|
|
@@ -259,17 +276,11 @@ disallow_untyped_calls = false
|
|
|
259
276
|
init_forbid_extra = true
|
|
260
277
|
init_typed = true
|
|
261
278
|
warn_required_dynamic_aliases = true
|
|
262
|
-
disallow_subclassing_any = false
|
|
263
|
-
exhaustive-match = true
|
|
264
|
-
show-error-end = true
|
|
265
|
-
show-error-code-links = true
|
|
266
|
-
native-parser = true
|
|
267
279
|
|
|
268
280
|
[tool.flake8]
|
|
269
281
|
max-line-length = 120
|
|
270
282
|
exclude = [
|
|
271
|
-
"
|
|
272
|
-
"venv",
|
|
283
|
+
"?venv",
|
|
273
284
|
"tests",
|
|
274
285
|
"Lib",
|
|
275
286
|
]
|
|
@@ -290,7 +301,7 @@ sections = [
|
|
|
290
301
|
include_trailing_comma = true
|
|
291
302
|
#remove_unused_imports = true
|
|
292
303
|
skip = [".json", ".venv", ".tox"]
|
|
293
|
-
known_first_party = ["
|
|
304
|
+
known_first_party = ["adsorpy"]
|
|
294
305
|
known_local_folder = ["molcule_lib", "RSA_Calculator", "rsa_config"]
|
|
295
306
|
|
|
296
307
|
|
|
@@ -298,10 +309,6 @@ known_local_folder = ["molcule_lib", "RSA_Calculator", "rsa_config"]
|
|
|
298
309
|
line-length = 88
|
|
299
310
|
|
|
300
311
|
|
|
301
|
-
#[tool.uv]
|
|
302
|
-
#required-version = "0.12.5"
|
|
303
|
-
|
|
304
|
-
|
|
305
312
|
[tool.ruff]
|
|
306
313
|
line-length = 120
|
|
307
314
|
include = ["pyproject.toml", "src/**/*.py", "tests/**/*.py"]
|
|
@@ -328,7 +335,7 @@ ignore = [
|
|
|
328
335
|
"TD",
|
|
329
336
|
"T201",
|
|
330
337
|
"FIX", # This is for me to fix over several versions. These functions are never used unless they are fixed.
|
|
331
|
-
"DTZ003", # The datetime warning or utcnow()
|
|
338
|
+
# "DTZ003", # The datetime warning or utcnow()
|
|
332
339
|
"FBT001", # Disallows booleans in functions. (I can see its use case, but no.)
|
|
333
340
|
"FBT002", # Disallows booleans default arguments in functions.
|
|
334
341
|
"ARG002", # Unused method argument.
|
|
@@ -340,7 +347,7 @@ ignore = [
|
|
|
340
347
|
|
|
341
348
|
[tool.ruff.lint.per-file-ignores]
|
|
342
349
|
"__init__.py" = ["D104"] # Missing docstring in public package. Not needed, package is empty.
|
|
343
|
-
"tests/*" = ["S101", "TC", "SLF001"] # Assert should
|
|
350
|
+
"tests/*" = ["S101", "TC", "SLF001"] # Assert should never be used in production code! But this is test code, so here it is expected.
|
|
344
351
|
|
|
345
352
|
|
|
346
353
|
[tool.ruff.lint.flake8-type-checking]
|
|
@@ -361,10 +368,8 @@ reportUnknownMemberType = "none"
|
|
|
361
368
|
reportUnknownVariableType = "none"
|
|
362
369
|
reportUnknownParameterType = "none"
|
|
363
370
|
reportUnknownArgumentType = "none"
|
|
364
|
-
#reportUnnecessaryCast = "none" # These are needed for mypy.
|
|
365
|
-
#reportUnnecessaryIsInstance = "none" # These are needed for mypy.
|
|
366
371
|
|
|
367
|
-
#
|
|
372
|
+
# Useful strict checks.
|
|
368
373
|
reportImplicitOverride = "error"
|
|
369
374
|
reportPrivateUsage = "warning"
|
|
370
375
|
reportUnnecessaryComparison = "warning" # These are usually included to prevent the user from breaking things.
|
|
@@ -382,16 +387,16 @@ strict-imports = true
|
|
|
382
387
|
[tool.pyside6-deploy]
|
|
383
388
|
# Basic application configuration overrides
|
|
384
389
|
title = "AdsorPy"
|
|
385
|
-
input_file = "
|
|
390
|
+
input_file = "molecule_lib.py"
|
|
391
|
+
exec_directory = "dist"
|
|
386
392
|
#icon = "assets/something_something.ico"
|
|
387
|
-
|
|
388
|
-
project_dir = "./src/adsorpy"
|
|
393
|
+
#project_dir = "./src/adsorpy"
|
|
389
394
|
|
|
390
395
|
|
|
391
396
|
|
|
392
397
|
[tool.cibuildwheel]
|
|
393
398
|
build-frontend = "build[uv]"
|
|
394
|
-
build = "
|
|
399
|
+
build = "cp311-* cp312-* cp313-* cp314-*"
|
|
395
400
|
test-skip = "*-win_arm64 *-manylinux_aarch64 *-musllinux_aarch64"
|
|
396
401
|
before-build = "python -c \"import shutil, glob, os; [shutil.rmtree(p, ignore_errors=True) for p in [\\\"build\\\", \\\"dist\\\"]]; [os.remove(f) for f in set(glob.glob(\\\"**/*.c\\\", recursive=True) + glob.glob(\\\"**/*.cpp\\\", recursive=True) + glob.glob(\\\"**/*.so\\\", recursive=True) + glob.glob(\\\"**/*.pyd\\\", recursive=True)) if os.path.exists(f)]\""
|
|
397
402
|
test-command = "python -c \"import adsorpy; print('Successfully verified version:', adsorpy.__version__)\""
|