mloda-enterprise 0.2.5__py3-none-any.whl → 0.2.7__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.
- mloda/enterprise/compute_frameworks/example/__init__.py +7 -0
- mloda/enterprise/compute_frameworks/example/enterprise_example_compute_framework.py +22 -0
- mloda/enterprise/extenders/example/__init__.py +5 -0
- mloda/enterprise/extenders/example/enterprise_example_extender.py +17 -0
- mloda/enterprise/feature_groups/example/__init__.py +5 -0
- mloda/enterprise/feature_groups/example/enterprise_example_feature_group.py +14 -0
- {mloda_enterprise-0.2.5.dist-info → mloda_enterprise-0.2.7.dist-info}/METADATA +4 -2
- mloda_enterprise-0.2.7.dist-info/RECORD +11 -0
- {mloda_enterprise-0.2.5.dist-info → mloda_enterprise-0.2.7.dist-info}/WHEEL +1 -1
- mloda_enterprise-0.2.7.dist-info/licenses/LICENSE +31 -0
- mloda_enterprise-0.2.7.dist-info/top_level.txt +1 -0
- mloda_enterprise-0.2.5.dist-info/RECORD +0 -4
- mloda_enterprise-0.2.5.dist-info/top_level.txt +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"""mloda-enterprise-compute-frameworks-example: Example enterprise compute framework plugin."""
|
|
2
|
+
|
|
3
|
+
from mloda.enterprise.compute_frameworks.example.enterprise_example_compute_framework import (
|
|
4
|
+
EnterpriseExampleComputeFramework,
|
|
5
|
+
)
|
|
6
|
+
|
|
7
|
+
__all__ = ["EnterpriseExampleComputeFramework"]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""Enterprise Example ComputeFramework implementation."""
|
|
2
|
+
|
|
3
|
+
from typing import Optional, Set
|
|
4
|
+
from uuid import UUID, uuid4
|
|
5
|
+
|
|
6
|
+
from mloda.core.abstract_plugins.components.parallelization_modes import ParallelizationMode
|
|
7
|
+
from mloda.core.abstract_plugins.function_extender import Extender
|
|
8
|
+
from mloda.provider import ComputeFramework
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class EnterpriseExampleComputeFramework(ComputeFramework):
|
|
12
|
+
"""Enterprise Example ComputeFramework for demonstrating plugin structure."""
|
|
13
|
+
|
|
14
|
+
def __init__(
|
|
15
|
+
self,
|
|
16
|
+
mode: ParallelizationMode = ParallelizationMode.SYNC,
|
|
17
|
+
children_if_root: frozenset[UUID] = frozenset(),
|
|
18
|
+
uuid: UUID = uuid4(),
|
|
19
|
+
function_extender: Optional[Set[Extender]] = None,
|
|
20
|
+
) -> None:
|
|
21
|
+
"""Initialize with default values for minimal instantiation."""
|
|
22
|
+
super().__init__(mode, children_if_root, uuid, function_extender)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""Enterprise Example Extender implementation."""
|
|
2
|
+
|
|
3
|
+
from typing import Any, Set
|
|
4
|
+
|
|
5
|
+
from mloda.core.abstract_plugins.function_extender import Extender, ExtenderHook
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class EnterpriseExampleExtender(Extender):
|
|
9
|
+
"""An example enterprise extender that demonstrates the Extender pattern."""
|
|
10
|
+
|
|
11
|
+
def wraps(self) -> Set[ExtenderHook]:
|
|
12
|
+
"""Return the hooks this extender wraps."""
|
|
13
|
+
return set()
|
|
14
|
+
|
|
15
|
+
def __call__(self, func: Any, *args: Any, **kwargs: Any) -> Any:
|
|
16
|
+
"""Execute the wrapped function."""
|
|
17
|
+
return func(*args, **kwargs)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"""Enterprise Example FeatureGroup implementation."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from mloda.provider import FeatureGroup
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class EnterpriseExampleFeatureGroup(FeatureGroup):
|
|
9
|
+
"""Enterprise Example FeatureGroup for demonstrating plugin structure."""
|
|
10
|
+
|
|
11
|
+
@classmethod
|
|
12
|
+
def calculate_feature(cls, data: Any, features: Any) -> Any:
|
|
13
|
+
"""Return dummy data."""
|
|
14
|
+
return {"enterprise_example": "data"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mloda-enterprise
|
|
3
|
-
Version: 0.2.
|
|
4
|
-
Summary: All enterprise plugins for mloda
|
|
3
|
+
Version: 0.2.7
|
|
4
|
+
Summary: All enterprise plugins for mloda (License required: https://mloda.ai/enterprise)
|
|
5
5
|
Author-email: Tom Kaltofen <info@mloda.ai>
|
|
6
6
|
License-Expression: LicenseRef-Proprietary
|
|
7
7
|
Project-URL: Homepage, https://mloda.ai
|
|
8
8
|
Project-URL: Repository, https://github.com/mloda-ai/mloda-registry
|
|
9
9
|
Requires-Python: >=3.10
|
|
10
|
+
License-File: LICENSE
|
|
10
11
|
Requires-Dist: mloda>=0.4.3
|
|
12
|
+
Dynamic: license-file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
mloda/enterprise/compute_frameworks/example/__init__.py,sha256=Z90u2CvunrxgkBRfgH2WjGoM9B0L8sMc1BGL2-amdL0,282
|
|
2
|
+
mloda/enterprise/compute_frameworks/example/enterprise_example_compute_framework.py,sha256=rXuX5VLp3VcMcbo-Ck86Q5x21FRf2UDm9UdY7-rXsNk,871
|
|
3
|
+
mloda/enterprise/extenders/example/__init__.py,sha256=FRvuCP4KJ7gWh8deoPQu6xucTu3JJD34rYBvApjSAqY,186
|
|
4
|
+
mloda/enterprise/extenders/example/enterprise_example_extender.py,sha256=2yMR1dPB_3iWEPwOuY6JEcOmV0-FzryIBSAMO6I0Q9k,554
|
|
5
|
+
mloda/enterprise/feature_groups/example/__init__.py,sha256=FOIUG4bXJiKqWulh_M-uIqCXqkOx-T2yLzjWjRs0yF0,220
|
|
6
|
+
mloda/enterprise/feature_groups/example/enterprise_example_feature_group.py,sha256=6uKqUcLna-JFpYHeRgiHgJDnhDp9Ly_wWCYzvSZ7aqY,412
|
|
7
|
+
mloda_enterprise-0.2.7.dist-info/licenses/LICENSE,sha256=_N_YjAaUtBZ3ewx5sA9r5wJUNumNnyx4sxkCMKs6S28,1195
|
|
8
|
+
mloda_enterprise-0.2.7.dist-info/METADATA,sha256=CPx6ECtmcvhO4phPZZy5B8qc_CI7oV8wzaKlhKVTYbM,440
|
|
9
|
+
mloda_enterprise-0.2.7.dist-info/WHEEL,sha256=SmOxYU7pzNKBqASvQJ7DjX3XGUF92lrGhMb3R6_iiqI,91
|
|
10
|
+
mloda_enterprise-0.2.7.dist-info/top_level.txt,sha256=srwNjqzXpP1WfLRhbrVc9JLt8TdfsaQe-Th7cGcAvYY,6
|
|
11
|
+
mloda_enterprise-0.2.7.dist-info/RECORD,,
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
mloda Enterprise License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026-present mloda-ai
|
|
4
|
+
|
|
5
|
+
SOURCE-AVAILABLE LICENSE
|
|
6
|
+
|
|
7
|
+
The source code in the mloda/enterprise/ directory is made available for viewing
|
|
8
|
+
and evaluation purposes only. This code is NOT open source.
|
|
9
|
+
|
|
10
|
+
USAGE REQUIRES A VALID LICENSE
|
|
11
|
+
|
|
12
|
+
You may:
|
|
13
|
+
- View and read the source code
|
|
14
|
+
- Evaluate the functionality before purchasing
|
|
15
|
+
- Clone this repository and work on other parts of the codebase
|
|
16
|
+
- Run the test suite (including enterprise plugin tests)
|
|
17
|
+
- Run automated security scans
|
|
18
|
+
|
|
19
|
+
You may NOT without a valid license:
|
|
20
|
+
- Use enterprise plugins in any application (development, testing, or production)
|
|
21
|
+
- Distribute enterprise plugins as part of your own product
|
|
22
|
+
|
|
23
|
+
To obtain a license: https://mloda.ai/enterprise
|
|
24
|
+
|
|
25
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
26
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
27
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
28
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
29
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
30
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
31
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mloda
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
mloda_enterprise-0.2.5.dist-info/METADATA,sha256=x4Ws7H1GY-jp0wz-GOzrSNPahITMHdAp4dep1euxw60,348
|
|
2
|
-
mloda_enterprise-0.2.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
3
|
-
mloda_enterprise-0.2.5.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
4
|
-
mloda_enterprise-0.2.5.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|