structuretoolkit 0.0.38__tar.gz → 0.0.40__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.
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40}/PKG-INFO +12 -12
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40}/pyproject.toml +17 -17
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/_version.py +2 -2
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/symmetry.py +5 -5
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40}/.gitignore +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40}/LICENSE +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40}/README.md +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/__init__.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/__init__.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/distance.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/dscribe.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/neighbors.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/phonopy.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/pyscal.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/snap.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/spatial.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/strain.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/build/__init__.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/build/aimsgb.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/build/compound.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/build/mesh.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/build/sqs.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/build/surface.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/common/__init__.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/common/error.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/common/helper.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/common/phonopy.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/common/pymatgen.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/common/pyscal.py +0 -0
- {structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/visualize.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: structuretoolkit
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.40
|
|
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,32 +47,32 @@ 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.
|
|
50
|
+
Requires-Dist: ase<=3.27.0,>=3.20.1
|
|
51
51
|
Requires-Dist: numpy<=2.3.5,>=1.23.5
|
|
52
|
-
Requires-Dist: scipy<=1.
|
|
52
|
+
Requires-Dist: scipy<=1.17.0,>=1.15.0
|
|
53
53
|
Provides-Extra: clusters
|
|
54
|
-
Requires-Dist: scikit-learn==1.
|
|
54
|
+
Requires-Dist: scikit-learn==1.8.0; extra == 'clusters'
|
|
55
55
|
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
59
|
Requires-Dist: pymatgen<=2025.10.7,>=2022.2.1; extra == 'grainboundary'
|
|
60
60
|
Provides-Extra: matplotlib
|
|
61
|
-
Requires-Dist: matplotlib==3.10.
|
|
61
|
+
Requires-Dist: matplotlib==3.10.8; extra == 'matplotlib'
|
|
62
62
|
Provides-Extra: nglview
|
|
63
|
-
Requires-Dist: nglview<=
|
|
63
|
+
Requires-Dist: nglview<=4.0.1,>=2.7.7; extra == 'nglview'
|
|
64
64
|
Provides-Extra: phonopy
|
|
65
|
-
Requires-Dist: phonopy<=2.
|
|
66
|
-
Requires-Dist: spglib
|
|
65
|
+
Requires-Dist: phonopy<=2.47.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.5.
|
|
68
|
+
Requires-Dist: plotly<=6.5.2,>=4.14.3; extra == 'plotly'
|
|
69
69
|
Provides-Extra: pyscal
|
|
70
|
-
Requires-Dist: pyscal3<=3.3.
|
|
70
|
+
Requires-Dist: pyscal3<=3.3.1,>=3.2.5; extra == 'pyscal'
|
|
71
71
|
Provides-Extra: surface
|
|
72
72
|
Requires-Dist: pymatgen<=2025.10.7,>=2022.2.1; extra == 'surface'
|
|
73
|
-
Requires-Dist: spglib
|
|
73
|
+
Requires-Dist: spglib==2.7.0; extra == 'surface'
|
|
74
74
|
Provides-Extra: symmetry
|
|
75
|
-
Requires-Dist: spglib
|
|
75
|
+
Requires-Dist: spglib==2.7.0; extra == 'symmetry'
|
|
76
76
|
Description-Content-Type: text/markdown
|
|
77
77
|
|
|
78
78
|
# structuretoolkit
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
[build-system]
|
|
2
|
-
requires = ["ase", "numpy", "scipy", "hatchling==1.
|
|
2
|
+
requires = ["ase", "numpy", "scipy", "hatchling==1.28.0", "hatch-vcs==0.5.0"]
|
|
3
3
|
build-backend = "hatchling.build"
|
|
4
4
|
|
|
5
5
|
[project]
|
|
@@ -24,9 +24,9 @@ classifiers = [
|
|
|
24
24
|
"Programming Language :: Python :: 3.13",
|
|
25
25
|
]
|
|
26
26
|
dependencies = [
|
|
27
|
-
"ase>=3.20.1,<=3.
|
|
27
|
+
"ase>=3.20.1,<=3.27.0",
|
|
28
28
|
"numpy>=1.23.5,<=2.3.5",
|
|
29
|
-
"scipy>=1.15.0,<=1.
|
|
29
|
+
"scipy>=1.15.0,<=1.17.0",
|
|
30
30
|
]
|
|
31
31
|
dynamic = ["version"]
|
|
32
32
|
|
|
@@ -41,19 +41,19 @@ grainboundary = [
|
|
|
41
41
|
"aimsgb>=1.0.2,<=1.1.1",
|
|
42
42
|
"pymatgen>=2022.2.1,<=2025.10.7",
|
|
43
43
|
]
|
|
44
|
-
pyscal = ["pyscal3>=3.2.5,<=3.3.
|
|
45
|
-
nglview = ["nglview>=2.7.7,<=
|
|
46
|
-
matplotlib = ["matplotlib==3.10.
|
|
47
|
-
plotly = ["plotly>=4.14.3,<=6.5.
|
|
48
|
-
clusters = ["scikit-learn==1.
|
|
49
|
-
symmetry = ["spglib
|
|
44
|
+
pyscal = ["pyscal3>=3.2.5,<=3.3.1"]
|
|
45
|
+
nglview = ["nglview>=2.7.7,<=4.0.1"]
|
|
46
|
+
matplotlib = ["matplotlib==3.10.8"]
|
|
47
|
+
plotly = ["plotly>=4.14.3,<=6.5.2"]
|
|
48
|
+
clusters = ["scikit-learn==1.8.0"]
|
|
49
|
+
symmetry = ["spglib==2.7.0"]
|
|
50
50
|
surface = [
|
|
51
|
-
"spglib
|
|
51
|
+
"spglib==2.7.0",
|
|
52
52
|
"pymatgen>=2022.2.1,<=2025.10.7",
|
|
53
53
|
]
|
|
54
54
|
phonopy = [
|
|
55
|
-
"phonopy>=2.16.2,<=2.
|
|
56
|
-
"spglib
|
|
55
|
+
"phonopy>=2.16.2,<=2.47.1",
|
|
56
|
+
"spglib==2.7.0",
|
|
57
57
|
]
|
|
58
58
|
|
|
59
59
|
[tool.ruff]
|
|
@@ -106,22 +106,22 @@ ignore = [
|
|
|
106
106
|
]
|
|
107
107
|
|
|
108
108
|
[tool.hatch.build.hooks.vcs]
|
|
109
|
-
version-file = "structuretoolkit/_version.py"
|
|
109
|
+
version-file = "src/structuretoolkit/_version.py"
|
|
110
110
|
|
|
111
111
|
[tool.hatch.build.targets.sdist]
|
|
112
112
|
include = [
|
|
113
|
-
"structuretoolkit"
|
|
113
|
+
"src/structuretoolkit"
|
|
114
114
|
]
|
|
115
115
|
|
|
116
116
|
[tool.hatch.build.targets.wheel]
|
|
117
117
|
packages = [
|
|
118
|
-
"structuretoolkit"
|
|
118
|
+
"src/structuretoolkit"
|
|
119
119
|
]
|
|
120
120
|
|
|
121
121
|
[tool.hatch.version]
|
|
122
122
|
source = "vcs"
|
|
123
|
-
path = "structuretoolkit/_version.py"
|
|
123
|
+
path = "src/structuretoolkit/_version.py"
|
|
124
124
|
|
|
125
125
|
[tool.coverage.run]
|
|
126
|
-
|
|
126
|
+
source = ["structuretoolkit"]
|
|
127
127
|
command_line = "-m unittest discover tests"
|
|
@@ -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.
|
|
32
|
-
__version_tuple__ = version_tuple = (0, 0,
|
|
31
|
+
__version__ = version = '0.0.40'
|
|
32
|
+
__version_tuple__ = version_tuple = (0, 0, 40)
|
|
33
33
|
|
|
34
34
|
__commit_id__ = commit_id = None
|
{structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/symmetry.py
RENAMED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
453
|
+
raise SymmetryError(spglib.error.get_error_message())
|
|
454
454
|
return mesh
|
|
455
455
|
|
|
456
456
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/__init__.py
RENAMED
|
File without changes
|
{structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/distance.py
RENAMED
|
File without changes
|
|
File without changes
|
{structuretoolkit-0.0.38 → structuretoolkit-0.0.40/src}/structuretoolkit/analyse/neighbors.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|