structuretoolkit 0.0.37__tar.gz → 0.0.39__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 (30) hide show
  1. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/PKG-INFO +11 -11
  2. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/pyproject.toml +10 -10
  3. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/_version.py +2 -2
  4. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/symmetry.py +5 -5
  5. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/.gitignore +0 -0
  6. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/LICENSE +0 -0
  7. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/README.md +0 -0
  8. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/__init__.py +0 -0
  9. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/__init__.py +0 -0
  10. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/distance.py +0 -0
  11. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/dscribe.py +0 -0
  12. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/neighbors.py +0 -0
  13. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/phonopy.py +0 -0
  14. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/pyscal.py +0 -0
  15. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/snap.py +0 -0
  16. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/spatial.py +0 -0
  17. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/analyse/strain.py +0 -0
  18. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/build/__init__.py +0 -0
  19. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/build/aimsgb.py +0 -0
  20. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/build/compound.py +0 -0
  21. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/build/mesh.py +0 -0
  22. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/build/sqs.py +0 -0
  23. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/build/surface.py +0 -0
  24. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/common/__init__.py +0 -0
  25. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/common/error.py +0 -0
  26. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/common/helper.py +0 -0
  27. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/common/phonopy.py +0 -0
  28. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/common/pymatgen.py +0 -0
  29. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/common/pyscal.py +0 -0
  30. {structuretoolkit-0.0.37 → structuretoolkit-0.0.39}/structuretoolkit/visualize.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: structuretoolkit
3
- Version: 0.0.37
3
+ Version: 0.0.39
4
4
  Summary: build, analyse and visualise atomistic structures for materials science
5
5
  Project-URL: Homepage, https://github.com/pyiron/structuretoolkit
6
6
  Project-URL: Documentation, https://github.com/pyiron/structuretoolkit
@@ -47,8 +47,8 @@ Classifier: Programming Language :: Python :: 3.12
47
47
  Classifier: Programming Language :: Python :: 3.13
48
48
  Classifier: Topic :: Scientific/Engineering :: Physics
49
49
  Requires-Python: <3.14,>=3.10
50
- Requires-Dist: ase<=3.26.0,>=3.20.1
51
- Requires-Dist: numpy<=2.3.4,>=1.23.5
50
+ Requires-Dist: ase<=3.27.0,>=3.20.1
51
+ Requires-Dist: numpy<=2.3.5,>=1.23.5
52
52
  Requires-Dist: scipy<=1.16.3,>=1.15.0
53
53
  Provides-Extra: clusters
54
54
  Requires-Dist: scikit-learn==1.7.2; extra == 'clusters'
@@ -56,23 +56,23 @@ Provides-Extra: dscribe
56
56
  Requires-Dist: dscribe==2.1.2; 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.6.14,>=2022.2.1; extra == 'grainboundary'
59
+ Requires-Dist: pymatgen<=2025.10.7,>=2022.2.1; extra == 'grainboundary'
60
60
  Provides-Extra: matplotlib
61
- Requires-Dist: matplotlib==3.10.7; extra == 'matplotlib'
61
+ Requires-Dist: matplotlib==3.10.8; extra == 'matplotlib'
62
62
  Provides-Extra: nglview
63
63
  Requires-Dist: nglview<=3.1.4,>=2.7.7; extra == 'nglview'
64
64
  Provides-Extra: phonopy
65
- Requires-Dist: phonopy<=2.43.6,>=2.16.2; extra == 'phonopy'
66
- Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == 'phonopy'
65
+ Requires-Dist: phonopy<=2.46.1,>=2.16.2; extra == 'phonopy'
66
+ Requires-Dist: spglib==2.7.0; extra == 'phonopy'
67
67
  Provides-Extra: plotly
68
- Requires-Dist: plotly<=6.3.1,>=4.14.3; extra == 'plotly'
68
+ Requires-Dist: plotly<=6.5.0,>=4.14.3; extra == 'plotly'
69
69
  Provides-Extra: pyscal
70
70
  Requires-Dist: pyscal3<=3.3.0,>=3.2.5; extra == 'pyscal'
71
71
  Provides-Extra: surface
72
- Requires-Dist: pymatgen<=2025.6.14,>=2022.2.1; extra == 'surface'
73
- Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == 'surface'
72
+ Requires-Dist: pymatgen<=2025.10.7,>=2022.2.1; extra == 'surface'
73
+ Requires-Dist: spglib==2.7.0; extra == 'surface'
74
74
  Provides-Extra: symmetry
75
- Requires-Dist: spglib<=2.6.0,>=1.16.5; extra == 'symmetry'
75
+ Requires-Dist: spglib==2.7.0; extra == 'symmetry'
76
76
  Description-Content-Type: text/markdown
77
77
 
78
78
  # structuretoolkit
@@ -24,8 +24,8 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.13",
25
25
  ]
26
26
  dependencies = [
27
- "ase>=3.20.1,<=3.26.0",
28
- "numpy>=1.23.5,<=2.3.4",
27
+ "ase>=3.20.1,<=3.27.0",
28
+ "numpy>=1.23.5,<=2.3.5",
29
29
  "scipy>=1.15.0,<=1.16.3",
30
30
  ]
31
31
  dynamic = ["version"]
@@ -39,21 +39,21 @@ Repository = "https://github.com/pyiron/structuretoolkit"
39
39
  dscribe = ["dscribe==2.1.2"]
40
40
  grainboundary = [
41
41
  "aimsgb>=1.0.2,<=1.1.1",
42
- "pymatgen>=2022.2.1,<=2025.6.14",
42
+ "pymatgen>=2022.2.1,<=2025.10.7",
43
43
  ]
44
44
  pyscal = ["pyscal3>=3.2.5,<=3.3.0"]
45
45
  nglview = ["nglview>=2.7.7,<=3.1.4"]
46
- matplotlib = ["matplotlib==3.10.7"]
47
- plotly = ["plotly>=4.14.3,<=6.3.1"]
46
+ matplotlib = ["matplotlib==3.10.8"]
47
+ plotly = ["plotly>=4.14.3,<=6.5.0"]
48
48
  clusters = ["scikit-learn==1.7.2"]
49
- symmetry = ["spglib>=1.16.5,<=2.6.0"]
49
+ symmetry = ["spglib==2.7.0"]
50
50
  surface = [
51
- "spglib>=1.16.5,<=2.6.0",
52
- "pymatgen>=2022.2.1,<=2025.6.14",
51
+ "spglib==2.7.0",
52
+ "pymatgen>=2022.2.1,<=2025.10.7",
53
53
  ]
54
54
  phonopy = [
55
- "phonopy>=2.16.2,<=2.43.6",
56
- "spglib>=1.16.5,<=2.6.0",
55
+ "phonopy>=2.16.2,<=2.46.1",
56
+ "spglib==2.7.0",
57
57
  ]
58
58
 
59
59
  [tool.ruff]
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
28
28
  commit_id: COMMIT_ID
29
29
  __commit_id__: COMMIT_ID
30
30
 
31
- __version__ = version = '0.0.37'
32
- __version_tuple__ = version_tuple = (0, 0, 37)
31
+ __version__ = version = '0.0.39'
32
+ __version_tuple__ = version_tuple = (0, 0, 39)
33
33
 
34
34
  __commit_id__ = commit_id = None
@@ -329,7 +329,7 @@ class Symmetry(dict):
329
329
  angle_tolerance=angle_tolerance,
330
330
  )
331
331
  if sym is None:
332
- raise SymmetryError(spglib.spglib.spglib_error.message)
332
+ raise SymmetryError(spglib.error.get_error_message())
333
333
  return sym
334
334
 
335
335
  @property
@@ -345,7 +345,7 @@ class Symmetry(dict):
345
345
  angle_tolerance=self._angle_tolerance,
346
346
  )
347
347
  if info is None:
348
- raise SymmetryError(spglib.spglib.spglib_error.message)
348
+ raise SymmetryError(spglib.error.get_error_message())
349
349
  if dataclasses.is_dataclass(info):
350
350
  info = dataclasses.asdict(info)
351
351
  return info
@@ -367,7 +367,7 @@ class Symmetry(dict):
367
367
  angle_tolerance=self._angle_tolerance,
368
368
  )
369
369
  if space_group is None:
370
- raise SymmetryError(spglib.spglib.spglib_error.message)
370
+ raise SymmetryError(spglib.error.get_error_message())
371
371
  space_group = space_group.split()
372
372
  if len(space_group) == 1:
373
373
  return {"Number": ast.literal_eval(space_group[0])}
@@ -406,7 +406,7 @@ class Symmetry(dict):
406
406
  to_primitive=not standardize,
407
407
  )
408
408
  if ret is None:
409
- raise SymmetryError(spglib.spglib.spglib_error.message)
409
+ raise SymmetryError(spglib.error.get_error_message())
410
410
  cell, positions, indices = ret
411
411
  positions = (cell.T @ positions.T).T
412
412
  new_structure = self._structure.copy()
@@ -450,7 +450,7 @@ class Symmetry(dict):
450
450
  symprec=self._symprec,
451
451
  )
452
452
  if mesh is None:
453
- raise SymmetryError(spglib.spglib.spglib_error.message)
453
+ raise SymmetryError(spglib.error.get_error_message())
454
454
  return mesh
455
455
 
456
456