stjames 0.0.48__tar.gz → 0.0.49__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.

Potentially problematic release.


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

Files changed (67) hide show
  1. {stjames-0.0.48/stjames.egg-info → stjames-0.0.49}/PKG-INFO +1 -1
  2. {stjames-0.0.48 → stjames-0.0.49}/pyproject.toml +1 -1
  3. {stjames-0.0.48 → stjames-0.0.49}/stjames/__init__.py +1 -0
  4. stjames-0.0.49/stjames/compute_settings.py +10 -0
  5. {stjames-0.0.48 → stjames-0.0.49}/stjames/settings.py +2 -0
  6. {stjames-0.0.48 → stjames-0.0.49/stjames.egg-info}/PKG-INFO +1 -1
  7. {stjames-0.0.48 → stjames-0.0.49}/stjames.egg-info/SOURCES.txt +1 -0
  8. {stjames-0.0.48 → stjames-0.0.49}/LICENSE +0 -0
  9. {stjames-0.0.48 → stjames-0.0.49}/README.md +0 -0
  10. {stjames-0.0.48 → stjames-0.0.49}/setup.cfg +0 -0
  11. {stjames-0.0.48 → stjames-0.0.49}/stjames/_deprecated_solvent_settings.py +0 -0
  12. {stjames-0.0.48 → stjames-0.0.49}/stjames/atom.py +0 -0
  13. {stjames-0.0.48 → stjames-0.0.49}/stjames/base.py +0 -0
  14. {stjames-0.0.48 → stjames-0.0.49}/stjames/basis_set.py +0 -0
  15. {stjames-0.0.48 → stjames-0.0.49}/stjames/calculation.py +0 -0
  16. {stjames-0.0.48 → stjames-0.0.49}/stjames/constraint.py +0 -0
  17. {stjames-0.0.48 → stjames-0.0.49}/stjames/correction.py +0 -0
  18. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/__init__.py +0 -0
  19. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/bragg_radii.json +0 -0
  20. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/elements.py +0 -0
  21. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/isotopes.json +0 -0
  22. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/nist_isotopes.json +0 -0
  23. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/read_nist_isotopes.py +0 -0
  24. {stjames-0.0.48 → stjames-0.0.49}/stjames/data/symbol_element.json +0 -0
  25. {stjames-0.0.48 → stjames-0.0.49}/stjames/diis_settings.py +0 -0
  26. {stjames-0.0.48 → stjames-0.0.49}/stjames/grid_settings.py +0 -0
  27. {stjames-0.0.48 → stjames-0.0.49}/stjames/int_settings.py +0 -0
  28. {stjames-0.0.48 → stjames-0.0.49}/stjames/message.py +0 -0
  29. {stjames-0.0.48 → stjames-0.0.49}/stjames/method.py +0 -0
  30. {stjames-0.0.48 → stjames-0.0.49}/stjames/mode.py +0 -0
  31. {stjames-0.0.48 → stjames-0.0.49}/stjames/molecule.py +0 -0
  32. {stjames-0.0.48 → stjames-0.0.49}/stjames/opt_settings.py +0 -0
  33. {stjames-0.0.48 → stjames-0.0.49}/stjames/pdb.py +0 -0
  34. {stjames-0.0.48 → stjames-0.0.49}/stjames/periodic_cell.py +0 -0
  35. {stjames-0.0.48 → stjames-0.0.49}/stjames/py.typed +0 -0
  36. {stjames-0.0.48 → stjames-0.0.49}/stjames/scf_settings.py +0 -0
  37. {stjames-0.0.48 → stjames-0.0.49}/stjames/solvent.py +0 -0
  38. {stjames-0.0.48 → stjames-0.0.49}/stjames/status.py +0 -0
  39. {stjames-0.0.48 → stjames-0.0.49}/stjames/task.py +0 -0
  40. {stjames-0.0.48 → stjames-0.0.49}/stjames/thermochem_settings.py +0 -0
  41. {stjames-0.0.48 → stjames-0.0.49}/stjames/types.py +0 -0
  42. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/__init__.py +0 -0
  43. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/admet.py +0 -0
  44. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/basic_calculation.py +0 -0
  45. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/bde.py +0 -0
  46. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/conformer.py +0 -0
  47. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/conformer_search.py +0 -0
  48. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/descriptors.py +0 -0
  49. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/electronic_properties.py +0 -0
  50. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/fukui.py +0 -0
  51. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/hydrogen_bond_basicity.py +0 -0
  52. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/molecular_dynamics.py +0 -0
  53. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/multistage_opt.py +0 -0
  54. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/pka.py +0 -0
  55. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/redox_potential.py +0 -0
  56. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/scan.py +0 -0
  57. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/spin_states.py +0 -0
  58. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/tautomer.py +0 -0
  59. {stjames-0.0.48 → stjames-0.0.49}/stjames/workflows/workflow.py +0 -0
  60. {stjames-0.0.48 → stjames-0.0.49}/stjames.egg-info/dependency_links.txt +0 -0
  61. {stjames-0.0.48 → stjames-0.0.49}/stjames.egg-info/requires.txt +0 -0
  62. {stjames-0.0.48 → stjames-0.0.49}/stjames.egg-info/top_level.txt +0 -0
  63. {stjames-0.0.48 → stjames-0.0.49}/tests/test_constraints.py +0 -0
  64. {stjames-0.0.48 → stjames-0.0.49}/tests/test_from_extxyz.py +0 -0
  65. {stjames-0.0.48 → stjames-0.0.49}/tests/test_molecule.py +0 -0
  66. {stjames-0.0.48 → stjames-0.0.49}/tests/test_pdb.py +0 -0
  67. {stjames-0.0.48 → stjames-0.0.49}/tests/test_settings.py +0 -0
@@ -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,6 +1,6 @@
1
1
  [project]
2
2
  name = "stjames"
3
- version = "0.0.48"
3
+ version = "0.0.49"
4
4
  description = "standardized JSON atom/molecule encoding scheme"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
@@ -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
@@ -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
@@ -7,6 +7,7 @@ stjames/atom.py
7
7
  stjames/base.py
8
8
  stjames/basis_set.py
9
9
  stjames/calculation.py
10
+ stjames/compute_settings.py
10
11
  stjames/constraint.py
11
12
  stjames/correction.py
12
13
  stjames/diis_settings.py
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