viewspec 0.1.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.
viewspec/__init__.py ADDED
@@ -0,0 +1,77 @@
1
+ """ViewSpec — Universal UI from semantic data."""
2
+
3
+ from viewspec.types import (
4
+ ActionIntent,
5
+ ASTBundle,
6
+ BindingSpec,
7
+ CompilerDiagnostic,
8
+ CompilerResult,
9
+ CompositionIR,
10
+ GroupSpec,
11
+ IntentBundle,
12
+ IRNode,
13
+ MotifSpec,
14
+ Provenance,
15
+ RegionSpec,
16
+ SemanticNode,
17
+ SemanticSubstrate,
18
+ StyleSpec,
19
+ ViewSpec,
20
+ build_address_index,
21
+ normalize_compiler_result,
22
+ parse_canonical_address,
23
+ resolve_address,
24
+ )
25
+ from viewspec.sdk import (
26
+ ComparisonBuilder,
27
+ DashboardBuilder,
28
+ OutlineBuilder,
29
+ TableBuilder,
30
+ ViewSpecBuilder,
31
+ )
32
+ from viewspec.compiler import (
33
+ compile,
34
+ compile_auto,
35
+ compile_remote,
36
+ CompilerAPIError,
37
+ UnsupportedMotifError,
38
+ )
39
+
40
+ __version__ = "0.1.0"
41
+
42
+ __all__ = [
43
+ # Types
44
+ "ActionIntent",
45
+ "ASTBundle",
46
+ "BindingSpec",
47
+ "CompilerDiagnostic",
48
+ "CompilerResult",
49
+ "CompositionIR",
50
+ "GroupSpec",
51
+ "IntentBundle",
52
+ "IRNode",
53
+ "MotifSpec",
54
+ "Provenance",
55
+ "RegionSpec",
56
+ "SemanticNode",
57
+ "SemanticSubstrate",
58
+ "StyleSpec",
59
+ "ViewSpec",
60
+ # SDK Builders
61
+ "ComparisonBuilder",
62
+ "DashboardBuilder",
63
+ "OutlineBuilder",
64
+ "TableBuilder",
65
+ "ViewSpecBuilder",
66
+ # Compiler
67
+ "compile",
68
+ "compile_auto",
69
+ "compile_remote",
70
+ "CompilerAPIError",
71
+ "UnsupportedMotifError",
72
+ # Utilities
73
+ "build_address_index",
74
+ "normalize_compiler_result",
75
+ "parse_canonical_address",
76
+ "resolve_address",
77
+ ]