eazydraw 1.0.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.
eazydraw/__init__.py ADDED
@@ -0,0 +1,62 @@
1
+ """
2
+ eazydraw — Python client + models for the EazyDraw Automation API.
3
+
4
+ from eazydraw import EazyDraw, Graphic
5
+ ed = EazyDraw(token="...")
6
+ g = Graphic.model_validate(ed.graphic(d, l, g_uuid))
7
+
8
+ The HTTP layer (``EazyDraw``, ``EazyDrawError``) lives in ``eazydraw.client``;
9
+ the typed JSON shapes in ``eazydraw.models``. The client returns raw dicts —
10
+ the models are an optional typed layer over them (see models.py).
11
+ """
12
+
13
+ from .client import EazyDraw, EazyDrawError, DEFAULT_HOST, DEFAULT_PORT
14
+ from .models import (
15
+ Status,
16
+ Rect,
17
+ Size,
18
+ Locks,
19
+ Drawing,
20
+ Library,
21
+ Layer,
22
+ Graphic,
23
+ Element,
24
+ TextLayout,
25
+ TextBase,
26
+ Text,
27
+ Annotation,
28
+ )
29
+ from .semantic import (
30
+ Semantic,
31
+ Located,
32
+ SemanticError,
33
+ NoMatch,
34
+ AmbiguousMatch,
35
+ )
36
+
37
+ __version__ = "1.0.0"
38
+
39
+ __all__ = [
40
+ "EazyDraw",
41
+ "EazyDrawError",
42
+ "DEFAULT_HOST",
43
+ "DEFAULT_PORT",
44
+ "Status",
45
+ "Rect",
46
+ "Size",
47
+ "Locks",
48
+ "Drawing",
49
+ "Library",
50
+ "Layer",
51
+ "Graphic",
52
+ "Element",
53
+ "TextLayout",
54
+ "TextBase",
55
+ "Text",
56
+ "Annotation",
57
+ "Semantic",
58
+ "Located",
59
+ "SemanticError",
60
+ "NoMatch",
61
+ "AmbiguousMatch",
62
+ ]