atomict 1.2.14__py3-none-any.whl → 1.2.15__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.
atomict/__version__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "1.2.14"
1
+ __version__ = "1.2.15"
@@ -0,0 +1,28 @@
1
+ from atomict.api import get, post
2
+
3
+
4
+ def get_sh(id: str, **params):
5
+ """
6
+ Get SH
7
+ """
8
+ result = get(f"api/encoding-task/{id}/", params=params)
9
+ return result
10
+
11
+
12
+ def associate_user_upload_with_sh(user_upload_id: str, sh_id: str):
13
+ """
14
+ Associate a user upload with a SH
15
+ """
16
+ result = post(
17
+ "api/encoding-file/",
18
+ payload={"user_upload_id": user_upload_id, "encoding_id": sh_id},
19
+ )
20
+ return result
21
+
22
+
23
+ def get_sh_files(sh_id: str):
24
+ """
25
+ Get the files associated with a SH
26
+ """
27
+ result = get(f"api/encoding-file/?encoding__id={sh_id}")
28
+ return result
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: atomict
3
- Version: 1.2.14
3
+ Version: 1.2.15
4
4
  Summary: The client application for the https://atomictessellator.com/
5
5
  Author-email: Steven Anderson <steven@atomictessellator.com>, Alain Richardt <alain@atomictessellator.com>
6
6
  License: MIT
@@ -1,5 +1,5 @@
1
1
  atomict/__init__.py,sha256=nMXg9GFsk8gCcyBnh1MAeUPvo4Zcuv3sdwGHZrxfpPE,36
2
- atomict/__version__.py,sha256=mxzjGyB-ihJR05pHYcBiUe_XT5X9wj6cBHLxOXBhAeM,23
2
+ atomict/__version__.py,sha256=Q6rDLuL8XHKQggYBtRCtxzpPQJgFYWn4x0gcVlH7H4g,23
3
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
@@ -70,6 +70,7 @@ atomict/simulation/mlrelax.py,sha256=7Y2Q9WPFUFvD-IJYe71Px5tJ4lvI3makR6KghKtlFGY
70
70
  atomict/simulation/models.py,sha256=2gBPyRo5I6TJetc8iqu7W6gF3eJr9D-zqffonooaJxs,101
71
71
  atomict/simulation/phonon.py,sha256=_roteuXyV8KmlwGW1jnidSY6xu_3ReNhLtYGL0OdS8Q,2950
72
72
  atomict/simulation/qe.py,sha256=p46YiHj_HIiqxrQGs-SBuGoWk5zUiHahXIRcyjdEq3c,1702
73
+ atomict/simulation/sh.py,sha256=YymnH9q8aD_THiielicTKgPGcRunsAcoV5bZKu__L0w,609
73
74
  atomict/simulation/sqs.py,sha256=1neQRVUy21R_UVusML6ocz6RVwxGUVh81CMr2TljGbw,1132
74
75
  atomict/simulation/utils.py,sha256=iYp3uVirfbLYjVmb6SqXMPe_HIJdcJKHhKORBIAcG8s,4428
75
76
  atomict/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -79,9 +80,9 @@ atomict/utils/tenacity.py,sha256=phc6YPEk7idqiFFeHeK-ngiAaqVOZFYp8S7dX1k-YXc,998
79
80
  atomict/utils/traj.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
80
81
  atomict/utils/fhiaims/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
81
82
  atomict/utils/fhiaims/geometry.py,sha256=3Ap6gO7UsLFXBl9Ohv8Vmfpvwu0fohpzgdxOFGg6Tmc,2281
82
- atomict-1.2.14.dist-info/licenses/LICENSE,sha256=fzvTkxUzi2u1cea_aRtmg5_mRk6ZyLWJJRr49K28qKg,1075
83
- atomict-1.2.14.dist-info/METADATA,sha256=XMCjxU1P1mvoowGL86am9_p5-mW6BclyCubCE6PaQ3k,3270
84
- atomict-1.2.14.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
85
- atomict-1.2.14.dist-info/entry_points.txt,sha256=PozguIUgJUHgS65PSZBHNPUiwYGDwXa4vLZ7hde3aq8,47
86
- atomict-1.2.14.dist-info/top_level.txt,sha256=CCo525YmAj7ZbToMmQcVKQ-JiIiFKiq3GmhIYCG2gaM,8
87
- atomict-1.2.14.dist-info/RECORD,,
83
+ atomict-1.2.15.dist-info/licenses/LICENSE,sha256=fzvTkxUzi2u1cea_aRtmg5_mRk6ZyLWJJRr49K28qKg,1075
84
+ atomict-1.2.15.dist-info/METADATA,sha256=ww03npVE-dveIsNElf46l9i6JtEFDapRwvNlPoaRawo,3270
85
+ atomict-1.2.15.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
86
+ atomict-1.2.15.dist-info/entry_points.txt,sha256=PozguIUgJUHgS65PSZBHNPUiwYGDwXa4vLZ7hde3aq8,47
87
+ atomict-1.2.15.dist-info/top_level.txt,sha256=CCo525YmAj7ZbToMmQcVKQ-JiIiFKiq3GmhIYCG2gaM,8
88
+ atomict-1.2.15.dist-info/RECORD,,