drawlib 0.1.2__tar.gz → 0.1.3__tar.gz
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.
Potentially problematic release.
This version of drawlib might be problematic. Click here for more details.
- {drawlib-0.1.2 → drawlib-0.1.3}/PKG-INFO +11 -3
- {drawlib-0.1.2 → drawlib-0.1.3}/README.md +10 -2
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/__init__.py +1 -1
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/apis.py +7 -6
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/theme.py +904 -1
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/original_arrow.py +1 -1
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/original_polygon.py +7 -7
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/patches.py +2 -2
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/icons/phosphor.py +1 -1
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/icons/util.py +1 -1
- {drawlib-0.1.2 → drawlib-0.1.3}/pyproject.toml +1 -1
- {drawlib-0.1.2 → drawlib-0.1.3}/LICENSE.txt +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/.pylintrc +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/__main__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/apis.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/v0_1/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/v0_1/fonticons/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/v0_1/fonts/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/__main__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/arg_validator.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/command.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/colors.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/dimage.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/fonts.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/model.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/model_validator.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/util.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/base.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/canvas.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/image.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/line.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/text.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/download.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/dutil.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/icons/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/logging.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/settings.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/__init__.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/cycle.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/dsart.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/groups.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/pyramid.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/sourcecode.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/table.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/tree.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/tools.py +0 -0
- {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: drawlib
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: Python drawing library. Illustration as Code.
|
|
5
5
|
Home-page: https://www.drawlib.com
|
|
6
6
|
Author: Yuichi Ito
|
|
@@ -35,6 +35,14 @@ Drawlib offers a range of basic drawing features, including:
|
|
|
35
35
|
|
|
36
36
|
All with a consistent syntax.
|
|
37
37
|
|
|
38
|
+
Here is a brief overview of the library's API design.
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
As you can see, the core drawing components rely on the same canvas and coordinate systems.
|
|
43
|
+
Styling for each component is slightly different but mostly similar.
|
|
44
|
+
If you require advanced use cases, many helper classes and functions can resolve the situation.
|
|
45
|
+
|
|
38
46
|
It's important to note that drawlib is a pure Python library. This means you can leverage the entire Python ecosystem, including:
|
|
39
47
|
|
|
40
48
|
- Accessing library help and code completion via IDEs.
|
|
@@ -51,13 +59,13 @@ Drawlib is optimized for drawing a large number of illustrations with a consiste
|
|
|
51
59
|
You can easily achieve this by creating a theme file (which is simply Python code) and importing it into your illustration codes (also Python code).
|
|
52
60
|
Here is a typical use case of drawlib.
|
|
53
61
|
|
|
54
|
-

|
|
55
63
|
|
|
56
64
|
We have provided examples of building Sphinx-based documentation with numerous drawlib images. If you're interested, please check out our documentation.
|
|
57
65
|
|
|
58
66
|
## Links
|
|
59
67
|
|
|
60
|
-
- [Documentation](https://www.drawlib.com)
|
|
68
|
+
- [Documentation](https://www.drawlib.com/docs/)
|
|
61
69
|
- [PyPI](https://pypi.org/project/drawlib/)
|
|
62
70
|
- [Code repository](https://github.com/yuichi110/drawlib)
|
|
63
71
|
- [Docs repository](https://github.com/yuichi110/drawlib_docs)
|
|
@@ -17,6 +17,14 @@ Drawlib offers a range of basic drawing features, including:
|
|
|
17
17
|
|
|
18
18
|
All with a consistent syntax.
|
|
19
19
|
|
|
20
|
+
Here is a brief overview of the library's API design.
|
|
21
|
+
|
|
22
|
+

|
|
23
|
+
|
|
24
|
+
As you can see, the core drawing components rely on the same canvas and coordinate systems.
|
|
25
|
+
Styling for each component is slightly different but mostly similar.
|
|
26
|
+
If you require advanced use cases, many helper classes and functions can resolve the situation.
|
|
27
|
+
|
|
20
28
|
It's important to note that drawlib is a pure Python library. This means you can leverage the entire Python ecosystem, including:
|
|
21
29
|
|
|
22
30
|
- Accessing library help and code completion via IDEs.
|
|
@@ -33,13 +41,13 @@ Drawlib is optimized for drawing a large number of illustrations with a consiste
|
|
|
33
41
|
You can easily achieve this by creating a theme file (which is simply Python code) and importing it into your illustration codes (also Python code).
|
|
34
42
|
Here is a typical use case of drawlib.
|
|
35
43
|
|
|
36
|
-

|
|
37
45
|
|
|
38
46
|
We have provided examples of building Sphinx-based documentation with numerous drawlib images. If you're interested, please check out our documentation.
|
|
39
47
|
|
|
40
48
|
## Links
|
|
41
49
|
|
|
42
|
-
- [Documentation](https://www.drawlib.com)
|
|
50
|
+
- [Documentation](https://www.drawlib.com/docs/)
|
|
43
51
|
- [PyPI](https://pypi.org/project/drawlib/)
|
|
44
52
|
- [Code repository](https://github.com/yuichi110/drawlib)
|
|
45
53
|
- [Docs repository](https://github.com/yuichi110/drawlib_docs)
|
|
@@ -100,6 +100,13 @@ from drawlib.v0_1.private.core_canvas.canvas import (
|
|
|
100
100
|
chevron,
|
|
101
101
|
)
|
|
102
102
|
|
|
103
|
+
from drawlib.v0_1.private.icons.util import (
|
|
104
|
+
icon,
|
|
105
|
+
)
|
|
106
|
+
from drawlib.v0_1.private.icons import (
|
|
107
|
+
phosphor as icon_phosphor,
|
|
108
|
+
)
|
|
109
|
+
|
|
103
110
|
#################
|
|
104
111
|
### Utilities ###
|
|
105
112
|
#################
|
|
@@ -113,12 +120,6 @@ from drawlib.v0_1.private import (
|
|
|
113
120
|
from drawlib.v0_1.private.settings import (
|
|
114
121
|
dsettings,
|
|
115
122
|
)
|
|
116
|
-
from drawlib.v0_1.private.icons.util import (
|
|
117
|
-
dicon,
|
|
118
|
-
)
|
|
119
|
-
from drawlib.v0_1.private.icons import (
|
|
120
|
-
phosphor as dicon_phosphor,
|
|
121
|
-
)
|
|
122
123
|
from drawlib.v0_1.private.smartarts import (
|
|
123
124
|
dsart,
|
|
124
125
|
)
|