spintropy-demodata 2.13.0__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.
@@ -0,0 +1,37 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *.so
4
+
5
+ # Distribution / packaging
6
+ build/
7
+ dist/
8
+ *.egg-info/
9
+ .eggs/
10
+ wheels/
11
+
12
+ # Scratch space. scripts/build_dists.py points TMPDIR and the uv cache here.
13
+ tmp/
14
+
15
+ # Test and type-checker caches
16
+ .pytest_cache/
17
+ .mypy_cache/
18
+ .ruff_cache/
19
+ .coverage
20
+ htmlcov/
21
+
22
+ # Environments
23
+ .venv/
24
+ venv/
25
+ env/
26
+
27
+ # Editors
28
+ .vscode/
29
+ .idea/
30
+ *.swp
31
+ .DS_Store
32
+
33
+ # Generated cache records. Two are SHIPPED by upstream, precomputed, and are
34
+ # tracked deliberately. Every other .npz under kernel/cache/ is a runtime artefact.
35
+ src/spintropy/kernel/cache/*.npz
36
+ !src/spintropy/kernel/cache/st_product_table_2.npz
37
+ !src/spintropy/kernel/cache/bos_product_table_2.npz
@@ -0,0 +1,18 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-2026 Angus J. Robertson
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
6
+ associated documentation files (the "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
9
+ following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be included in all copies or substantial
12
+ portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
15
+ LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
16
+ EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
17
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
18
+ USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,78 @@
1
+ Spintropy is a derivative work of MATLAB Spinach.
2
+
3
+ Spinach is distributed under the MIT licence, reproduced in full below and
4
+ retained here as that licence requires: "The above copyright notice and this
5
+ permission notice shall be included in all copies or substantial portions of
6
+ the Software."
7
+
8
+ Spintropy as a whole is distributed under the MIT licence as well, with its
9
+ own copyright notice (see LICENSE). The MIT licence permits this — it allows
10
+ the Software to be modified and sublicensed. Distributing Spintropy under its
11
+ own notice does not, and cannot, remove the obligation to carry the notice
12
+ below, nor does it alter the authorship of the original work.
13
+
14
+ Upstream: https://spindynamics.org
15
+
16
+ ----------------------------------------------------------------------
17
+ MATLAB Spinach
18
+ ----------------------------------------------------------------------
19
+
20
+ Copyright (c) 2005-2025 ILYA KUPROV
21
+
22
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
23
+ this software and associated documentation files (the "Software"), to deal in
24
+ the Software without restriction, including without limitation the rights to
25
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
26
+ of the Software, and to permit persons to whom the Software is furnished to do
27
+ so, subject to the following conditions:
28
+
29
+ The above copyright notice and this permission notice shall be included in all
30
+ copies or substantial portions of the Software.
31
+
32
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
36
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
37
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
38
+ SOFTWARE.
39
+
40
+ ----------------------------------------------------------------------
41
+ Attribution
42
+ ----------------------------------------------------------------------
43
+
44
+ Spinach is the work of Ilya Kuprov and contributors. Every ported module in
45
+ Spintropy names the authors of the MATLAB function it was translated from, in
46
+ its docstring header, under "MATLAB implementation author(s)".
47
+
48
+ The list of developers and contributors for the 2008-2024 period is maintained
49
+ upstream at
50
+ https://spindynamics.org/wiki/index.php?title=Spinach_developer_team
51
+
52
+ If Spintropy is used in published work, cite Spinach. The software paper is:
53
+
54
+ H.J. Hogben, M. Krzystyniak, G.T.P. Charnock, P.J. Hore, I. Kuprov,
55
+ "Spinach - a software library for simulation of spin dynamics in large
56
+ spin systems", Journal of Magnetic Resonance 208 (2011) 179-194.
57
+ https://doi.org/10.1016/j.jmr.2010.11.008
58
+
59
+ Upstream's own README additionally points to notes on the library's
60
+ development history at https://doi.org/10.1016/j.jmr.2019.07.031
61
+
62
+ ----------------------------------------------------------------------
63
+ Third-party data
64
+ ----------------------------------------------------------------------
65
+
66
+ The demonstration data distributions carry files with their own licences and
67
+ their own copyright holders. Those notices ship beside the files they cover:
68
+
69
+ spintropy/demodata/phantoms/ MRI phantoms from the MRiLab 1.2.1 package,
70
+ by Fang Liu. 3-clause BSD; the full notice is
71
+ in mri_lab_copyright.txt in that directory,
72
+ and it asks that Fang Liu's papers be cited if
73
+ the phantoms are used in production
74
+ simulations.
75
+
76
+ Data derived from third-party structural or spectroscopic databases (PDB,
77
+ BMRB) retains whatever terms those sources impose; the accession codes are in
78
+ the file names.
@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.5
2
+ Name: spintropy-demodata
3
+ Version: 2.13.0
4
+ Summary: Spintropy demonstration data — all groups (metapackage)
5
+ Project-URL: Homepage, https://github.com/angusRobertson/spintropy
6
+ Project-URL: Repository, https://github.com/angusRobertson/spintropy
7
+ Project-URL: Upstream (MATLAB Spinach), https://spindynamics.org
8
+ Author-email: "Angus J. Robertson" <angus.robertson@chem.lu.se>
9
+ License-Expression: MIT
10
+ License-File: LICENSE
11
+ License-File: LICENSE.spinach
12
+ Classifier: Intended Audience :: Science/Research
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Topic :: Scientific/Engineering :: Chemistry
15
+ Classifier: Topic :: Scientific/Engineering :: Physics
16
+ Requires-Python: >=3.11
17
+ Requires-Dist: spintropy-demodata-gaussian==2.13.0
18
+ Requires-Dist: spintropy-demodata-spectra==2.13.0
19
+ Requires-Dist: spintropy-demodata-systems==2.13.0
20
+ Requires-Dist: spintropy-demodata-trajectories==2.13.0
21
+ Description-Content-Type: text/markdown
22
+
23
+ # spintropy-demodata
24
+
25
+ Demonstration data for [Spintropy](https://pypi.org/project/spintropy/): the
26
+ four data distributions, under one name.
27
+
28
+ This distribution is a **metapackage**: it carries no code or data of its own.
29
+ It installs the four data distributions, each pinned to the same version as
30
+ this one:
31
+
32
+ - `spintropy-demodata-systems` — spin systems, molecular structures, MRI
33
+ phantoms and reference tables
34
+ - `spintropy-demodata-gaussian` — Gaussian 09/16 output files
35
+ - `spintropy-demodata-spectra` — recorded experimental spectra
36
+ - `spintropy-demodata-trajectories` — molecular-dynamics trajectories and
37
+ spatial spin densities
38
+
39
+ Their data installs into `spintropy/demodata/`, where
40
+ `spintropy.demodata.demodata_path()` finds it. That accessor is part of the
41
+ library, so the data is useless on its own — install `spintropy` to get the
42
+ library and every data group together:
43
+
44
+ ```bash
45
+ pip install spintropy # the library and every data group
46
+ pip install spintropy-demodata # every data group, no library
47
+ pip install spintropy-lite # the library only, about 10 MiB
48
+ ```
49
+
50
+ The data exists so that the examples which read recorded or computed data can
51
+ run, and it is packaged apart from the library so that a user who wants to
52
+ simulate something new does not download it. It is split across four
53
+ distributions because no file on PyPI may exceed 100 MiB. See
54
+ `packaging/README.md` in the repository,
55
+ <https://github.com/angusRobertson/spintropy>, for the full rationale; the
56
+ library is documented in that repository's README.
57
+
58
+ Some data carries its own upstream licence and copyright notice; those notices
59
+ travel with the files. Everything else is MIT, matching Spintropy.
@@ -0,0 +1,37 @@
1
+ # spintropy-demodata
2
+
3
+ Demonstration data for [Spintropy](https://pypi.org/project/spintropy/): the
4
+ four data distributions, under one name.
5
+
6
+ This distribution is a **metapackage**: it carries no code or data of its own.
7
+ It installs the four data distributions, each pinned to the same version as
8
+ this one:
9
+
10
+ - `spintropy-demodata-systems` — spin systems, molecular structures, MRI
11
+ phantoms and reference tables
12
+ - `spintropy-demodata-gaussian` — Gaussian 09/16 output files
13
+ - `spintropy-demodata-spectra` — recorded experimental spectra
14
+ - `spintropy-demodata-trajectories` — molecular-dynamics trajectories and
15
+ spatial spin densities
16
+
17
+ Their data installs into `spintropy/demodata/`, where
18
+ `spintropy.demodata.demodata_path()` finds it. That accessor is part of the
19
+ library, so the data is useless on its own — install `spintropy` to get the
20
+ library and every data group together:
21
+
22
+ ```bash
23
+ pip install spintropy # the library and every data group
24
+ pip install spintropy-demodata # every data group, no library
25
+ pip install spintropy-lite # the library only, about 10 MiB
26
+ ```
27
+
28
+ The data exists so that the examples which read recorded or computed data can
29
+ run, and it is packaged apart from the library so that a user who wants to
30
+ simulate something new does not download it. It is split across four
31
+ distributions because no file on PyPI may exceed 100 MiB. See
32
+ `packaging/README.md` in the repository,
33
+ <https://github.com/angusRobertson/spintropy>, for the full rationale; the
34
+ library is documented in that repository's README.
35
+
36
+ Some data carries its own upstream licence and copyright notice; those notices
37
+ travel with the files. Everything else is MIT, matching Spintropy.
@@ -0,0 +1,43 @@
1
+ [build-system]
2
+ requires = ["hatchling"]
3
+ build-backend = "hatchling.build"
4
+
5
+ [project]
6
+ # A metapackage: it carries no files, only the four dependencies that together
7
+ # make up the demonstration data. It exists so that "the demo data" has a
8
+ # single name to install, and so that adding a fifth group later is a change
9
+ # here rather than in everyone's requirements file.
10
+ name = "spintropy-demodata"
11
+ version = "2.13.0"
12
+ description = "Spintropy demonstration data — all groups (metapackage)"
13
+ readme = "README.md"
14
+ requires-python = ">=3.11"
15
+ license = "MIT"
16
+ license-files = ["LICENSE", "LICENSE.spinach"]
17
+ authors = [{ name = "Angus J. Robertson", email = "angus.robertson@chem.lu.se" }]
18
+ classifiers = [
19
+ "Intended Audience :: Science/Research",
20
+ "License :: OSI Approved :: MIT License",
21
+ "Topic :: Scientific/Engineering :: Chemistry",
22
+ "Topic :: Scientific/Engineering :: Physics",
23
+ ]
24
+ # Pinned exactly. These four are cut from one source tree at one moment and an
25
+ # example reads across them, so a mixed set is a configuration nobody tested.
26
+ dependencies = [
27
+ "spintropy-demodata-systems==2.13.0",
28
+ "spintropy-demodata-gaussian==2.13.0",
29
+ "spintropy-demodata-spectra==2.13.0",
30
+ "spintropy-demodata-trajectories==2.13.0",
31
+ ]
32
+
33
+ [project.urls]
34
+ Homepage = "https://github.com/angusRobertson/spintropy"
35
+ Repository = "https://github.com/angusRobertson/spintropy"
36
+ "Upstream (MATLAB Spinach)" = "https://spindynamics.org"
37
+
38
+ [tool.hatch.build.targets.wheel]
39
+ # Nothing to ship but the dependency list itself.
40
+ bypass-selection = true
41
+
42
+ [tool.hatch.build.targets.sdist]
43
+ only-include = []