kicad-python 0.9.0__py3-none-any.whl → 0.9.2__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.
- {kicad_python-0.9.0.dist-info → kicad_python-0.9.2.dist-info}/METADATA +11 -1
- {kicad_python-0.9.0.dist-info → kicad_python-0.9.2.dist-info}/RECORD +9 -9
- kipy/board_types.py +7 -3
- kipy/common_types.py +11 -2
- kipy/errors.py +1 -1
- {kicad_python-0.9.0.dist-info → kicad_python-0.9.2.dist-info}/WHEEL +0 -0
- {kicad_python-0.9.0.dist-info → kicad_python-0.9.2.dist-info}/entry_points.txt +0 -0
- {kicad_python-0.9.0.dist-info → kicad_python-0.9.2.dist-info}/licenses/LICENSE +0 -0
- {kicad_python-0.9.0.dist-info → kicad_python-0.9.2.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: kicad-python
|
|
3
|
-
Version: 0.9.
|
|
3
|
+
Version: 0.9.2
|
|
4
4
|
Summary: KiCad API Python Bindings
|
|
5
5
|
Home-page: https://kicad.org/
|
|
6
6
|
Author: The KiCad Development Team
|
|
@@ -108,6 +108,16 @@ plugins, copy or symlink them into the appropriate plugins path in order for KiC
|
|
|
108
108
|
|
|
109
109
|
## Release History
|
|
110
110
|
|
|
111
|
+
### 0.9.2 (November 26, 2026)
|
|
112
|
+
|
|
113
|
+
- Fix side-effect of 0.9.1 bugfix causing issues modifying shapes
|
|
114
|
+
- Backport ordering fix when constructing `Footprint` from a proto
|
|
115
|
+
- Fix typo in `ApiError.raw_message` causing infinite recursion
|
|
116
|
+
|
|
117
|
+
### 0.9.1 (November 26, 2026)
|
|
118
|
+
|
|
119
|
+
- Fix bug introduced in 0.9.0 causing failure to iterate over `GraphicShape` types
|
|
120
|
+
|
|
111
121
|
### 0.9.0 (November 24, 2026)
|
|
112
122
|
|
|
113
123
|
- Add support for `Table`, `TableCell`, and `ReferencePoint` board objects
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
kicad_python-0.9.
|
|
1
|
+
kicad_python-0.9.2.dist-info/licenses/LICENSE,sha256=uLCnaqTPLLHw0RomsKzLniWF_FJt_Cr9DZLnk7PIUrs,1063
|
|
2
2
|
kipy/__init__.py,sha256=7TeXOZTAWiOgEOGZTIRGiCEd7NPPsun5CN5P-Mvffgw,1150
|
|
3
3
|
kipy/board.py,sha256=kCUr3KTMujMiB1uEciFqrhtVmErw980vCwLi4Dwde6c,56764
|
|
4
4
|
kipy/board_jobs.py,sha256=N3vFAXnKrZFnjO5PFEwIpdz0x5sqq76oypJjP-yA2HQ,51727
|
|
5
5
|
kipy/board_rules.py,sha256=uE3DcPE8PZ2SQrUgoPWsR-AiLs71yGwYva2xMtXnZts,35154
|
|
6
|
-
kipy/board_types.py,sha256=
|
|
6
|
+
kipy/board_types.py,sha256=ddkpVPXfKpK2orgM3foYZ0vF8eNmsNM9FlSR19GfT7Y,137057
|
|
7
7
|
kipy/client.py,sha256=uz9VBzdgYNT725WpXfwUdHLPYa14LohjyhMcLNSZYZ4,3700
|
|
8
|
-
kipy/common_types.py,sha256=
|
|
8
|
+
kipy/common_types.py,sha256=25h-C_iZmo83Hm-xWHKzBZeSbIodC7h7JtXkGEzmdG4,31795
|
|
9
9
|
kipy/editor.py,sha256=yhJgllNli4_B_w2wS1O0FsFfhO_eKex7As-qmBQCd0c,15273
|
|
10
|
-
kipy/errors.py,sha256=
|
|
10
|
+
kipy/errors.py,sha256=Kf-FwawWSB6fxbEcuR-RvD5IZi4ukLQDzCNuG7FmEY8,2047
|
|
11
11
|
kipy/geometry.py,sha256=SHe_Q8-rHe3E5ZTDgXqXYFCNammmj_XIxHIH6KIrxts,27748
|
|
12
12
|
kipy/kicad.py,sha256=N78dsURQu_NQ0AgqXHyOELNBMUvLzykc51xZHrOJIpo,10821
|
|
13
13
|
kipy/kicad_api_version.py,sha256=b_o4ZZ0w10KBiP-agazRBbM-rLsJljYrtGL-XF56brQ,100
|
|
@@ -149,8 +149,8 @@ kipy/util/__pycache__/__init__.cpython-314.pyc,sha256=YfuYcRSQJa75vEaQo7-4iyUeJc
|
|
|
149
149
|
kipy/util/__pycache__/board_layer.cpython-314.pyc,sha256=ZQfzqQ6R3tXiezyamr4R1SyBmYsSy5UZ8UjH9wCUBFQ,12996
|
|
150
150
|
kipy/util/__pycache__/proto.cpython-314.pyc,sha256=Qqg6docuKme0kIJyZghmfQMQox5MEG6SUj8oNmgX6v8,6677
|
|
151
151
|
kipy/util/__pycache__/units.cpython-314.pyc,sha256=gFyMhEqJTtsttkdbpVzIrHIzrkv7JkXaREsuomgaUeo,2095
|
|
152
|
-
kicad_python-0.9.
|
|
153
|
-
kicad_python-0.9.
|
|
154
|
-
kicad_python-0.9.
|
|
155
|
-
kicad_python-0.9.
|
|
156
|
-
kicad_python-0.9.
|
|
152
|
+
kicad_python-0.9.2.dist-info/METADATA,sha256=XK_QkMNzDsGk1LeU-ARVSU56xgsandIGuW411V-fbfs,12271
|
|
153
|
+
kicad_python-0.9.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
154
|
+
kicad_python-0.9.2.dist-info/entry_points.txt,sha256=08ti6vdcr1PCzw6cAK4JC6nO3GpqustFptdFR5l3J00,66
|
|
155
|
+
kicad_python-0.9.2.dist-info/top_level.txt,sha256=zzEkGQetXfFs0pHDs_Nsw3AYhUsNLobh6orymZ7BIe0,5
|
|
156
|
+
kicad_python-0.9.2.dist-info/RECORD,,
|
kipy/board_types.py
CHANGED
|
@@ -414,6 +414,10 @@ class BoardShape(BoardItem):
|
|
|
414
414
|
if proto is not None:
|
|
415
415
|
self._proto.CopyFrom(proto)
|
|
416
416
|
|
|
417
|
+
@property
|
|
418
|
+
def proto(self):
|
|
419
|
+
return self._proto
|
|
420
|
+
|
|
417
421
|
@property
|
|
418
422
|
def id(self) -> KIID:
|
|
419
423
|
return self._proto.id
|
|
@@ -2373,7 +2377,7 @@ class Footprint3DModel(Wrapper):
|
|
|
2373
2377
|
def __repr__(self) -> str:
|
|
2374
2378
|
return (
|
|
2375
2379
|
f"Footprint3DModel(filename='{self.filename}', "
|
|
2376
|
-
f"
|
|
2380
|
+
f"visible={self.visible}, opacity={self.opacity}, "
|
|
2377
2381
|
f"rotation=({self.rotation.x}, {self.rotation.y}, {self.rotation.z}), "
|
|
2378
2382
|
f"scale=({self.scale.x}, {self.scale.y}, {self.scale.z}))"
|
|
2379
2383
|
)
|
|
@@ -2591,11 +2595,11 @@ class Footprint(Wrapper):
|
|
|
2591
2595
|
):
|
|
2592
2596
|
self._proto = proto_ref if proto_ref is not None else board_types_pb2.Footprint()
|
|
2593
2597
|
|
|
2594
|
-
self._unwrapped_items = [unwrap(item) for item in self._proto.items]
|
|
2595
|
-
|
|
2596
2598
|
if proto is not None:
|
|
2597
2599
|
self._proto.CopyFrom(proto)
|
|
2598
2600
|
|
|
2601
|
+
self._unwrapped_items = [unwrap(item) for item in self._proto.items]
|
|
2602
|
+
|
|
2599
2603
|
def _pack(self):
|
|
2600
2604
|
"""Packs all items in the footprint into the proto"""
|
|
2601
2605
|
del self._proto.items[:]
|
kipy/common_types.py
CHANGED
|
@@ -498,12 +498,21 @@ class TextBox(Wrapper):
|
|
|
498
498
|
class GraphicShape(Wrapper):
|
|
499
499
|
"""Represents an abstract graphic shape (not a board or schematic item)"""
|
|
500
500
|
|
|
501
|
-
def __init__(
|
|
502
|
-
self
|
|
501
|
+
def __init__(
|
|
502
|
+
self,
|
|
503
|
+
proto: base_types_pb2.GraphicShape | None = None,
|
|
504
|
+
proto_ref: base_types_pb2.GraphicShape | None = None,
|
|
505
|
+
):
|
|
506
|
+
self._graphic_proto = proto_ref if proto_ref is not None else base_types_pb2.GraphicShape()
|
|
503
507
|
|
|
504
508
|
if proto is not None:
|
|
505
509
|
self._graphic_proto.CopyFrom(proto)
|
|
506
510
|
|
|
511
|
+
@property
|
|
512
|
+
def proto(self):
|
|
513
|
+
self._pack()
|
|
514
|
+
return self._graphic_proto
|
|
515
|
+
|
|
507
516
|
@property
|
|
508
517
|
def attributes(self) -> GraphicAttributes:
|
|
509
518
|
return GraphicAttributes(proto_ref=self._graphic_proto.attributes)
|
kipy/errors.py
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|