mxm-types 0.2.2__tar.gz → 0.3.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mxm-types
3
- Version: 0.2.2
3
+ Version: 0.3.1
4
4
  Summary: Shared foundational types and representation adapters for Money Ex Machina.
5
5
  License: MIT
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "mxm-types"
3
- version = "0.2.2"
3
+ version = "0.3.1"
4
4
  description = "Shared foundational types and representation adapters for Money Ex Machina."
5
5
  authors = ["mxm <contact@moneyexmachina.com>"]
6
6
  license = "MIT"
@@ -1,18 +1,28 @@
1
1
  """
2
- Shared foundational types and representation adapters for Money Ex Machina.
2
+ Shared foundational types and vocabulary for Money Ex Machina.
3
3
 
4
4
  This package provides:
5
5
 
6
6
  - general shared aliases and micro-protocols
7
7
  - the canonical MXM timestamp substrate
8
8
  - explicit pandas boundary adapters for the canonical timestamp model
9
+ - shared runtime and infrastructure vocabulary
9
10
 
10
- The package is intentionally small, stable, and representation-focused.
11
- Domain semantics and storage-specific adapters belong elsewhere.
11
+ The package is intentionally small, stable, and dependency-light.
12
+
13
+ mxm-types owns common representations and cross-package concepts that
14
+ must be shared consistently throughout the MXM ecosystem.
15
+
16
+ Business logic, storage adapters, configuration resolution, secret
17
+ management, and runtime construction belong elsewhere.
12
18
  """
13
19
 
14
20
  from __future__ import annotations
15
21
 
22
+ from mxm.types.runtime_identity import (
23
+ RuntimeIdentity,
24
+ )
25
+
16
26
  from .general import (
17
27
  CLIFormatOptions,
18
28
  HeadersLike,
@@ -71,6 +81,7 @@ __all__ = [
71
81
  "JSONScalar",
72
82
  "JSONValue",
73
83
  "KVReadable",
84
+ "RuntimeIdentity",
74
85
  "StrPath",
75
86
  "TSNSArray",
76
87
  "TSNSScalar",
@@ -0,0 +1,10 @@
1
+ from dataclasses import dataclass
2
+
3
+
4
+ @dataclass(frozen=True, slots=True)
5
+ class RuntimeIdentity:
6
+ app: str
7
+ environment: str
8
+ machine: str
9
+ substrate: str
10
+ role: str
File without changes
File without changes