eggpipe 0.3.0__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.
eggpipe/__init__.py ADDED
@@ -0,0 +1,129 @@
1
+ """Eggpipe — public core API."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from eggpipe.config.app_config import AppConfig
6
+ from eggpipe.config.project_config import (
7
+ GeneratorConfig,
8
+ ProjectConfig,
9
+ ProjectConfigLoader,
10
+ SourceConfig,
11
+ )
12
+ from eggpipe.core.composition import Composition, CompositionResult
13
+ from eggpipe.core.document import ImportSpec, ModelDocument
14
+ from eggpipe.core.format_registry import FormatRegistry
15
+ from eggpipe.core.model import (
16
+ PRIMITIVE_TYPES,
17
+ UNSET,
18
+ Constraints,
19
+ CustomType,
20
+ Entity,
21
+ EntityIdentity,
22
+ EnumDef,
23
+ EnumValue,
24
+ ExtendsRef,
25
+ FieldDef,
26
+ FieldIdentity,
27
+ FormatInfo,
28
+ FormatSchema,
29
+ InputSelection,
30
+ MergePolicy,
31
+ ModelSlice,
32
+ SourceModel,
33
+ )
34
+ from eggpipe.core.naming import NamingStyle, transform
35
+ from eggpipe.core.parser import Parser, normalize_version
36
+ from eggpipe.core.provenance import Provenance, git_provenance
37
+ from eggpipe.core.slicing import select_slice
38
+ from eggpipe.core.validator import validate_document, validate_entity_model
39
+ from eggpipe.engine.engine import Engine
40
+ from eggpipe.engine.report import ArtifactReport, EngineReport, GeneratorReport
41
+ from eggpipe.interfaces.diagnostics import Diagnostic, DiagnosticLocation
42
+ from eggpipe.interfaces.formats import EntityModelFormat, FormatPlugin
43
+ from eggpipe.interfaces.generator import (
44
+ Artifact,
45
+ GenerationContext,
46
+ GenerationResult,
47
+ GeneratorInput,
48
+ GeneratorPlugin,
49
+ ImportedFile,
50
+ generator,
51
+ )
52
+ from eggpipe.utils.exceptions import (
53
+ ArtifactPathError,
54
+ ConfigValidationError,
55
+ DocumentError,
56
+ EggpipeError,
57
+ FormatConflictError,
58
+ FormatInheritanceError,
59
+ LockError,
60
+ ManifestError,
61
+ PluginContractError,
62
+ UnknownFormatError,
63
+ )
64
+ from eggpipe.version import __version__
65
+
66
+ __all__ = [
67
+ "PRIMITIVE_TYPES",
68
+ "UNSET",
69
+ "AppConfig",
70
+ "Artifact",
71
+ "ArtifactPathError",
72
+ "ArtifactReport",
73
+ "Composition",
74
+ "CompositionResult",
75
+ "ConfigValidationError",
76
+ "Constraints",
77
+ "CustomType",
78
+ "Diagnostic",
79
+ "DiagnosticLocation",
80
+ "DocumentError",
81
+ "EggpipeError",
82
+ "Engine",
83
+ "EngineReport",
84
+ "Entity",
85
+ "EntityIdentity",
86
+ "EntityModelFormat",
87
+ "EnumDef",
88
+ "EnumValue",
89
+ "ExtendsRef",
90
+ "FieldDef",
91
+ "FieldIdentity",
92
+ "FormatConflictError",
93
+ "FormatInfo",
94
+ "FormatInheritanceError",
95
+ "FormatPlugin",
96
+ "FormatRegistry",
97
+ "FormatSchema",
98
+ "GenerationContext",
99
+ "GenerationResult",
100
+ "GeneratorConfig",
101
+ "GeneratorInput",
102
+ "GeneratorPlugin",
103
+ "GeneratorReport",
104
+ "ImportSpec",
105
+ "ImportedFile",
106
+ "InputSelection",
107
+ "LockError",
108
+ "ManifestError",
109
+ "MergePolicy",
110
+ "ModelDocument",
111
+ "ModelSlice",
112
+ "NamingStyle",
113
+ "Parser",
114
+ "PluginContractError",
115
+ "ProjectConfig",
116
+ "ProjectConfigLoader",
117
+ "Provenance",
118
+ "SourceConfig",
119
+ "SourceModel",
120
+ "UnknownFormatError",
121
+ "__version__",
122
+ "generator",
123
+ "git_provenance",
124
+ "normalize_version",
125
+ "select_slice",
126
+ "transform",
127
+ "validate_document",
128
+ "validate_entity_model",
129
+ ]
File without changes