mat3ra-esse 2024.12.19.post0__py3-none-any.whl → 2025.1.27.post0__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 mat3ra-esse might be problematic. Click here for more details.

Files changed (80) hide show
  1. mat3ra/esse/data/examples.py +1 -1
  2. mat3ra/esse/data/properties.py +2 -2
  3. mat3ra/esse/data/schemas.py +1 -1
  4. mat3ra/esse/models/core/reference/__init__.py +1 -1
  5. mat3ra/esse/models/core/reference/modeling/__init__.py +1 -1
  6. mat3ra/esse/models/core/reference/modeling/exabyte.py +1 -1
  7. mat3ra/esse/models/element.py +4 -4
  8. mat3ra/esse/models/in_memory_entity/base.py +1 -34
  9. mat3ra/esse/models/in_memory_entity/defaultable.py +1 -34
  10. mat3ra/esse/models/in_memory_entity/has_consistency_check_has_metadata_named_defaultable.py +61 -0
  11. mat3ra/esse/models/in_memory_entity/named.py +1 -34
  12. mat3ra/esse/models/in_memory_entity/named_defaultable.py +1 -34
  13. mat3ra/esse/models/in_memory_entity/named_defaultable_has_metadata.py +1 -34
  14. mat3ra/esse/models/in_memory_entity/named_defaultable_runtime_items.py +0 -33
  15. mat3ra/esse/models/job/__init__.py +3 -617
  16. mat3ra/esse/models/job/base.py +1 -33
  17. mat3ra/esse/models/material/__init__.py +14 -14
  18. mat3ra/esse/models/material/consistency_check.py +40 -0
  19. mat3ra/esse/models/project.py +0 -33
  20. mat3ra/esse/models/properties_directory/derived_properties.py +6 -6
  21. mat3ra/esse/models/properties_directory/non_scalar/total_energy_contributions.py +26 -26
  22. mat3ra/esse/models/properties_directory/structural/molecular_pattern.py +4 -4
  23. mat3ra/esse/models/property/base/__init__.py +0 -32
  24. mat3ra/esse/models/property/meta/__init__.py +0 -32
  25. mat3ra/esse/models/property/raw/__init__.py +0 -32
  26. mat3ra/esse/models/software/application.py +1 -34
  27. mat3ra/esse/models/software/executable.py +0 -33
  28. mat3ra/esse/models/software/flavor.py +0 -33
  29. mat3ra/esse/models/software/template.py +0 -33
  30. mat3ra/esse/models/software_directory/ml/unit/execution/__init__.py +3 -488
  31. mat3ra/esse/models/software_directory/ml/unit/execution/evaluate/cross_validate.py +0 -92
  32. mat3ra/esse/models/software_directory/ml/unit/execution/initialize.py +0 -92
  33. mat3ra/esse/models/software_directory/ml/unit/execution/score.py +0 -92
  34. mat3ra/esse/models/software_directory/ml/unit/execution/train.py +0 -92
  35. mat3ra/esse/models/software_directory/ml/unit/processing/__init__.py +0 -52
  36. mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/__init__.py +0 -32
  37. mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/manipulation.py +0 -32
  38. mat3ra/esse/models/software_directory/ml/unit/processing/data_transformation/scale_and_reduce.py +0 -32
  39. mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/__init__.py +0 -32
  40. mat3ra/esse/models/software_directory/ml/unit/processing/feature_selection/filter_based.py +0 -32
  41. mat3ra/esse/models/software_directory/modeling/deepmd.py +1 -33
  42. mat3ra/esse/models/software_directory/modeling/nwchem.py +1 -33
  43. mat3ra/esse/models/software_directory/modeling/unit/execution.py +0 -92
  44. mat3ra/esse/models/software_directory/modeling/vasp.py +1 -33
  45. mat3ra/esse/models/software_directory/scripting/jupyter_lab.py +1 -33
  46. mat3ra/esse/models/software_directory/scripting/python.py +0 -32
  47. mat3ra/esse/models/software_directory/scripting/shell.py +1 -33
  48. mat3ra/esse/models/software_directory/scripting/unit/execution.py +0 -92
  49. mat3ra/esse/models/system/_material.py +1 -1
  50. mat3ra/esse/models/system/_parent_job.py +1 -1
  51. mat3ra/esse/models/system/_project.py +1 -1
  52. mat3ra/esse/models/system/consistency_check.py +1 -7
  53. mat3ra/esse/models/system/creator.py +1 -1
  54. mat3ra/esse/models/system/creator_account.py +1 -1
  55. mat3ra/esse/models/system/description.py +1 -1
  56. mat3ra/esse/models/system/entity_reference.py +1 -1
  57. mat3ra/esse/models/system/has_consistency_check.py +39 -0
  58. mat3ra/esse/models/system/in_set.py +1 -1
  59. mat3ra/esse/models/system/job_extended.py +1 -1
  60. mat3ra/esse/models/system/owner.py +1 -1
  61. mat3ra/esse/models/workflow/__init__.py +2 -596
  62. mat3ra/esse/models/workflow/base.py +0 -33
  63. mat3ra/esse/models/workflow/subworkflow/__init__.py +1 -284
  64. mat3ra/esse/models/workflow/subworkflow/unit.py +0 -212
  65. mat3ra/esse/models/workflow/unit/__init__.py +0 -252
  66. mat3ra/esse/models/workflow/unit/assertion.py +0 -32
  67. mat3ra/esse/models/workflow/unit/assignment.py +0 -32
  68. mat3ra/esse/models/workflow/unit/base.py +0 -32
  69. mat3ra/esse/models/workflow/unit/condition.py +0 -32
  70. mat3ra/esse/models/workflow/unit/execution.py +0 -92
  71. mat3ra/esse/models/workflow/unit/io/__init__.py +0 -32
  72. mat3ra/esse/models/workflow/unit/map.py +0 -32
  73. mat3ra/esse/models/workflow/unit/processing.py +0 -32
  74. mat3ra/esse/models/workflow/unit/reduce.py +0 -32
  75. mat3ra/esse/models/workflow/unit/subworkflow.py +0 -32
  76. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/METADATA +9 -9
  77. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/RECORD +80 -77
  78. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/WHEEL +1 -1
  79. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/LICENSE.md +0 -0
  80. {mat3ra_esse-2024.12.19.post0.dist-info → mat3ra_esse-2025.1.27.post0.dist-info}/top_level.txt +0 -0
@@ -15,7 +15,7 @@ class Type(Enum):
15
15
 
16
16
 
17
17
  class EntityReferenceSchema(BaseModel):
18
- field_id: Optional[str] = Field(None, alias="_id")
18
+ field_id: str = Field(..., alias="_id")
19
19
  """
20
20
  entity identity
21
21
  """
@@ -15,7 +15,7 @@ class Type(Enum):
15
15
 
16
16
 
17
17
  class EntityReferenceSchema(BaseModel):
18
- field_id: Optional[str] = Field(None, alias="_id")
18
+ field_id: str = Field(..., alias="_id")
19
19
  """
20
20
  entity identity
21
21
  """
@@ -15,7 +15,7 @@ class Type(Enum):
15
15
 
16
16
 
17
17
  class EntityReferenceSchema(BaseModel):
18
- field_id: Optional[str] = Field(None, alias="_id")
18
+ field_id: str = Field(..., alias="_id")
19
19
  """
20
20
  entity identity
21
21
  """
@@ -34,16 +34,16 @@ class AtomicRadius(BaseModel):
34
34
  value: float
35
35
 
36
36
 
37
- class Name40(Enum):
37
+ class Name24(Enum):
38
38
  electronegativity = "electronegativity"
39
39
 
40
40
 
41
41
  class Electronegativity(BaseModel):
42
- name: Optional[Name40] = None
42
+ name: Optional[Name24] = None
43
43
  value: float
44
44
 
45
45
 
46
- class Name41(Enum):
46
+ class Name25(Enum):
47
47
  ionization_potential = "ionization_potential"
48
48
 
49
49
 
@@ -58,7 +58,7 @@ class Units20(Enum):
58
58
 
59
59
 
60
60
  class IonizationPotential(BaseModel):
61
- name: Optional[Name41] = None
61
+ name: Optional[Name25] = None
62
62
  units: Optional[Units20] = None
63
63
  value: float
64
64
 
@@ -4,43 +4,11 @@
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from enum import Enum
8
- from typing import List, Optional
7
+ from typing import Optional
9
8
 
10
9
  from pydantic import BaseModel, Field
11
10
 
12
11
 
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
12
  class BaseInMemoryEntitySchema(BaseModel):
45
13
  field_id: Optional[str] = Field(None, alias="_id")
46
14
  """
@@ -51,7 +19,6 @@ class BaseInMemoryEntitySchema(BaseModel):
51
19
  entity slug
52
20
  """
53
21
  systemName: Optional[str] = None
54
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
55
22
  schemaVersion: Optional[str] = "2022.8.16"
56
23
  """
57
24
  entity's schema version. Used to distinct between different schemas.
@@ -4,43 +4,11 @@
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from enum import Enum
8
- from typing import List, Optional
7
+ from typing import Optional
9
8
 
10
9
  from pydantic import BaseModel, Field
11
10
 
12
11
 
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
12
  class DefaultableInMemoryEntitySchema(BaseModel):
45
13
  field_id: Optional[str] = Field(None, alias="_id")
46
14
  """
@@ -51,7 +19,6 @@ class DefaultableInMemoryEntitySchema(BaseModel):
51
19
  entity slug
52
20
  """
53
21
  systemName: Optional[str] = None
54
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
55
22
  schemaVersion: Optional[str] = "2022.8.16"
56
23
  """
57
24
  entity's schema version. Used to distinct between different schemas.
@@ -0,0 +1,61 @@
1
+ # generated by datamodel-codegen:
2
+ # filename: in_memory_entity/has_consistency_check_has_metadata_named_defaultable.json
3
+ # version: 0.25.5
4
+
5
+ from __future__ import annotations
6
+
7
+ from enum import Enum
8
+ from typing import Any, Dict, List, Optional
9
+
10
+ from pydantic import BaseModel, Field
11
+
12
+
13
+ class Severity(Enum):
14
+ info = "info"
15
+ warning = "warning"
16
+ error = "error"
17
+
18
+
19
+ class ConsistencyCheck(BaseModel):
20
+ key: str
21
+ """
22
+ Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
23
+ """
24
+ name: str
25
+ """
26
+ Name of the consistency check that is performed, which is listed in an enum.
27
+ """
28
+ severity: Severity
29
+ """
30
+ Severity level of the problem, which is used in UI to differentiate.
31
+ """
32
+ message: str
33
+ """
34
+ Message generated by the consistency check describing the problem.
35
+ """
36
+
37
+
38
+ class HasConsistencyCheckHasMetadataNamedDefaultableInMemoryEntitySchema(BaseModel):
39
+ field_id: Optional[str] = Field(None, alias="_id")
40
+ """
41
+ entity identity
42
+ """
43
+ slug: Optional[str] = None
44
+ """
45
+ entity slug
46
+ """
47
+ systemName: Optional[str] = None
48
+ schemaVersion: Optional[str] = "2022.8.16"
49
+ """
50
+ entity's schema version. Used to distinct between different schemas.
51
+ """
52
+ name: Optional[str] = None
53
+ """
54
+ entity name
55
+ """
56
+ isDefault: Optional[bool] = False
57
+ """
58
+ Identifies that entity is defaultable
59
+ """
60
+ metadata: Optional[Dict[str, Any]] = None
61
+ consistencyChecks: Optional[List[ConsistencyCheck]] = None
@@ -4,43 +4,11 @@
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from enum import Enum
8
- from typing import List, Optional
7
+ from typing import Optional
9
8
 
10
9
  from pydantic import BaseModel, Field
11
10
 
12
11
 
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
12
  class NamedInMemoryEntitySchema(BaseModel):
45
13
  field_id: Optional[str] = Field(None, alias="_id")
46
14
  """
@@ -51,7 +19,6 @@ class NamedInMemoryEntitySchema(BaseModel):
51
19
  entity slug
52
20
  """
53
21
  systemName: Optional[str] = None
54
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
55
22
  schemaVersion: Optional[str] = "2022.8.16"
56
23
  """
57
24
  entity's schema version. Used to distinct between different schemas.
@@ -4,43 +4,11 @@
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from enum import Enum
8
- from typing import List, Optional
7
+ from typing import Optional
9
8
 
10
9
  from pydantic import BaseModel, Field
11
10
 
12
11
 
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
12
  class NamedDefaultableInMemoryEntitySchema(BaseModel):
45
13
  field_id: Optional[str] = Field(None, alias="_id")
46
14
  """
@@ -51,7 +19,6 @@ class NamedDefaultableInMemoryEntitySchema(BaseModel):
51
19
  entity slug
52
20
  """
53
21
  systemName: Optional[str] = None
54
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
55
22
  schemaVersion: Optional[str] = "2022.8.16"
56
23
  """
57
24
  entity's schema version. Used to distinct between different schemas.
@@ -4,43 +4,11 @@
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from enum import Enum
8
- from typing import Any, Dict, List, Optional
7
+ from typing import Any, Dict, Optional
9
8
 
10
9
  from pydantic import BaseModel, Field
11
10
 
12
11
 
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
12
  class NamedDefaultableHasMetadataInMemoryEntitySchema(BaseModel):
45
13
  field_id: Optional[str] = Field(None, alias="_id")
46
14
  """
@@ -51,7 +19,6 @@ class NamedDefaultableHasMetadataInMemoryEntitySchema(BaseModel):
51
19
  entity slug
52
20
  """
53
21
  systemName: Optional[str] = None
54
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
55
22
  schemaVersion: Optional[str] = "2022.8.16"
56
23
  """
57
24
  entity's schema version. Used to distinct between different schemas.
@@ -4,43 +4,11 @@
4
4
 
5
5
  from __future__ import annotations
6
6
 
7
- from enum import Enum
8
7
  from typing import List, Optional, Union
9
8
 
10
9
  from pydantic import BaseModel, Field
11
10
 
12
11
 
13
- class Name(Enum):
14
- default = "default"
15
- atomsTooClose = "atomsTooClose"
16
- atomsOverlap = "atomsOverlap"
17
-
18
-
19
- class Severity(Enum):
20
- info = "info"
21
- warning = "warning"
22
- error = "error"
23
-
24
-
25
- class ConsistencyCheck(BaseModel):
26
- key: str
27
- """
28
- Key of the property of the entity on which the consistency check is performed in Mongo dot notation, e.g. 'basis.coordinates.1'
29
- """
30
- name: Name
31
- """
32
- Name of the consistency check that is performed, which is listed in an enum.
33
- """
34
- severity: Severity
35
- """
36
- Severity level of the problem, which is used in UI to differentiate.
37
- """
38
- message: str
39
- """
40
- Message generated by the consistency check describing the problem.
41
- """
42
-
43
-
44
12
  class NameResultSchema(BaseModel):
45
13
  name: str
46
14
  """
@@ -58,7 +26,6 @@ class NamedDefaultableRuntimeItemsInMemoryEntitySchema(BaseModel):
58
26
  entity slug
59
27
  """
60
28
  systemName: Optional[str] = None
61
- consistencyChecks: Optional[List[ConsistencyCheck]] = None
62
29
  schemaVersion: Optional[str] = "2022.8.16"
63
30
  """
64
31
  entity's schema version. Used to distinct between different schemas.