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.

Files changed (52) hide show
  1. {drawlib-0.1.2 → drawlib-0.1.3}/PKG-INFO +11 -3
  2. {drawlib-0.1.2 → drawlib-0.1.3}/README.md +10 -2
  3. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/__init__.py +1 -1
  4. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/apis.py +7 -6
  5. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/theme.py +904 -1
  6. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/original_arrow.py +1 -1
  7. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/original_polygon.py +7 -7
  8. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/patches.py +2 -2
  9. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/icons/phosphor.py +1 -1
  10. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/icons/util.py +1 -1
  11. {drawlib-0.1.2 → drawlib-0.1.3}/pyproject.toml +1 -1
  12. {drawlib-0.1.2 → drawlib-0.1.3}/LICENSE.txt +0 -0
  13. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/.pylintrc +0 -0
  14. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/__main__.py +0 -0
  15. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/apis.py +0 -0
  16. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/__init__.py +0 -0
  17. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/v0_1/__init__.py +0 -0
  18. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/v0_1/fonticons/__init__.py +0 -0
  19. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/assets/v0_1/fonts/__init__.py +0 -0
  20. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/__init__.py +0 -0
  21. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/__main__.py +0 -0
  22. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/__init__.py +0 -0
  23. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/arg_validator.py +0 -0
  24. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/command.py +0 -0
  25. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/__init__.py +0 -0
  26. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/colors.py +0 -0
  27. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/dimage.py +0 -0
  28. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/fonts.py +0 -0
  29. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/model.py +0 -0
  30. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/model_validator.py +0 -0
  31. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core/util.py +0 -0
  32. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/__init__.py +0 -0
  33. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/base.py +0 -0
  34. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/canvas.py +0 -0
  35. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/image.py +0 -0
  36. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/line.py +0 -0
  37. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/core_canvas/text.py +0 -0
  38. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/download.py +0 -0
  39. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/dutil.py +0 -0
  40. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/icons/__init__.py +0 -0
  41. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/logging.py +0 -0
  42. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/settings.py +0 -0
  43. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/__init__.py +0 -0
  44. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/cycle.py +0 -0
  45. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/dsart.py +0 -0
  46. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/groups.py +0 -0
  47. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/pyramid.py +0 -0
  48. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/sourcecode.py +0 -0
  49. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/table.py +0 -0
  50. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/smartarts/tree.py +0 -0
  51. {drawlib-0.1.2 → drawlib-0.1.3}/drawlib/v0_1/private/tools.py +0 -0
  52. {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.2
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
+ ![Example](https://www.drawlib.com/readme_images/image2.png)
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
- ![Use Case](https://www.drawlib.com/readme_images/image2.png)
62
+ ![Use Case](https://www.drawlib.com/readme_images/image3.png)
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
+ ![Example](https://www.drawlib.com/readme_images/image2.png)
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
- ![Use Case](https://www.drawlib.com/readme_images/image2.png)
44
+ ![Use Case](https://www.drawlib.com/readme_images/image3.png)
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)
@@ -24,7 +24,7 @@ subpackages contains latest and old implementations.
24
24
  from typing import Final
25
25
 
26
26
  # please update here when you release new version
27
- VERSION = "0.1.2"
27
+ VERSION = "0.1.3"
28
28
 
29
29
  # might not be changed
30
30
  LIB_NAME: Final[str] = "drawlib"
@@ -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
  )