atomict 1.2.6__py3-none-any.whl → 1.2.9__py3-none-any.whl

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.
@@ -1,24 +1,25 @@
1
1
  atomict/__init__.py,sha256=nMXg9GFsk8gCcyBnh1MAeUPvo4Zcuv3sdwGHZrxfpPE,36
2
- atomict/__version__.py,sha256=3Rmp7H7tAaJVlIPguOr9zwsAH1yjcBVJT41DPmj0Tlw,21
3
- atomict/api.py,sha256=k_vdCSaMk00Num6bYvPgz2fDC8ChrnT2cgJDftEoe3k,6595
2
+ atomict/__version__.py,sha256=Oh3Y6CIypkhAjW-aquBTyP3_cA-gKgKTwq9EpcWpjps,22
3
+ atomict/api.py,sha256=1aI2qPMm6V9VY4PLR8LBMm2WwVCBB9pAL7sEowvjhtc,6706
4
4
  atomict/auth.py,sha256=yMEaxaSg44tSDxr4x-bjwjjn9zIsqw_bVoKd01Zd9LU,987
5
5
  atomict/env.py,sha256=RqK5SUfCDJ6aMGtCPhNmSrwsNZSjlGaDQYYk41oeBDc,2115
6
6
  atomict/exceptions.py,sha256=-PT-Bw-2SoPAME0ELXCXRBsU7tBOAbHTscnvnGRto-4,146
7
+ atomict/ase/atatoms.py,sha256=LGGopVFR1jLJCSCASnpmOSeCl7TSmWXr6Nf6GqIMsSo,26852
7
8
  atomict/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
8
- atomict/cli/main.py,sha256=rGU0b-HjG0BQ_mERSKbjU3U9N7vlcLXI1oFOFGnQumY,4216
9
- atomict/cli/commands/adsorbate.py,sha256=jbF7Hl8fAo_DvEsfHlIQ76C5TQqAjbhol5VGQiUUOFE,5806
9
+ atomict/cli/main.py,sha256=pMG0KtS3cFPbTpzmtei75ShOV_HmcH3ebghmgs-f60s,9703
10
+ atomict/cli/commands/adsorbate.py,sha256=fdu6m5Kx2fkQXA--BsvU5QWcq0-PKFi7bGaLJZnnqag,5836
10
11
  atomict/cli/commands/ai_assist.py,sha256=IgZyoeL5mdwkcwxKWD7y0Enjus-wSlrYee-keyacOOY,3449
11
12
  atomict/cli/commands/catalysis.py,sha256=raBRBttv3R2ZQvZBnyIlnBXJyZbpISL_5_WWXHg3X_s,5502
12
13
  atomict/cli/commands/common.py,sha256=NG8hiLxUGtk-fW5uVs30nKqVciireghoczT7YsGoR1w,1630
13
14
  atomict/cli/commands/helpers.py,sha256=VcfJ9g_5CQpVVr-Ptbz4Ah-kq7z5WEJxVCvJkREFjUQ,2039
14
- atomict/cli/commands/k8s.py,sha256=uXLbcvDtaXx9Y9Iu64hx3AenQXQ8ozROAdV-0RH-JRc,6694
15
+ atomict/cli/commands/k8s.py,sha256=aPll70iXe5Kd4-4ZWPVDiTzwvC9r74_EOgnPBpZVojk,6712
15
16
  atomict/cli/commands/login.py,sha256=6BsyRsNLAtr2bMwYr1e5IAKqjuHI6edClCCBdJ_rZF8,1171
16
17
  atomict/cli/commands/organization.py,sha256=EIDpiue815jNi4mDyLCbHUGudNlB0RBPwWgrdBt5DCo,2106
17
- atomict/cli/commands/project.py,sha256=90JL5Q1KI-9kIlrxARMb7K9-S40daGj1jXml_lUokfU,28426
18
+ atomict/cli/commands/project.py,sha256=kbqTE7tUEkjE3Hm64WrHDw_sqd1jMnGOH4PIQPJfmEM,28540
18
19
  atomict/cli/commands/simulation.py,sha256=ywh5pIKEC2B60G_gqb9ZcDhyZyKrcXaBxGXWw8TaQ7g,5357
19
- atomict/cli/commands/task.py,sha256=64SHXX9_qT9nv8_a65RuBTj3JW9v9B4OhtBeYXmTY2g,5423
20
+ atomict/cli/commands/task.py,sha256=eRZlClY4W57gKz6WiYKf9M1ZdLag37o3YxUrgOCCfsA,5453
20
21
  atomict/cli/commands/traj.py,sha256=iRCqHarrUkY9NTot9ZthkUcLAml_uB7vL3gvNngHJP8,1808
21
- atomict/cli/commands/upload.py,sha256=enIR6Vp0OUglm94Ka9p0XR5qI1hEU_8b69gKjJRAqJ8,2811
22
+ atomict/cli/commands/upload.py,sha256=U7OW4mrYeqfoMHXPIBNTHDTOvx_-rGiY82Sj72y8N-Q,2823
22
23
  atomict/cli/commands/user.py,sha256=7jja2At19hrMoTaRx7PrAZRS0C48BJjIN9WEmzN7Xxc,6486
23
24
  atomict/cli/commands/exploration/__init__.py,sha256=LTuDJsRPL62w-YYXx-X_GgsuD2Dovj74h-G5tTw5DaE,169
24
25
  atomict/cli/commands/exploration/soec.py,sha256=ZkKJKHz97OaswLS0hptyEquQyyATkfb8T6EI3ngkg68,18888
@@ -31,15 +32,17 @@ atomict/cli/commands/simulation/vibes.py,sha256=lfGtKAE6wXhcv3pp6cW76sNHsnoAALVA
31
32
  atomict/cli/core/client.py,sha256=AcvhupCr3vAnjAjhaxTsrD-IH1B6XctgSpDxVtxhOxc,8224
32
33
  atomict/cli/core/config.py,sha256=MHQGo59yt3839-r1-3IXqOrN5DNLxMeQ2QBJRSbFONA,1378
33
34
  atomict/cli/core/utils.py,sha256=J8hh1F1vKERnj8JpWSmc2-UHiwFSJfCCnCjDL3-xm4E,941
35
+ atomict/cli/ext/custom_classes.py,sha256=zbdHnR8qb_8ccYAyFPkIyu9q6XRgHwLDBK4E7fYbXlo,1198
34
36
  atomict/infra/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
- atomict/infra/logging.py,sha256=p016nxcZXu5XnOOUAgiQ693XXD9jCxzXJHm8nMrcCEA,644
37
+ atomict/infra/logging.py,sha256=QC1FTCyth-Qg4rn5h3yzqqKKWYoXMn_4n9AK99rcpOE,7690
36
38
  atomict/infra/distwork/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
39
  atomict/infra/distwork/environment.py,sha256=joydS9wA2pgWafXh_Wqgg95InaxhsusohaeWc9IOgwA,909
38
40
  atomict/infra/distwork/task.py,sha256=RsTpIyI43qisD8mwobnDFGq3bUDWMi1WtZzk5cRO40M,1121
39
41
  atomict/io/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
42
  atomict/io/cif.py,sha256=o7oe6alug5ais2QnJhv88X7sAbZSbTkEWhHa-4Dkw1E,6040
41
43
  atomict/io/fhiaims.py,sha256=4Z5oImjZuP-k8AudrMrXqvsO0IHajDy__h5NmLr1LGY,1197
42
- atomict/io/json.py,sha256=fsJeazri0IfcG8TrvJv-1MZb12adMkUC2S28u-9Hdw4,755
44
+ atomict/io/msgpack.py,sha256=wxgLMwFZpimqC4O9zCmim8BLOkY3V8wagwkvC8jygMM,18376
45
+ atomict/io/trajectory.py,sha256=s24Cm4iUsrLYQ9FJ1Sr9vFXbq3EIZMv6J49pPjnmyqo,16068
43
46
  atomict/io/utils.py,sha256=ncA8XchNN3lJT8EhJK6tLJE9TvmHmPlxizTnY5ASvEc,272
44
47
  atomict/ml/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
48
  atomict/ml/model.py,sha256=Ug6IyRNNQ5_SHnQabFHnCCAGTHa9jxrRAUAkBsdcjgo,279
@@ -59,14 +62,16 @@ atomict/simulation/counterfactual.py,sha256=8-Kf4wGxPvImDr0j2grmBLLwFQ4JpjhBBxIk
59
62
  atomict/simulation/defect.py,sha256=uvYLR_Ng0PFV9A_EE_EgB2SK8jqUpJtvuwLKL02Am3c,691
60
63
  atomict/simulation/ea.py,sha256=bYvYnw59F7QCuV-airnX0Wu8fqZHKlsdywgoK7pwNso,3610
61
64
  atomict/simulation/fhi_aims.py,sha256=w-tiPvPWWubolcZxaM2QLxOoSYmKIYVx8ohLZavhzig,1887
65
+ atomict/simulation/impact.py,sha256=b5RL--cFeg6gPtxN5xwX_M4LkvYn_lRLi1OWz-uimPA,1161
62
66
  atomict/simulation/kpoint.py,sha256=8Dc1F9xqubK1HBCQa7GeRtIhs28302sRnuUK0Rns9Q4,1739
63
67
  atomict/simulation/mattergen.py,sha256=ybzJy0nwIAZhG8IIuhlmi-_J6lLyci3aVo35h2ni_w0,488
64
68
  atomict/simulation/md.py,sha256=C32Sh2sv9PQ1lyGaWYFmG5evKk3Jqw0wel2ml4uPnJw,770
65
- atomict/simulation/mlrelax.py,sha256=kSuZES7p2Bu_q7F5CpYalBdzPXN4_L6tT14FVInJcxw,2684
66
- atomict/simulation/phonon.py,sha256=_0lPjYv2nbuL2O7DRzLE9-oPNAemagcoD6R6Tu2W4V4,333
69
+ atomict/simulation/mlrelax.py,sha256=7Y2Q9WPFUFvD-IJYe71Px5tJ4lvI3makR6KghKtlFGY,2708
70
+ atomict/simulation/models.py,sha256=2gBPyRo5I6TJetc8iqu7W6gF3eJr9D-zqffonooaJxs,101
71
+ atomict/simulation/phonon.py,sha256=_roteuXyV8KmlwGW1jnidSY6xu_3ReNhLtYGL0OdS8Q,2950
67
72
  atomict/simulation/qe.py,sha256=p46YiHj_HIiqxrQGs-SBuGoWk5zUiHahXIRcyjdEq3c,1702
68
73
  atomict/simulation/sqs.py,sha256=1neQRVUy21R_UVusML6ocz6RVwxGUVh81CMr2TljGbw,1132
69
- atomict/simulation/utils.py,sha256=Kik1yFrWQW4BxDlCBjstkXMrIKrQSOURi4BsvM00uHU,3289
74
+ atomict/simulation/utils.py,sha256=P4C0D0m9IkX3TqEjhadEECz7FlfgbzEffNHp267pTjI,3627
70
75
  atomict/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
71
76
  atomict/user/files.py,sha256=8xGPkISOIiFYsYr26k8OqGE3G7q096zdtV6uy6YTtVU,875
72
77
  atomict/user/workspace.py,sha256=qH-iF8kLj7Zpj646NFF_G3d4_P22jQjw5une-ZBiBak,3923
@@ -74,9 +79,9 @@ atomict/utils/tenacity.py,sha256=phc6YPEk7idqiFFeHeK-ngiAaqVOZFYp8S7dX1k-YXc,998
74
79
  atomict/utils/traj.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
80
  atomict/utils/fhiaims/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
76
81
  atomict/utils/fhiaims/geometry.py,sha256=3Ap6gO7UsLFXBl9Ohv8Vmfpvwu0fohpzgdxOFGg6Tmc,2281
77
- atomict-1.2.6.dist-info/licenses/LICENSE,sha256=fzvTkxUzi2u1cea_aRtmg5_mRk6ZyLWJJRr49K28qKg,1075
78
- atomict-1.2.6.dist-info/METADATA,sha256=_ZX0yID-K4GyUw8dXEVxulVylwWFJ7l3iPDyNJ505pI,3045
79
- atomict-1.2.6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
80
- atomict-1.2.6.dist-info/entry_points.txt,sha256=PozguIUgJUHgS65PSZBHNPUiwYGDwXa4vLZ7hde3aq8,47
81
- atomict-1.2.6.dist-info/top_level.txt,sha256=CCo525YmAj7ZbToMmQcVKQ-JiIiFKiq3GmhIYCG2gaM,8
82
- atomict-1.2.6.dist-info/RECORD,,
82
+ atomict-1.2.9.dist-info/licenses/LICENSE,sha256=fzvTkxUzi2u1cea_aRtmg5_mRk6ZyLWJJRr49K28qKg,1075
83
+ atomict-1.2.9.dist-info/METADATA,sha256=y09I7mXNutj6J-xeIPPZexyuYHcMPo3sW-MItpvzZX8,3269
84
+ atomict-1.2.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
+ atomict-1.2.9.dist-info/entry_points.txt,sha256=PozguIUgJUHgS65PSZBHNPUiwYGDwXa4vLZ7hde3aq8,47
86
+ atomict-1.2.9.dist-info/top_level.txt,sha256=CCo525YmAj7ZbToMmQcVKQ-JiIiFKiq3GmhIYCG2gaM,8
87
+ atomict-1.2.9.dist-info/RECORD,,
atomict/io/json.py DELETED
@@ -1,28 +0,0 @@
1
- import io
2
- import json
3
-
4
- try:
5
- from ase import Atoms
6
- from ase.io import read, write
7
- except ImportError:
8
- raise ImportError(
9
- "The 'ase' package is required for JSON operations with Atoms objects. "
10
- "To install the optional dependencies such as ase, spglib, pymatgen, use `pip install atomict[utils]`"
11
- )
12
-
13
-
14
- def atoms_to_json(atoms: Atoms) -> str:
15
- with io.StringIO() as buf:
16
- write(buf, atoms, format="json")
17
- return buf.getvalue()
18
-
19
-
20
- def atoms_to_dict(atoms: Atoms) -> dict:
21
- with io.StringIO() as buf:
22
- write(buf, atoms, format="json")
23
- return json.loads(buf.getvalue())
24
-
25
-
26
- def json_to_atoms(json_str: str) -> Atoms:
27
- with io.StringIO(json_str) as buf:
28
- return read(buf, format="json")