structuretoolkit 0.0.28__tar.gz → 0.0.29__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.28/structuretoolkit.egg-info → structuretoolkit-0.0.29}/PKG-INFO +11 -11
  2. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/pyproject.toml +10 -10
  3. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/_version.py +3 -3
  4. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/symmetry.py +3 -0
  5. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29/structuretoolkit.egg-info}/PKG-INFO +11 -11
  6. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit.egg-info/requires.txt +10 -10
  7. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/LICENSE +0 -0
  8. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/MANIFEST.in +0 -0
  9. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/README.md +0 -0
  10. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/setup.cfg +0 -0
  11. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/setup.py +0 -0
  12. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/__init__.py +0 -0
  13. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/__init__.py +0 -0
  14. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/distance.py +0 -0
  15. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/dscribe.py +0 -0
  16. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/neighbors.py +0 -0
  17. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/phonopy.py +0 -0
  18. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/pyscal.py +0 -0
  19. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/snap.py +0 -0
  20. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/spatial.py +0 -0
  21. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/analyse/strain.py +0 -0
  22. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/__init__.py +0 -0
  23. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/aimsgb.py +0 -0
  24. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/compound.py +0 -0
  25. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/mesh.py +0 -0
  26. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/random.py +0 -0
  27. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/sqs.py +0 -0
  28. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/build/surface.py +0 -0
  29. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/common/__init__.py +0 -0
  30. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/common/error.py +0 -0
  31. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/common/helper.py +0 -0
  32. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/common/phonopy.py +0 -0
  33. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/common/pymatgen.py +0 -0
  34. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/common/pyscal.py +0 -0
  35. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit/visualize.py +0 -0
  36. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit.egg-info/SOURCES.txt +0 -0
  37. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit.egg-info/dependency_links.txt +0 -0
  38. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/structuretoolkit.egg-info/top_level.txt +0 -0
  39. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_aimsgb.py +0 -0
  40. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_analyse.py +0 -0
  41. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_analyse_distance.py +0 -0
  42. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_analyse_phonopy.py +0 -0
  43. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_analyse_symmetry.py +0 -0
  44. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_compound.py +0 -0
  45. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_dscribe.py +0 -0
  46. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_helpers.py +0 -0
  47. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_high_index_surface.py +0 -0
  48. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_mesh.py +0 -0
  49. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_neighbors.py +0 -0
  50. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_pymatgen.py +0 -0
  51. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_pyscal.py +0 -0
  52. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_pyxtal.py +0 -0
  53. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_snap.py +0 -0
  54. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_sqs.py +0 -0
  55. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_strain.py +0 -0
  56. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_symmetry.py +0 -0
  57. {structuretoolkit-0.0.28 → structuretoolkit-0.0.29}/tests/test_visualize.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: structuretoolkit
3
- Version: 0.0.28
3
+ Version: 0.0.29
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,34 @@ 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.23.0,>=3.20.1
52
+ Requires-Dist: ase<=3.24.0,>=3.20.1
53
53
  Requires-Dist: numpy<=1.26.4,>=1.23.5
54
- Requires-Dist: scipy<=1.14.1,>=1.9.3
54
+ Requires-Dist: scipy<=1.15.0,>=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<=2024.8.9,>=2022.2.1; extra == "grainboundary"
59
+ Requires-Dist: pymatgen<=2024.11.13,>=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
- Requires-Dist: nglview<=3.1.2,>=2.7.7; extra == "nglview"
63
+ Requires-Dist: nglview<=3.1.4,>=2.7.7; extra == "nglview"
64
64
  Provides-Extra: matplotlib
65
- Requires-Dist: matplotlib==3.9.2; extra == "matplotlib"
65
+ Requires-Dist: matplotlib==3.10.0; extra == "matplotlib"
66
66
  Provides-Extra: plotly
67
- Requires-Dist: plotly<=5.23.0,>=4.14.3; extra == "plotly"
67
+ Requires-Dist: plotly<=5.24.1,>=4.14.3; extra == "plotly"
68
68
  Provides-Extra: clusters
69
- Requires-Dist: scikit-learn==1.5.1; extra == "clusters"
69
+ Requires-Dist: scikit-learn==1.6.0; extra == "clusters"
70
70
  Provides-Extra: symmetry
71
71
  Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "symmetry"
72
72
  Provides-Extra: surface
73
73
  Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "surface"
74
- Requires-Dist: pymatgen<=2024.8.9,>=2022.2.1; extra == "surface"
74
+ Requires-Dist: pymatgen<=2024.11.13,>=2022.2.1; extra == "surface"
75
75
  Provides-Extra: phonopy
76
- Requires-Dist: phonopy<=2.26.6,>=2.16.2; extra == "phonopy"
76
+ Requires-Dist: phonopy<=2.34.0,>=2.16.2; extra == "phonopy"
77
77
  Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "phonopy"
78
78
  Provides-Extra: pyxtal
79
- Requires-Dist: pyxtal<=1.0.2,>=0.5.5; extra == "pyxtal"
79
+ Requires-Dist: pyxtal<=1.0.6,>=0.5.5; extra == "pyxtal"
80
80
 
81
81
  # structuretoolkit
82
82
 
@@ -24,9 +24,9 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.12",
25
25
  ]
26
26
  dependencies = [
27
- "ase>=3.20.1,<=3.23.0",
27
+ "ase>=3.20.1,<=3.24.0",
28
28
  "numpy>=1.23.5,<=1.26.4",
29
- "scipy>=1.9.3,<=1.14.1",
29
+ "scipy>=1.9.3,<=1.15.0",
30
30
  ]
31
31
  dynamic = ["version"]
32
32
 
@@ -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,<=2024.8.9",
42
+ "pymatgen>=2022.2.1,<=2024.11.13",
43
43
  ]
44
44
  pyscal = ["pyscal3>=3.2.5,<=3.2.7"]
45
- nglview = ["nglview>=2.7.7,<=3.1.2"]
46
- matplotlib = ["matplotlib==3.9.2"]
47
- plotly = ["plotly>=4.14.3,<=5.23.0"]
48
- clusters = ["scikit-learn==1.5.1"]
45
+ nglview = ["nglview>=2.7.7,<=3.1.4"]
46
+ matplotlib = ["matplotlib==3.10.0"]
47
+ plotly = ["plotly>=4.14.3,<=5.24.1"]
48
+ clusters = ["scikit-learn==1.6.0"]
49
49
  symmetry = ["spglib>=1.16.5,<=2.5.0"]
50
50
  surface = [
51
51
  "spglib>=1.16.5,<=2.5.0",
52
- "pymatgen>=2022.2.1,<=2024.8.9",
52
+ "pymatgen>=2022.2.1,<=2024.11.13",
53
53
  ]
54
54
  phonopy = [
55
- "phonopy>=2.16.2,<=2.26.6",
55
+ "phonopy>=2.16.2,<=2.34.0",
56
56
  "spglib>=1.16.5,<=2.5.0",
57
57
  ]
58
- pyxtal = ["pyxtal>=0.5.5,<=1.0.2"]
58
+ pyxtal = ["pyxtal>=0.5.5,<=1.0.6"]
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": "2024-08-23T10:18:12+0200",
11
+ "date": "2025-01-08T12:24:58+0100",
12
12
  "dirty": true,
13
13
  "error": null,
14
- "full-revisionid": "654ff39333277ba99eda0c195167d3bc006f56b7",
15
- "version": "0.0.28"
14
+ "full-revisionid": "1d3dc72ffec6f8278719c0551754cf405880e393",
15
+ "version": "0.0.29"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -3,6 +3,7 @@
3
3
  # Distributed under the terms of "New BSD License", see the LICENSE file.
4
4
 
5
5
  import ast
6
+ import dataclasses
6
7
  import string
7
8
  from functools import cached_property
8
9
  from typing import Optional
@@ -348,6 +349,8 @@ class Symmetry(dict):
348
349
  )
349
350
  if info is None:
350
351
  raise SymmetryError(spglib.spglib.spglib_error.message)
352
+ if dataclasses.is_dataclass(info):
353
+ info = dataclasses.asdict(info)
351
354
  return info
352
355
 
353
356
  @property
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: structuretoolkit
3
- Version: 0.0.28
3
+ Version: 0.0.29
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,34 @@ 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.23.0,>=3.20.1
52
+ Requires-Dist: ase<=3.24.0,>=3.20.1
53
53
  Requires-Dist: numpy<=1.26.4,>=1.23.5
54
- Requires-Dist: scipy<=1.14.1,>=1.9.3
54
+ Requires-Dist: scipy<=1.15.0,>=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<=2024.8.9,>=2022.2.1; extra == "grainboundary"
59
+ Requires-Dist: pymatgen<=2024.11.13,>=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
- Requires-Dist: nglview<=3.1.2,>=2.7.7; extra == "nglview"
63
+ Requires-Dist: nglview<=3.1.4,>=2.7.7; extra == "nglview"
64
64
  Provides-Extra: matplotlib
65
- Requires-Dist: matplotlib==3.9.2; extra == "matplotlib"
65
+ Requires-Dist: matplotlib==3.10.0; extra == "matplotlib"
66
66
  Provides-Extra: plotly
67
- Requires-Dist: plotly<=5.23.0,>=4.14.3; extra == "plotly"
67
+ Requires-Dist: plotly<=5.24.1,>=4.14.3; extra == "plotly"
68
68
  Provides-Extra: clusters
69
- Requires-Dist: scikit-learn==1.5.1; extra == "clusters"
69
+ Requires-Dist: scikit-learn==1.6.0; extra == "clusters"
70
70
  Provides-Extra: symmetry
71
71
  Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "symmetry"
72
72
  Provides-Extra: surface
73
73
  Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "surface"
74
- Requires-Dist: pymatgen<=2024.8.9,>=2022.2.1; extra == "surface"
74
+ Requires-Dist: pymatgen<=2024.11.13,>=2022.2.1; extra == "surface"
75
75
  Provides-Extra: phonopy
76
- Requires-Dist: phonopy<=2.26.6,>=2.16.2; extra == "phonopy"
76
+ Requires-Dist: phonopy<=2.34.0,>=2.16.2; extra == "phonopy"
77
77
  Requires-Dist: spglib<=2.5.0,>=1.16.5; extra == "phonopy"
78
78
  Provides-Extra: pyxtal
79
- Requires-Dist: pyxtal<=1.0.2,>=0.5.5; extra == "pyxtal"
79
+ Requires-Dist: pyxtal<=1.0.6,>=0.5.5; extra == "pyxtal"
80
80
 
81
81
  # structuretoolkit
82
82
 
@@ -1,39 +1,39 @@
1
- ase<=3.23.0,>=3.20.1
1
+ ase<=3.24.0,>=3.20.1
2
2
  numpy<=1.26.4,>=1.23.5
3
- scipy<=1.14.1,>=1.9.3
3
+ scipy<=1.15.0,>=1.9.3
4
4
 
5
5
  [clusters]
6
- scikit-learn==1.5.1
6
+ scikit-learn==1.6.0
7
7
 
8
8
  [dscribe]
9
9
  dscribe==2.1.1
10
10
 
11
11
  [grainboundary]
12
12
  aimsgb<=1.1.1,>=1.0.2
13
- pymatgen<=2024.8.9,>=2022.2.1
13
+ pymatgen<=2024.11.13,>=2022.2.1
14
14
 
15
15
  [matplotlib]
16
- matplotlib==3.9.2
16
+ matplotlib==3.10.0
17
17
 
18
18
  [nglview]
19
- nglview<=3.1.2,>=2.7.7
19
+ nglview<=3.1.4,>=2.7.7
20
20
 
21
21
  [phonopy]
22
- phonopy<=2.26.6,>=2.16.2
22
+ phonopy<=2.34.0,>=2.16.2
23
23
  spglib<=2.5.0,>=1.16.5
24
24
 
25
25
  [plotly]
26
- plotly<=5.23.0,>=4.14.3
26
+ plotly<=5.24.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.2,>=0.5.5
32
+ pyxtal<=1.0.6,>=0.5.5
33
33
 
34
34
  [surface]
35
35
  spglib<=2.5.0,>=1.16.5
36
- pymatgen<=2024.8.9,>=2022.2.1
36
+ pymatgen<=2024.11.13,>=2022.2.1
37
37
 
38
38
  [symmetry]
39
39
  spglib<=2.5.0,>=1.16.5