stjames 0.0.48__py3-none-any.whl → 0.0.49__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.

Potentially problematic release.


This version of stjames might be problematic. Click here for more details.

stjames/__init__.py CHANGED
@@ -9,6 +9,7 @@ from .workflows import *
9
9
  from .scf_settings import *
10
10
  from .int_settings import *
11
11
  from .opt_settings import *
12
+ from .compute_settings import *
12
13
  from .diis_settings import *
13
14
  from .thermochem_settings import *
14
15
  from .grid_settings import *
@@ -0,0 +1,10 @@
1
+ from .base import Base, LowercaseStrEnum
2
+
3
+
4
+ class ComputeType(LowercaseStrEnum):
5
+ CPU = "cpu"
6
+ GPU = "gpu"
7
+
8
+
9
+ class ComputeSettings(Base):
10
+ compute_type: ComputeType = ComputeType.CPU
stjames/settings.py CHANGED
@@ -4,6 +4,7 @@ from pydantic import computed_field, field_validator, model_validator
4
4
 
5
5
  from .base import Base, UniqueList
6
6
  from .basis_set import BasisSet
7
+ from .compute_settings import ComputeSettings
7
8
  from .correction import Correction
8
9
  from .method import CORRECTABLE_NNP_METHODS, METHODS_WITH_CORRECTION, PREPACKAGED_METHODS, Method
9
10
  from .mode import Mode
@@ -30,6 +31,7 @@ class Settings(Base):
30
31
  scf_settings: SCFSettings = SCFSettings()
31
32
  opt_settings: OptimizationSettings = OptimizationSettings()
32
33
  thermochem_settings: ThermochemistrySettings = ThermochemistrySettings()
34
+ compute_settings: ComputeSettings = ComputeSettings()
33
35
 
34
36
  # mypy has this dead wrong (https://docs.pydantic.dev/2.0/usage/computed_fields/)
35
37
  # Python 3.12 narrows the reason for the ignore to prop-decorator
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: stjames
3
- Version: 0.0.48
3
+ Version: 0.0.49
4
4
  Summary: standardized JSON atom/molecule encoding scheme
5
5
  Author-email: Corin Wagen <corin@rowansci.com>
6
6
  Project-URL: Homepage, https://github.com/rowansci/stjames
@@ -1,9 +1,10 @@
1
- stjames/__init__.py,sha256=LkWCylP4VeXyQL0iu5w6yeYK1UHjcUH55hwWXTy4mQQ,576
1
+ stjames/__init__.py,sha256=8kqGRUcrOQY07DHp6VJN7GEttPPTHw49QpieMeQqkwE,608
2
2
  stjames/_deprecated_solvent_settings.py,sha256=gj5j9p3zakIwSTK5_ndqBXJx--IzjZNxZ75z-wipLOo,450
3
3
  stjames/atom.py,sha256=w7q-x9xpBw4sJ1WGrWt65WAaStxhz-m7dugXCYEOpq4,2064
4
4
  stjames/base.py,sha256=hroQjvC8G88UiK520i1TDqnOlgw_ihmzevQGTO5yeUY,1215
5
5
  stjames/basis_set.py,sha256=wI3M2q9uPf9jhKpAi4E2DrsyKzloDGLRjAlk7krdYgc,949
6
6
  stjames/calculation.py,sha256=O2LwwQ_cOLmDOGXTHA9J71YbUZXigUSbvbLA-fSVm3w,915
7
+ stjames/compute_settings.py,sha256=N312PevuI4V2EswJSimitLB_JC92thTCGoZJjXFccxo,191
7
8
  stjames/constraint.py,sha256=B6oV0rYjmAWr8gpi5f03gRy_uuqjUURVDVwoez5Cfbg,2442
8
9
  stjames/correction.py,sha256=ZVErCcj4TPyZeKrdvXVjHa0tFynsCaoy96QZUVxWFM8,413
9
10
  stjames/diis_settings.py,sha256=4m1EQQWBlpHhMnWopix8qOqJv7QCluvdnV9jSKJDFtE,552
@@ -18,7 +19,7 @@ stjames/pdb.py,sha256=goigN-UO72y-nnHmNF4HWp8K_ZYfJorg6TCqWpsNQIU,4519
18
19
  stjames/periodic_cell.py,sha256=JDCyynpamggTNi_HnTnnotRbeSMBfYc-srhD-IwUnrg,996
19
20
  stjames/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
21
  stjames/scf_settings.py,sha256=WotVgVrayQ_8PUHP39zVtG7iLT9PV41lpzruttFACP8,2356
21
- stjames/settings.py,sha256=LNTWHsEfH7Cb87K5BwvgGHBSBedESb7LBn6Dt-oEsV4,8863
22
+ stjames/settings.py,sha256=NrNtHq-78BNp4RMP0tsABv4BjS5EscANakCyRdImI-A,8967
22
23
  stjames/solvent.py,sha256=u037tmu-9oa21s-WEDZ7VC7nuNVjkqR2ML4JWjWSME4,1158
23
24
  stjames/status.py,sha256=wTKNcNxStoEHrxxgr_zTyN90NITa3rxMQZzOgrCifEw,332
24
25
  stjames/task.py,sha256=OLINRqe66o7t8arffilwmggrF_7TH0L79u6DhGruxV8,329
@@ -49,8 +50,8 @@ stjames/workflows/scan.py,sha256=cQ29DKlLCH7_6_1TFATnaM3ac9G1asUoRoDDlQYAfG0,860
49
50
  stjames/workflows/spin_states.py,sha256=TXHqB7ClTkkCy1Yfcsv99v2woAhT8oG1-uaF20-oMbQ,4592
50
51
  stjames/workflows/tautomer.py,sha256=owZOOfGlohxlaOG1pGpx7dVPvas8ZEnl_9Ms5F0Kpms,421
51
52
  stjames/workflows/workflow.py,sha256=tIu5naADYgYS7kdW8quvGEWHWosBcrIdcD7L86v-uMQ,976
52
- stjames-0.0.48.dist-info/LICENSE,sha256=i7ehYBS-6gGmbTcgU4mgk28pyOx2kScJ0kcx8n7bWLM,1084
53
- stjames-0.0.48.dist-info/METADATA,sha256=21oLXoox7mtDp4kQfNijfCbF1rYO4mFo9ZU3VG5U51M,1656
54
- stjames-0.0.48.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
55
- stjames-0.0.48.dist-info/top_level.txt,sha256=FYCwxl6quhYOAgG-mnPQcCK8vsVM7B8rIUrO-WrQ_PI,8
56
- stjames-0.0.48.dist-info/RECORD,,
53
+ stjames-0.0.49.dist-info/LICENSE,sha256=i7ehYBS-6gGmbTcgU4mgk28pyOx2kScJ0kcx8n7bWLM,1084
54
+ stjames-0.0.49.dist-info/METADATA,sha256=NFSiP9l2CXcYhOCEGaOQ95nXTxRxwQHSewRZit1FW88,1656
55
+ stjames-0.0.49.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
56
+ stjames-0.0.49.dist-info/top_level.txt,sha256=FYCwxl6quhYOAgG-mnPQcCK8vsVM7B8rIUrO-WrQ_PI,8
57
+ stjames-0.0.49.dist-info/RECORD,,