structuretoolkit 0.0.31__tar.gz → 0.0.32__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.
Files changed (57) hide show
  1. {structuretoolkit-0.0.31/structuretoolkit.egg-info → structuretoolkit-0.0.32}/PKG-INFO +13 -12
  2. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/pyproject.toml +10 -10
  3. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/_version.py +3 -3
  4. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/neighbors.py +1 -1
  5. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32/structuretoolkit.egg-info}/PKG-INFO +13 -12
  6. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit.egg-info/requires.txt +10 -10
  7. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/LICENSE +0 -0
  8. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/MANIFEST.in +0 -0
  9. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/README.md +0 -0
  10. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/setup.cfg +0 -0
  11. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/setup.py +0 -0
  12. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/__init__.py +0 -0
  13. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/__init__.py +0 -0
  14. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/distance.py +0 -0
  15. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/dscribe.py +0 -0
  16. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/phonopy.py +0 -0
  17. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/pyscal.py +0 -0
  18. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/snap.py +0 -0
  19. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/spatial.py +0 -0
  20. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/strain.py +0 -0
  21. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/analyse/symmetry.py +0 -0
  22. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/__init__.py +0 -0
  23. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/aimsgb.py +0 -0
  24. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/compound.py +0 -0
  25. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/mesh.py +0 -0
  26. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/random.py +0 -0
  27. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/sqs.py +0 -0
  28. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/build/surface.py +0 -0
  29. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/common/__init__.py +0 -0
  30. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/common/error.py +0 -0
  31. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/common/helper.py +0 -0
  32. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/common/phonopy.py +0 -0
  33. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/common/pymatgen.py +0 -0
  34. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/common/pyscal.py +0 -0
  35. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit/visualize.py +0 -0
  36. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit.egg-info/SOURCES.txt +0 -0
  37. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit.egg-info/dependency_links.txt +0 -0
  38. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/structuretoolkit.egg-info/top_level.txt +0 -0
  39. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_aimsgb.py +0 -0
  40. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_analyse.py +0 -0
  41. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_analyse_distance.py +0 -0
  42. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_analyse_phonopy.py +0 -0
  43. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_analyse_symmetry.py +0 -0
  44. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_compound.py +0 -0
  45. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_dscribe.py +0 -0
  46. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_helpers.py +0 -0
  47. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_high_index_surface.py +0 -0
  48. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_mesh.py +0 -0
  49. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_neighbors.py +0 -0
  50. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_pymatgen.py +0 -0
  51. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_pyscal.py +0 -0
  52. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_pyxtal.py +0 -0
  53. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_snap.py +0 -0
  54. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_sqs.py +0 -0
  55. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_strain.py +0 -0
  56. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_symmetry.py +0 -0
  57. {structuretoolkit-0.0.31 → structuretoolkit-0.0.32}/tests/test_visualize.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: structuretoolkit
3
- Version: 0.0.31
3
+ Version: 0.0.32
4
4
  Summary: build, analyse and visualise atomistic structures for materials science
5
5
  Author-email: Jan Janssen <janssen@mpie.de>
6
6
  License: BSD 3-Clause License
@@ -49,34 +49,35 @@ Classifier: Programming Language :: Python :: 3.12
49
49
  Requires-Python: <3.13,>=3.9
50
50
  Description-Content-Type: text/markdown
51
51
  License-File: LICENSE
52
- Requires-Dist: ase<=3.24.0,>=3.20.1
52
+ Requires-Dist: ase<=3.25.0,>=3.20.1
53
53
  Requires-Dist: numpy<=1.26.4,>=1.23.5
54
54
  Requires-Dist: scipy<=1.15.2,>=1.9.3
55
55
  Provides-Extra: dscribe
56
56
  Requires-Dist: dscribe==2.1.1; extra == "dscribe"
57
57
  Provides-Extra: grainboundary
58
58
  Requires-Dist: aimsgb<=1.1.1,>=1.0.2; extra == "grainboundary"
59
- Requires-Dist: pymatgen<=2025.1.24,>=2022.2.1; extra == "grainboundary"
59
+ Requires-Dist: pymatgen<=2025.3.10,>=2022.2.1; extra == "grainboundary"
60
60
  Provides-Extra: pyscal
61
61
  Requires-Dist: pyscal3<=3.2.7,>=3.2.5; extra == "pyscal"
62
62
  Provides-Extra: nglview
63
63
  Requires-Dist: nglview<=3.1.4,>=2.7.7; extra == "nglview"
64
64
  Provides-Extra: matplotlib
65
- Requires-Dist: matplotlib==3.10.0; extra == "matplotlib"
65
+ Requires-Dist: matplotlib==3.10.1; extra == "matplotlib"
66
66
  Provides-Extra: plotly
67
- Requires-Dist: plotly<=6.0.0,>=4.14.3; extra == "plotly"
67
+ Requires-Dist: plotly<=6.0.1,>=4.14.3; extra == "plotly"
68
68
  Provides-Extra: clusters
69
69
  Requires-Dist: scikit-learn==1.6.1; extra == "clusters"
70
70
  Provides-Extra: symmetry
71
- Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "symmetry"
71
+ Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == "symmetry"
72
72
  Provides-Extra: surface
73
- Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "surface"
74
- Requires-Dist: pymatgen<=2025.1.24,>=2022.2.1; extra == "surface"
73
+ Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == "surface"
74
+ Requires-Dist: pymatgen<=2025.3.10,>=2022.2.1; extra == "surface"
75
75
  Provides-Extra: phonopy
76
- Requires-Dist: phonopy<=2.37.0,>=2.16.2; extra == "phonopy"
77
- Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "phonopy"
76
+ Requires-Dist: phonopy<=2.38.0,>=2.16.2; extra == "phonopy"
77
+ Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == "phonopy"
78
78
  Provides-Extra: pyxtal
79
- Requires-Dist: pyxtal<=1.0.6,>=0.5.5; extra == "pyxtal"
79
+ Requires-Dist: pyxtal<=1.0.7,>=0.5.5; extra == "pyxtal"
80
+ Dynamic: license-file
80
81
 
81
82
  # structuretoolkit
82
83
 
@@ -24,7 +24,7 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.12",
25
25
  ]
26
26
  dependencies = [
27
- "ase>=3.20.1,<=3.24.0",
27
+ "ase>=3.20.1,<=3.25.0",
28
28
  "numpy>=1.23.5,<=1.26.4",
29
29
  "scipy>=1.9.3,<=1.15.2",
30
30
  ]
@@ -39,23 +39,23 @@ Repository = "https://github.com/pyiron/structuretoolkit"
39
39
  dscribe = ["dscribe==2.1.1"]
40
40
  grainboundary = [
41
41
  "aimsgb>=1.0.2,<=1.1.1",
42
- "pymatgen>=2022.2.1,<=2025.1.24",
42
+ "pymatgen>=2022.2.1,<=2025.3.10",
43
43
  ]
44
44
  pyscal = ["pyscal3>=3.2.5,<=3.2.7"]
45
45
  nglview = ["nglview>=2.7.7,<=3.1.4"]
46
- matplotlib = ["matplotlib==3.10.0"]
47
- plotly = ["plotly>=4.14.3,<=6.0.0"]
46
+ matplotlib = ["matplotlib==3.10.1"]
47
+ plotly = ["plotly>=4.14.3,<=6.0.1"]
48
48
  clusters = ["scikit-learn==1.6.1"]
49
- symmetry = ["spglib>=1.16.5,<=2.5.0"]
49
+ symmetry = ["spglib>=1.16.5,<=2.6.0"]
50
50
  surface = [
51
- "spglib>=1.16.5,<=2.5.0",
52
- "pymatgen>=2022.2.1,<=2025.1.24",
51
+ "spglib>=1.16.5,<=2.6.0",
52
+ "pymatgen>=2022.2.1,<=2025.3.10",
53
53
  ]
54
54
  phonopy = [
55
- "phonopy>=2.16.2,<=2.37.0",
56
- "spglib>=1.16.5,<=2.5.0",
55
+ "phonopy>=2.16.2,<=2.38.0",
56
+ "spglib>=1.16.5,<=2.6.0",
57
57
  ]
58
- pyxtal = ["pyxtal>=0.5.5,<=1.0.6"]
58
+ pyxtal = ["pyxtal>=0.5.5,<=1.0.7"]
59
59
 
60
60
  [tool.setuptools.packages.find]
61
61
  include = ["structuretoolkit*"]
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-02-17T16:35:26+0000",
11
+ "date": "2025-04-13T08:36:36+0200",
12
12
  "dirty": true,
13
13
  "error": null,
14
- "full-revisionid": "d97dc1bfc5641de3cb4dbbfb8cb25c97949ac6f5",
15
- "version": "0.0.31"
14
+ "full-revisionid": "6a0b89e67ab34d999e56a93afceaa1fbedf249bc",
15
+ "version": "0.0.32"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -107,7 +107,7 @@ class Tree:
107
107
  raise KeyError(
108
108
  f"{new_mode} not found. Available modes: {', '.join(self._mode.keys())}"
109
109
  )
110
- self._mode = {key: False for key in self._mode}
110
+ self._mode = dict.fromkeys(self._mode, False)
111
111
  self._mode[new_mode] = True
112
112
 
113
113
  def __repr__(self) -> str:
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: structuretoolkit
3
- Version: 0.0.31
3
+ Version: 0.0.32
4
4
  Summary: build, analyse and visualise atomistic structures for materials science
5
5
  Author-email: Jan Janssen <janssen@mpie.de>
6
6
  License: BSD 3-Clause License
@@ -49,34 +49,35 @@ Classifier: Programming Language :: Python :: 3.12
49
49
  Requires-Python: <3.13,>=3.9
50
50
  Description-Content-Type: text/markdown
51
51
  License-File: LICENSE
52
- Requires-Dist: ase<=3.24.0,>=3.20.1
52
+ Requires-Dist: ase<=3.25.0,>=3.20.1
53
53
  Requires-Dist: numpy<=1.26.4,>=1.23.5
54
54
  Requires-Dist: scipy<=1.15.2,>=1.9.3
55
55
  Provides-Extra: dscribe
56
56
  Requires-Dist: dscribe==2.1.1; extra == "dscribe"
57
57
  Provides-Extra: grainboundary
58
58
  Requires-Dist: aimsgb<=1.1.1,>=1.0.2; extra == "grainboundary"
59
- Requires-Dist: pymatgen<=2025.1.24,>=2022.2.1; extra == "grainboundary"
59
+ Requires-Dist: pymatgen<=2025.3.10,>=2022.2.1; extra == "grainboundary"
60
60
  Provides-Extra: pyscal
61
61
  Requires-Dist: pyscal3<=3.2.7,>=3.2.5; extra == "pyscal"
62
62
  Provides-Extra: nglview
63
63
  Requires-Dist: nglview<=3.1.4,>=2.7.7; extra == "nglview"
64
64
  Provides-Extra: matplotlib
65
- Requires-Dist: matplotlib==3.10.0; extra == "matplotlib"
65
+ Requires-Dist: matplotlib==3.10.1; extra == "matplotlib"
66
66
  Provides-Extra: plotly
67
- Requires-Dist: plotly<=6.0.0,>=4.14.3; extra == "plotly"
67
+ Requires-Dist: plotly<=6.0.1,>=4.14.3; extra == "plotly"
68
68
  Provides-Extra: clusters
69
69
  Requires-Dist: scikit-learn==1.6.1; extra == "clusters"
70
70
  Provides-Extra: symmetry
71
- Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "symmetry"
71
+ Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == "symmetry"
72
72
  Provides-Extra: surface
73
- Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "surface"
74
- Requires-Dist: pymatgen<=2025.1.24,>=2022.2.1; extra == "surface"
73
+ Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == "surface"
74
+ Requires-Dist: pymatgen<=2025.3.10,>=2022.2.1; extra == "surface"
75
75
  Provides-Extra: phonopy
76
- Requires-Dist: phonopy<=2.37.0,>=2.16.2; extra == "phonopy"
77
- Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "phonopy"
76
+ Requires-Dist: phonopy<=2.38.0,>=2.16.2; extra == "phonopy"
77
+ Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == "phonopy"
78
78
  Provides-Extra: pyxtal
79
- Requires-Dist: pyxtal<=1.0.6,>=0.5.5; extra == "pyxtal"
79
+ Requires-Dist: pyxtal<=1.0.7,>=0.5.5; extra == "pyxtal"
80
+ Dynamic: license-file
80
81
 
81
82
  # structuretoolkit
82
83
 
@@ -1,4 +1,4 @@
1
- ase<=3.24.0,>=3.20.1
1
+ ase<=3.25.0,>=3.20.1
2
2
  numpy<=1.26.4,>=1.23.5
3
3
  scipy<=1.15.2,>=1.9.3
4
4
 
@@ -10,30 +10,30 @@ dscribe==2.1.1
10
10
 
11
11
  [grainboundary]
12
12
  aimsgb<=1.1.1,>=1.0.2
13
- pymatgen<=2025.1.24,>=2022.2.1
13
+ pymatgen<=2025.3.10,>=2022.2.1
14
14
 
15
15
  [matplotlib]
16
- matplotlib==3.10.0
16
+ matplotlib==3.10.1
17
17
 
18
18
  [nglview]
19
19
  nglview<=3.1.4,>=2.7.7
20
20
 
21
21
  [phonopy]
22
- phonopy<=2.37.0,>=2.16.2
23
- spglib<=2.5.0,>=1.16.5
22
+ phonopy<=2.38.0,>=2.16.2
23
+ spglib<=2.6.0,>=1.16.5
24
24
 
25
25
  [plotly]
26
- plotly<=6.0.0,>=4.14.3
26
+ plotly<=6.0.1,>=4.14.3
27
27
 
28
28
  [pyscal]
29
29
  pyscal3<=3.2.7,>=3.2.5
30
30
 
31
31
  [pyxtal]
32
- pyxtal<=1.0.6,>=0.5.5
32
+ pyxtal<=1.0.7,>=0.5.5
33
33
 
34
34
  [surface]
35
- spglib<=2.5.0,>=1.16.5
36
- pymatgen<=2025.1.24,>=2022.2.1
35
+ spglib<=2.6.0,>=1.16.5
36
+ pymatgen<=2025.3.10,>=2022.2.1
37
37
 
38
38
  [symmetry]
39
- spglib<=2.5.0,>=1.16.5
39
+ spglib<=2.6.0,>=1.16.5