dimi-ui 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.
dimi/__init__.py ADDED
@@ -0,0 +1,115 @@
1
+ __all__ = [
2
+ "Absolute",
3
+ "Align",
4
+ "Anchor",
5
+ "Axis",
6
+ "Button",
7
+ "ButtonStatus",
8
+ "ChooseAxis",
9
+ "Constraint",
10
+ "Context",
11
+ "ContextOrigin",
12
+ "Corners",
13
+ "Directions",
14
+ "EllipseStyle",
15
+ "Exact",
16
+ "Fill",
17
+ "Font",
18
+ "FontAlign",
19
+ "FontDirection",
20
+ "HoverStatus",
21
+ "Hug",
22
+ "IllegalOperation",
23
+ "ImageFit",
24
+ "ImageRepeat",
25
+ "NinePatch",
26
+ "Percent",
27
+ "Ratio",
28
+ "RectStyle",
29
+ "RenderOrder",
30
+ "RendererCanvas",
31
+ "ScaleQuality",
32
+ "Span",
33
+ "Style",
34
+ "SurfaceCanvas",
35
+ "TextStyle",
36
+ "Transform",
37
+ "Wrap",
38
+ "app",
39
+ "begin",
40
+ "element",
41
+ "ellipse",
42
+ "end",
43
+ "get_current_context",
44
+ "get_interaction",
45
+ "icon",
46
+ "image",
47
+ "push_id",
48
+ "push_style",
49
+ "rect",
50
+ "replace_nested_style",
51
+ "text",
52
+ "typehinting",
53
+ "using",
54
+ "when",
55
+ "widget",
56
+ ]
57
+
58
+ from . import app, icon, typehinting, widget # todo: animation module
59
+ from ._canvas import RendererCanvas, SurfaceCanvas
60
+ from ._context import Context, ContextOrigin
61
+ from ._dimi import (
62
+ begin,
63
+ element,
64
+ ellipse,
65
+ end,
66
+ get_current_context,
67
+ get_interaction,
68
+ image,
69
+ push_id,
70
+ push_style,
71
+ rect,
72
+ replace_nested_style,
73
+ text,
74
+ using,
75
+ when,
76
+ )
77
+ from ._error import IllegalOperation
78
+ from ._interaction import (
79
+ Button,
80
+ ButtonStatus,
81
+ HoverStatus,
82
+ )
83
+ from ._primitives import (
84
+ Absolute,
85
+ Align,
86
+ Anchor,
87
+ Axis,
88
+ ChooseAxis,
89
+ Constraint,
90
+ Corners,
91
+ Directions,
92
+ Exact,
93
+ Fill,
94
+ Font,
95
+ FontAlign,
96
+ FontDirection,
97
+ Hug,
98
+ ImageFit,
99
+ ImageRepeat,
100
+ NinePatch,
101
+ Percent,
102
+ Ratio,
103
+ RenderOrder,
104
+ ScaleQuality,
105
+ Span,
106
+ Transform,
107
+ Wrap,
108
+ )
109
+ from ._style import (
110
+ EllipseStyle,
111
+ RectStyle,
112
+ Style,
113
+ TextStyle,
114
+ )
115
+ from ._version import __version__ as __version__ # todo add "lazy" with Python 3.15