svg-ultralight 0.29.0__py3-none-any.whl → 0.30.1__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.

Potentially problematic release.


This version of svg-ultralight might be problematic. Click here for more details.

@@ -10,7 +10,7 @@ from svg_ultralight.bounding_boxes.bound_helpers import (
10
10
  new_element_union,
11
11
  )
12
12
  from svg_ultralight.bounding_boxes.supports_bounds import SupportsBounds
13
- from svg_ultralight.bounding_boxes.type_bound_confederation import BoundConfederation
13
+ from svg_ultralight.bounding_boxes.type_bound_collection import BoundCollection
14
14
  from svg_ultralight.bounding_boxes.type_bound_element import BoundElement
15
15
  from svg_ultralight.bounding_boxes.type_bounding_box import BoundingBox
16
16
  from svg_ultralight.bounding_boxes.type_padded_text import PaddedText
@@ -41,7 +41,7 @@ from svg_ultralight.string_conversion import (
41
41
  from svg_ultralight.transformations import transform_element
42
42
 
43
43
  __all__ = [
44
- "BoundConfederation",
44
+ "BoundCollection",
45
45
  "BoundElement",
46
46
  "BoundingBox",
47
47
  "NSMAP",
@@ -12,18 +12,18 @@ from typing import TYPE_CHECKING
12
12
  from lxml.etree import _Element as EtreeElement # type: ignore
13
13
 
14
14
  from svg_ultralight.bounding_boxes.bound_helpers import new_bbox_union
15
- from svg_ultralight.bounding_boxes.supports_bounds import SupportsBounds
16
15
  from svg_ultralight.bounding_boxes.type_bounding_box import HasBoundingBox
17
16
  from svg_ultralight.transformations import new_transformation_matrix, transform_element
18
17
 
19
18
  if TYPE_CHECKING:
19
+ from svg_ultralight.bounding_boxes.supports_bounds import SupportsBounds
20
20
  from svg_ultralight.bounding_boxes.type_bounding_box import BoundingBox
21
21
 
22
22
  _Matrix = tuple[float, float, float, float, float, float]
23
23
 
24
24
 
25
25
  @dataclasses.dataclass
26
- class BoundConfederation(HasBoundingBox):
26
+ class BoundCollection(HasBoundingBox):
27
27
  """A class to hold a list of bound elements and transform them together.
28
28
 
29
29
  This will transform the individual elements in place.
@@ -33,7 +33,7 @@ class BoundConfederation(HasBoundingBox):
33
33
  bbox: BoundingBox = dataclasses.field(init=False)
34
34
 
35
35
  def __init__(self, *blems: SupportsBounds | EtreeElement) -> None:
36
- """Initialize the bound confederation.
36
+ """Initialize the bound collection.
37
37
 
38
38
  :param blems: bound elements to be transformed together
39
39
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: svg-ultralight
3
- Version: 0.29.0
3
+ Version: 0.30.1
4
4
  Summary: a sensible way to create svg files with Python
5
5
  Author-email: Shay Hill <shay_public@hotmail.com>
6
6
  License: MIT
@@ -1,4 +1,4 @@
1
- svg_ultralight/__init__.py,sha256=b0cB7zUGr7o3XaKatJeVyHpJLfF26aXsSYZJlVnvBFQ,2079
1
+ svg_ultralight/__init__.py,sha256=5lSOJM2dshB_cG3uNZbCp0q114mJ6wgJ59Kg4TYiiBU,2070
2
2
  svg_ultralight/animate.py,sha256=fE-zRU_uFrZIL9W78fcGz7qmrts8fz5UoWEy7b4xb44,1144
3
3
  svg_ultralight/inkscape.py,sha256=M8yTxXOu4NlXnhsMycvEJiIDpnDeiZ_bZakJBM38ZoU,9152
4
4
  svg_ultralight/layout.py,sha256=TTETT_8WLBXnQxDGXdAeczCFN5pFo5kKY3Q6zv4FPX4,12238
@@ -14,7 +14,7 @@ svg_ultralight/unit_conversion.py,sha256=g07nhzXdjPvGcJmkhLdFbeDLrSmbI8uFoVgPo7G
14
14
  svg_ultralight/bounding_boxes/__init__.py,sha256=qUEn3r4s-1QNHaguhWhhaNfdP4tl_B6YEqxtiTFuzhQ,78
15
15
  svg_ultralight/bounding_boxes/bound_helpers.py,sha256=YMClhdekeYbzD_ijXDAer-H3moWKN3lUNnZs1UNFFKc,3458
16
16
  svg_ultralight/bounding_boxes/supports_bounds.py,sha256=fbHV6mGdeIVV3lS15vBKSrHiHKR7DMg4K5X__4LLmCE,4569
17
- svg_ultralight/bounding_boxes/type_bound_confederation.py,sha256=PAUa8LSfyw0v2eq8EU2B_V5dlsl7ddrrPIsD-5fWU8U,2602
17
+ svg_ultralight/bounding_boxes/type_bound_collection.py,sha256=b89TM2UsdaeApyjTQeMbx_FG_WcCiLAImEiHiZ6EWPI,2600
18
18
  svg_ultralight/bounding_boxes/type_bound_element.py,sha256=9RdxH8osOlAvPdWR0Ww9NsasHLPYFDs-MbydoV48x4E,2239
19
19
  svg_ultralight/bounding_boxes/type_bounding_box.py,sha256=cDrMp6uwaA--KJIQS2puG10qh8n3TBmiscg-cfk1f3w,16149
20
20
  svg_ultralight/bounding_boxes/type_padded_text.py,sha256=QA6PfeO_sQYc5pEXuyfyQ3lRUcZAc4B2BthWXpdt3qQ,14848
@@ -22,7 +22,7 @@ svg_ultralight/constructors/__init__.py,sha256=YcnO0iBQc19aL8Iemw0Y452MBMBIT2AN5
22
22
  svg_ultralight/constructors/new_element.py,sha256=VtMz9sPn9rMk6rui5Poysy3vezlOaS-tGIcGbu-SXmY,3406
23
23
  svg_ultralight/strings/__init__.py,sha256=Zalrf-ThFz7b7xKELx5lb2gOlBgV-6jk_k_EeSdVCVk,295
24
24
  svg_ultralight/strings/svg_strings.py,sha256=RYKMxOHq9abbZyGcFqsElBGLrBX-EjjNxln3s_ibi30,1296
25
- svg_ultralight-0.29.0.dist-info/METADATA,sha256=hLjRc-xXrwqasclTCthb-BuYGgjPRxMtXwQ-zSAh7qY,8871
26
- svg_ultralight-0.29.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
27
- svg_ultralight-0.29.0.dist-info/top_level.txt,sha256=se-6yqM_0Yg5orJKvKWdjQZ4iR4G_EjhL7oRgju-fdY,15
28
- svg_ultralight-0.29.0.dist-info/RECORD,,
25
+ svg_ultralight-0.30.1.dist-info/METADATA,sha256=j2bSJ8HE0Y3JZv7S5ur92kpmbMd7FVeDe56aB9o3VTU,8871
26
+ svg_ultralight-0.30.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
27
+ svg_ultralight-0.30.1.dist-info/top_level.txt,sha256=se-6yqM_0Yg5orJKvKWdjQZ4iR4G_EjhL7oRgju-fdY,15
28
+ svg_ultralight-0.30.1.dist-info/RECORD,,