AdsorPy 1.2.1__tar.gz → 1.2.2__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.2.1 → adsorpy-1.2.2}/PKG-INFO +22 -11
- {adsorpy-1.2.1 → adsorpy-1.2.2}/README.md +9 -3
- {adsorpy-1.2.1 → adsorpy-1.2.2}/pyproject.toml +41 -9
- adsorpy-1.2.2/sbom.cdx.json +14368 -0
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/molecule_lib.py +52 -2
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/randomsequentialadsorption.py +1 -1
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/rsa_calculator.py +1 -1
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/run_simulation.py +1 -1
- adsorpy-1.2.1/.github/ISSUE_TEMPLATE/bug_report.md +0 -32
- adsorpy-1.2.1/.github/ISSUE_TEMPLATE/feature_request.md +0 -20
- adsorpy-1.2.1/.github/PULL_REQUEST_TEMPLATE.md +0 -19
- adsorpy-1.2.1/.github/dependabot.yml +0 -38
- adsorpy-1.2.1/.github/workflows/docs-ci.yml +0 -67
- adsorpy-1.2.1/.github/workflows/publish_to_PyPI.yml +0 -49
- adsorpy-1.2.1/.github/workflows/tests-ci.yml +0 -60
- adsorpy-1.2.1/CHANGELOG.md +0 -129
- adsorpy-1.2.1/CODE_OF_CONDUCT.md +0 -128
- adsorpy-1.2.1/CONTRIBUTING.md +0 -151
- adsorpy-1.2.1/SECURITY.md +0 -48
- adsorpy-1.2.1/docs/Makefile +0 -20
- adsorpy-1.2.1/docs/make.bat +0 -35
- adsorpy-1.2.1/docs/source/adsorpy.molecule_lib.rst +0 -7
- adsorpy-1.2.1/docs/source/adsorpy.randomsequentialadsorption.rst +0 -7
- adsorpy-1.2.1/docs/source/adsorpy.rsa_calculator.rst +0 -7
- adsorpy-1.2.1/docs/source/adsorpy.rsa_config.rst +0 -7
- adsorpy-1.2.1/docs/source/adsorpy.rst +0 -20
- adsorpy-1.2.1/docs/source/adsorpy.run_simulation.rst +0 -7
- adsorpy-1.2.1/docs/source/adsorpy.typing.rst +0 -7
- adsorpy-1.2.1/docs/source/conf.py +0 -121
- adsorpy-1.2.1/docs/source/index.rst +0 -21
- adsorpy-1.2.1/docs/source/modules.rst +0 -7
- adsorpy-1.2.1/images/AdsorPy_Covered_Surface.png +0 -0
- adsorpy-1.2.1/py.typed +0 -0
- adsorpy-1.2.1/src/__init__.py +0 -0
- adsorpy-1.2.1/src/__main__.py +0 -8
- adsorpy-1.2.1/tach.toml +0 -35
- adsorpy-1.2.1/tests/__init__.py +0 -0
- adsorpy-1.2.1/tests/rsa_test.py +0 -659
- adsorpy-1.2.1/tests/run_simulation_test.py +0 -392
- adsorpy-1.2.1/tests/test_data/config_test_hard.json +0 -56
- adsorpy-1.2.1/tests/test_data/config_test_periodic.json +0 -56
- adsorpy-1.2.1/tests/test_data/config_test_soft.json +0 -56
- adsorpy-1.2.1/tox.toml +0 -44
- {adsorpy-1.2.1 → adsorpy-1.2.2}/LICENSE.md +0 -0
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/VdW_Radii.csv +0 -0
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/__init__.py +0 -0
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/config.json +0 -0
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/molecule_colour.json +0 -0
- {adsorpy-1.2.1 → adsorpy-1.2.2}/src/adsorpy/rsa_config.py +0 -0
- /adsorpy-1.2.1/src/adsorpy/typing.py → /adsorpy-1.2.2/src/adsorpy/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adsorpy
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.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
|
|
@@ -35,17 +35,23 @@ Classifier: Typing :: Typed
|
|
|
35
35
|
Requires-Python: >=3.10
|
|
36
36
|
Requires-Dist: matplotlib>=3.10.9
|
|
37
37
|
Requires-Dist: numba>=0.65.1
|
|
38
|
-
Requires-Dist: numpy>=2.2.6
|
|
39
|
-
Requires-Dist: numpy>=2.4.4; python_version >= '3.11'
|
|
38
|
+
Requires-Dist: numpy>=2.2.6
|
|
40
39
|
Requires-Dist: pydantic>=2.13.4
|
|
41
40
|
Requires-Dist: rtree>=1.4.1
|
|
42
41
|
Requires-Dist: shapely>=2.1.2
|
|
42
|
+
Provides-Extra: dev-misc
|
|
43
|
+
Requires-Dist: build>=1.5.0; extra == 'dev-misc'
|
|
44
|
+
Requires-Dist: check-wheel-contents>=0.6.3; extra == 'dev-misc'
|
|
45
|
+
Requires-Dist: twine>=6.0; extra == 'dev-misc'
|
|
43
46
|
Provides-Extra: docs
|
|
44
47
|
Requires-Dist: furo>=2025.12.19; extra == 'docs'
|
|
45
|
-
Requires-Dist: sphinx-autodoc-typehints>=3.
|
|
46
|
-
Requires-Dist: sphinx-design>=0.
|
|
48
|
+
Requires-Dist: sphinx-autodoc-typehints>=3.0; extra == 'docs'
|
|
49
|
+
Requires-Dist: sphinx-design>=0.6.0; extra == 'docs'
|
|
47
50
|
Requires-Dist: sphinx-pyproject>=0.3.0; extra == 'docs'
|
|
48
|
-
Requires-Dist: sphinx>=
|
|
51
|
+
Requires-Dist: sphinx>=8.0; extra == 'docs'
|
|
52
|
+
Provides-Extra: envs
|
|
53
|
+
Requires-Dist: tox-uv>=1.35.2; extra == 'envs'
|
|
54
|
+
Requires-Dist: tox>=4.54; extra == 'envs'
|
|
49
55
|
Provides-Extra: lint
|
|
50
56
|
Requires-Dist: mypy>=2.0.0; extra == 'lint'
|
|
51
57
|
Requires-Dist: pyright>=1.1.409; extra == 'lint'
|
|
@@ -57,18 +63,21 @@ Requires-Dist: codecov>=2.1.13; extra == 'test'
|
|
|
57
63
|
Requires-Dist: hypothesis>=6.152.4; extra == 'test'
|
|
58
64
|
Requires-Dist: pytest-cov>=7.1.0; extra == 'test'
|
|
59
65
|
Requires-Dist: pytest>=9.0.3; extra == 'test'
|
|
60
|
-
Requires-Dist: scipy
|
|
61
|
-
Requires-Dist: scipy>=1.17.1; (python_version >= '3.11') and extra == 'test'
|
|
66
|
+
Requires-Dist: scipy>=1.15.3; extra == 'test'
|
|
62
67
|
Description-Content-Type: text/markdown
|
|
63
68
|
|
|
64
69
|
# AdsorPy
|
|
65
70
|
|
|
71
|
+
[](https://pypi.python.org/pypi/adsorpy) <!-- [](https://anaconda.org/conda-forge/adsorpy) -->
|
|
66
72
|

|
|
73
|
+
[](https://joostfwmaas.github.io/AdsorPy/)
|
|
67
74
|
[](https://codecov.io/github/JoostFWMaas/AdsorPy)
|
|
75
|
+
[](https://scorecard.dev/viewer/?uri=github.com/JoostFWMaas/AdsorPy)
|
|
76
|
+
[](https://www.bestpractices.dev/projects/12810)
|
|
77
|
+
[](https://www.bestpractices.dev/projects/12810)
|
|
68
78
|
|
|
69
|
-
Lattice-based random sequential adsorption (RSA) Python 3.10+ script.
|
|
70
79
|
|
|
71
|
-
|
|
80
|
+
Lattice-based random sequential adsorption (RSA) Python 3.10+ script.
|
|
72
81
|
|
|
73
82
|
In RSA, molecules arrive one by one at a surface. Adsorption takes place if the molecule does not overlap with molecules
|
|
74
83
|
already on the surface.
|
|
@@ -77,9 +86,11 @@ is found, or until the list is exhausted.
|
|
|
77
86
|
All available sites are checked, and various metrics can be extracted afterwards such as the coverage, covered area, and
|
|
78
87
|
gap size distribution.
|
|
79
88
|
|
|
89
|
+
<img src="https://raw.githubusercontent.com/JoostFWMaas/AdsorPy/ccedff9c0a4cca1e89c4d461dbfeb91c49e38b21/images/AdsorPy_Covered_Surface.png" alt="Output of an AdsorPy run, an image of a covered surface." style="width:50%; height:auto;">
|
|
90
|
+
|
|
80
91
|
## How to use
|
|
81
92
|
|
|
82
|
-
|
|
93
|
+
This package can be found on PyPI as [adsorpy](https://pypi.org/project/adsorpy/), so we recommend the following:
|
|
83
94
|
```bash
|
|
84
95
|
pip install adsorpy
|
|
85
96
|
```
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
# AdsorPy
|
|
2
2
|
|
|
3
|
+
[](https://pypi.python.org/pypi/adsorpy) <!-- [](https://anaconda.org/conda-forge/adsorpy) -->
|
|
3
4
|

|
|
5
|
+
[](https://joostfwmaas.github.io/AdsorPy/)
|
|
4
6
|
[](https://codecov.io/github/JoostFWMaas/AdsorPy)
|
|
7
|
+
[](https://scorecard.dev/viewer/?uri=github.com/JoostFWMaas/AdsorPy)
|
|
8
|
+
[](https://www.bestpractices.dev/projects/12810)
|
|
9
|
+
[](https://www.bestpractices.dev/projects/12810)
|
|
5
10
|
|
|
6
|
-
Lattice-based random sequential adsorption (RSA) Python 3.10+ script.
|
|
7
11
|
|
|
8
|
-
|
|
12
|
+
Lattice-based random sequential adsorption (RSA) Python 3.10+ script.
|
|
9
13
|
|
|
10
14
|
In RSA, molecules arrive one by one at a surface. Adsorption takes place if the molecule does not overlap with molecules
|
|
11
15
|
already on the surface.
|
|
@@ -14,9 +18,11 @@ is found, or until the list is exhausted.
|
|
|
14
18
|
All available sites are checked, and various metrics can be extracted afterwards such as the coverage, covered area, and
|
|
15
19
|
gap size distribution.
|
|
16
20
|
|
|
21
|
+
<img src="https://raw.githubusercontent.com/JoostFWMaas/AdsorPy/ccedff9c0a4cca1e89c4d461dbfeb91c49e38b21/images/AdsorPy_Covered_Surface.png" alt="Output of an AdsorPy run, an image of a covered surface." style="width:50%; height:auto;">
|
|
22
|
+
|
|
17
23
|
## How to use
|
|
18
24
|
|
|
19
|
-
|
|
25
|
+
This package can be found on PyPI as [adsorpy](https://pypi.org/project/adsorpy/), so we recommend the following:
|
|
20
26
|
```bash
|
|
21
27
|
pip install adsorpy
|
|
22
28
|
```
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "adsorpy"
|
|
7
7
|
#dynamic = ["version"] # The Python guide says that this will use the Git tag to fill it in.
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.2" # The Python guide says that this will use the Git tag to fill it in.
|
|
9
9
|
description = "Random sequential adsorption (RSA) simulation, 2D lattice-based."
|
|
10
10
|
authors = [{ name = "J.F.W. Maas", email = "j.f.w.maas@tue.nl" }]
|
|
11
11
|
readme = "README.md"
|
|
@@ -57,8 +57,7 @@ keywords = [
|
|
|
57
57
|
]
|
|
58
58
|
|
|
59
59
|
dependencies = [
|
|
60
|
-
"numpy>=2.2.6
|
|
61
|
-
"numpy>=2.4.4; python_version>='3.11'",
|
|
60
|
+
"numpy>=2.2.6",
|
|
62
61
|
"numba>=0.65.1",
|
|
63
62
|
"matplotlib>=3.10.9",
|
|
64
63
|
"shapely>=2.1.2",
|
|
@@ -71,8 +70,7 @@ test = [
|
|
|
71
70
|
"pytest>=9.0.3",
|
|
72
71
|
"pytest-cov>=7.1.0",
|
|
73
72
|
"hypothesis>=6.152.4",
|
|
74
|
-
"scipy
|
|
75
|
-
"scipy>=1.17.1; python_version>='3.11'",
|
|
73
|
+
"scipy>=1.15.3",
|
|
76
74
|
"codecov>=2.1.13",
|
|
77
75
|
]
|
|
78
76
|
lint = [
|
|
@@ -83,12 +81,21 @@ lint = [
|
|
|
83
81
|
"slotscheck>=0.19.1",
|
|
84
82
|
]
|
|
85
83
|
docs = [
|
|
86
|
-
"sphinx>=
|
|
84
|
+
"sphinx>=8.0",
|
|
87
85
|
"furo>=2025.12.19",
|
|
88
|
-
"sphinx_design>=0.
|
|
89
|
-
"sphinx-autodoc-typehints>=3.
|
|
86
|
+
"sphinx_design>=0.6.0",
|
|
87
|
+
"sphinx-autodoc-typehints>=3.0",
|
|
90
88
|
"sphinx-pyproject>=0.3.0",
|
|
91
89
|
]
|
|
90
|
+
envs = [
|
|
91
|
+
"tox>=4.54",
|
|
92
|
+
"tox-uv>=1.35.2",
|
|
93
|
+
]
|
|
94
|
+
dev-misc = [
|
|
95
|
+
"build>=1.5.0",
|
|
96
|
+
"twine>=6.0",
|
|
97
|
+
"check-wheel-contents>=0.6.3",
|
|
98
|
+
]
|
|
92
99
|
|
|
93
100
|
[project.urls]
|
|
94
101
|
github = "https://github.com/JoostFWMaas/AdsorPy"
|
|
@@ -101,6 +108,32 @@ download = "https://pypi.org/project/adsorpy/#files"
|
|
|
101
108
|
[tool.hatch.package_data]
|
|
102
109
|
"adsorpy" = ["py.typed"]
|
|
103
110
|
|
|
111
|
+
[tool.hatch.build]
|
|
112
|
+
#include = ["src/**"]
|
|
113
|
+
#only-packages = true
|
|
114
|
+
deterministic = true
|
|
115
|
+
|
|
116
|
+
[tool.hatch.build.targets.wheel]
|
|
117
|
+
sbom-files = ["sbom.cdx.json"]
|
|
118
|
+
packages = ["src/adsorpy"]
|
|
119
|
+
|
|
120
|
+
[tool.hatch.build.targets.sdist]
|
|
121
|
+
include = [
|
|
122
|
+
"/src/adsorpy",
|
|
123
|
+
"/pyproject.toml",
|
|
124
|
+
"README.md",
|
|
125
|
+
"/LICENSE",
|
|
126
|
+
"sbom.cdx.json",
|
|
127
|
+
]
|
|
128
|
+
|
|
129
|
+
[tool.hatch.env]
|
|
130
|
+
requires = [
|
|
131
|
+
"hatch-pip-compile"
|
|
132
|
+
]
|
|
133
|
+
|
|
134
|
+
[tool.hatch.envs.default]
|
|
135
|
+
type = "pip-compile"
|
|
136
|
+
|
|
104
137
|
[tool.pytest.ini_options]
|
|
105
138
|
testpaths = ["tests"]
|
|
106
139
|
pythonpath = ["src/adsorpy"]
|
|
@@ -247,7 +280,6 @@ reportPrivateUsage = "warning"
|
|
|
247
280
|
reportUnnecessaryTypeIgnoreComment = "warning"
|
|
248
281
|
reportUnnecessaryComparison = "warning" # These are usually included to prevent the user from breaking things.
|
|
249
282
|
|
|
250
|
-
|
|
251
283
|
[tool.slotscheck]
|
|
252
284
|
strict-imports = true
|
|
253
285
|
include-modules = """
|