kicad-python 0.9.0__tar.gz → 0.9.2__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.
Files changed (187) hide show
  1. {kicad_python-0.9.0 → kicad_python-0.9.2}/PKG-INFO +11 -1
  2. {kicad_python-0.9.0 → kicad_python-0.9.2}/README.md +10 -0
  3. {kicad_python-0.9.0 → kicad_python-0.9.2/build/lib}/kipy/common_types.py +11 -2
  4. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/board_types.py +7 -3
  5. {kicad_python-0.9.0/build/lib → kicad_python-0.9.2}/kipy/common_types.py +11 -2
  6. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/errors.py +1 -1
  7. {kicad_python-0.9.0 → kicad_python-0.9.2}/pyproject.toml +1 -1
  8. kicad_python-0.9.2/setup.py +51 -0
  9. kicad_python-0.9.0/setup.py +0 -51
  10. {kicad_python-0.9.0 → kicad_python-0.9.2}/LICENSE +0 -0
  11. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/__init__.py +0 -0
  12. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/board.py +0 -0
  13. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/board_jobs.py +0 -0
  14. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/board_rules.py +0 -0
  15. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/board_types.py +0 -0
  16. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/client.py +0 -0
  17. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/editor.py +0 -0
  18. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/errors.py +0 -0
  19. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/geometry.py +0 -0
  20. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/kicad.py +0 -0
  21. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/kicad_api_version.py +0 -0
  22. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/packaging/__init__.py +0 -0
  23. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/packaging/__main__.py +0 -0
  24. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/packaging/cli.py +0 -0
  25. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/packaging/schemas/__init__.py +0 -0
  26. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/packaging/types.py +0 -0
  27. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/packaging/validate.py +0 -0
  28. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/project.py +0 -0
  29. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/project_types.py +0 -0
  30. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/__init__.py +0 -0
  31. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/__init__.py +0 -0
  32. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_commands_pb2.py +0 -0
  33. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_commands_pb2.pyi +0 -0
  34. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_jobs_pb2.py +0 -0
  35. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_jobs_pb2.pyi +0 -0
  36. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_pb2.py +0 -0
  37. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_pb2.pyi +0 -0
  38. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_rules_pb2.py +0 -0
  39. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_rules_pb2.pyi +0 -0
  40. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_tasks_pb2.py +0 -0
  41. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_tasks_pb2.pyi +0 -0
  42. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_types_pb2.py +0 -0
  43. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/board/board_types_pb2.pyi +0 -0
  44. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/__init__.py +0 -0
  45. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/__init__.py +0 -0
  46. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/base_commands_pb2.py +0 -0
  47. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/base_commands_pb2.pyi +0 -0
  48. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/cross_probe_commands_pb2.py +0 -0
  49. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/cross_probe_commands_pb2.pyi +0 -0
  50. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/editor_commands_pb2.py +0 -0
  51. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/editor_commands_pb2.pyi +0 -0
  52. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/library_commands_pb2.py +0 -0
  53. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/library_commands_pb2.pyi +0 -0
  54. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/project_commands_pb2.py +0 -0
  55. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/project_commands_pb2.pyi +0 -0
  56. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/variant_commands_pb2.py +0 -0
  57. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/commands/variant_commands_pb2.pyi +0 -0
  58. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/envelope_pb2.py +0 -0
  59. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/envelope_pb2.pyi +0 -0
  60. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/tasks_pb2.py +0 -0
  61. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/tasks_pb2.pyi +0 -0
  62. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/__init__.py +0 -0
  63. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/base_types_pb2.py +0 -0
  64. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/base_types_pb2.pyi +0 -0
  65. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/embedded_files_pb2.py +0 -0
  66. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/embedded_files_pb2.pyi +0 -0
  67. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/enums_pb2.py +0 -0
  68. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/enums_pb2.pyi +0 -0
  69. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/generators_pb2.py +0 -0
  70. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/generators_pb2.pyi +0 -0
  71. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/jobs_pb2.py +0 -0
  72. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/jobs_pb2.pyi +0 -0
  73. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/library_types_pb2.py +0 -0
  74. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/library_types_pb2.pyi +0 -0
  75. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/project_settings_pb2.py +0 -0
  76. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/project_settings_pb2.pyi +0 -0
  77. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/variants_pb2.py +0 -0
  78. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/variants_pb2.pyi +0 -0
  79. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/wizards_pb2.py +0 -0
  80. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/common/types/wizards_pb2.pyi +0 -0
  81. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/__init__.py +0 -0
  82. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_commands_pb2.py +0 -0
  83. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_commands_pb2.pyi +0 -0
  84. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_jobs_pb2.py +0 -0
  85. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_jobs_pb2.pyi +0 -0
  86. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_rules_pb2.py +0 -0
  87. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_rules_pb2.pyi +0 -0
  88. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_tasks_pb2.py +0 -0
  89. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_tasks_pb2.pyi +0 -0
  90. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_types_pb2.py +0 -0
  91. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/proto/schematic/schematic_types_pb2.pyi +0 -0
  92. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/schematic.py +0 -0
  93. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/schematic_jobs.py +0 -0
  94. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/schematic_types.py +0 -0
  95. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/server.py +0 -0
  96. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/tasks.py +0 -0
  97. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/util/__init__.py +0 -0
  98. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/util/board_layer.py +0 -0
  99. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/util/proto.py +0 -0
  100. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/util/units.py +0 -0
  101. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/variants.py +0 -0
  102. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/wizards.py +0 -0
  103. {kicad_python-0.9.0 → kicad_python-0.9.2}/build/lib/kipy/wrapper.py +0 -0
  104. {kicad_python-0.9.0 → kicad_python-0.9.2}/build.py +0 -0
  105. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/__init__.py +0 -0
  106. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/board.py +0 -0
  107. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/client.py +0 -0
  108. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/geometry.py +0 -0
  109. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/kicad.py +0 -0
  110. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/kicad_api_version.py +0 -0
  111. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/__init__.py +0 -0
  112. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/__main__.py +0 -0
  113. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/cli.py +0 -0
  114. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/schemas/__init__.py +0 -0
  115. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/schemas/api.v1.schema.json +0 -0
  116. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/schemas/pcm.v1.schema.json +0 -0
  117. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/schemas/pcm.v2.schema.json +0 -0
  118. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/types.py +0 -0
  119. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/packaging/validate.py +0 -0
  120. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/project.py +0 -0
  121. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/project_types.py +0 -0
  122. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/__init__.py +0 -0
  123. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/__init__.py +0 -0
  124. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_commands_pb2.py +0 -0
  125. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_commands_pb2.pyi +0 -0
  126. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_jobs_pb2.py +0 -0
  127. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_jobs_pb2.pyi +0 -0
  128. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_pb2.py +0 -0
  129. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_pb2.pyi +0 -0
  130. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_rules_pb2.py +0 -0
  131. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_rules_pb2.pyi +0 -0
  132. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_tasks_pb2.py +0 -0
  133. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_tasks_pb2.pyi +0 -0
  134. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_types_pb2.py +0 -0
  135. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/board/board_types_pb2.pyi +0 -0
  136. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/__init__.py +0 -0
  137. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/__init__.py +0 -0
  138. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/base_commands_pb2.py +0 -0
  139. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/base_commands_pb2.pyi +0 -0
  140. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/cross_probe_commands_pb2.py +0 -0
  141. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/cross_probe_commands_pb2.pyi +0 -0
  142. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/editor_commands_pb2.py +0 -0
  143. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/editor_commands_pb2.pyi +0 -0
  144. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/library_commands_pb2.py +0 -0
  145. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/library_commands_pb2.pyi +0 -0
  146. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/project_commands_pb2.py +0 -0
  147. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/project_commands_pb2.pyi +0 -0
  148. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/variant_commands_pb2.py +0 -0
  149. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/commands/variant_commands_pb2.pyi +0 -0
  150. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/envelope_pb2.py +0 -0
  151. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/envelope_pb2.pyi +0 -0
  152. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/tasks_pb2.py +0 -0
  153. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/tasks_pb2.pyi +0 -0
  154. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/__init__.py +0 -0
  155. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/base_types_pb2.py +0 -0
  156. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/base_types_pb2.pyi +0 -0
  157. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/embedded_files_pb2.py +0 -0
  158. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/embedded_files_pb2.pyi +0 -0
  159. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/enums_pb2.py +0 -0
  160. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/enums_pb2.pyi +0 -0
  161. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/jobs_pb2.py +0 -0
  162. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/jobs_pb2.pyi +0 -0
  163. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/library_types_pb2.py +0 -0
  164. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/library_types_pb2.pyi +0 -0
  165. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/project_settings_pb2.py +0 -0
  166. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/project_settings_pb2.pyi +0 -0
  167. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/variants_pb2.py +0 -0
  168. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/variants_pb2.pyi +0 -0
  169. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/wizards_pb2.py +0 -0
  170. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/common/types/wizards_pb2.pyi +0 -0
  171. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_commands_pb2.py +0 -0
  172. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_commands_pb2.pyi +0 -0
  173. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_jobs_pb2.py +0 -0
  174. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_jobs_pb2.pyi +0 -0
  175. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_rules_pb2.py +0 -0
  176. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_rules_pb2.pyi +0 -0
  177. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_tasks_pb2.py +0 -0
  178. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_tasks_pb2.pyi +0 -0
  179. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_types_pb2.py +0 -0
  180. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/proto/schematic/schematic_types_pb2.pyi +0 -0
  181. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/py.typed +0 -0
  182. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/util/__init__.py +0 -0
  183. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/util/board_layer.py +0 -0
  184. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/util/proto.py +0 -0
  185. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/util/units.py +0 -0
  186. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/variants.py +0 -0
  187. {kicad_python-0.9.0 → kicad_python-0.9.2}/kipy/wrapper.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: kicad-python
3
- Version: 0.9.0
3
+ Version: 0.9.2
4
4
  Summary: KiCad API Python Bindings
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -104,6 +104,16 @@ plugins, copy or symlink them into the appropriate plugins path in order for KiC
104
104
 
105
105
  ## Release History
106
106
 
107
+ ### 0.9.2 (November 26, 2026)
108
+
109
+ - Fix side-effect of 0.9.1 bugfix causing issues modifying shapes
110
+ - Backport ordering fix when constructing `Footprint` from a proto
111
+ - Fix typo in `ApiError.raw_message` causing infinite recursion
112
+
113
+ ### 0.9.1 (November 26, 2026)
114
+
115
+ - Fix bug introduced in 0.9.0 causing failure to iterate over `GraphicShape` types
116
+
107
117
  ### 0.9.0 (November 24, 2026)
108
118
 
109
119
  - Add support for `Table`, `TableCell`, and `ReferencePoint` board objects
@@ -81,6 +81,16 @@ plugins, copy or symlink them into the appropriate plugins path in order for KiC
81
81
 
82
82
  ## Release History
83
83
 
84
+ ### 0.9.2 (November 26, 2026)
85
+
86
+ - Fix side-effect of 0.9.1 bugfix causing issues modifying shapes
87
+ - Backport ordering fix when constructing `Footprint` from a proto
88
+ - Fix typo in `ApiError.raw_message` causing infinite recursion
89
+
90
+ ### 0.9.1 (November 26, 2026)
91
+
92
+ - Fix bug introduced in 0.9.0 causing failure to iterate over `GraphicShape` types
93
+
84
94
  ### 0.9.0 (November 24, 2026)
85
95
 
86
96
  - Add support for `Table`, `TableCell`, and `ReferencePoint` board objects
@@ -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__(self, proto: base_types_pb2.GraphicShape | None = None):
502
- self._graphic_proto = base_types_pb2.GraphicShape()
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)
@@ -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"visisble={self.visible}, opacity={self.opacity}, "
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[:]
@@ -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__(self, proto: base_types_pb2.GraphicShape | None = None):
502
- self._graphic_proto = base_types_pb2.GraphicShape()
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)
@@ -45,7 +45,7 @@ class ApiError(Exception):
45
45
 
46
46
  @property
47
47
  def raw_message(self) -> str:
48
- return self.raw_message
48
+ return self._raw_message
49
49
 
50
50
 
51
51
  class FutureVersionError(Exception):
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "kicad-python"
3
- version = "0.9.0"
3
+ version = "0.9.2"
4
4
  description = "KiCad API Python Bindings"
5
5
  authors = [
6
6
  { name = "The KiCad Development Team" },
@@ -0,0 +1,51 @@
1
+ # -*- coding: utf-8 -*-
2
+ from setuptools import setup
3
+
4
+ packages = \
5
+ ['kipy',
6
+ 'kipy.packaging',
7
+ 'kipy.packaging.schemas',
8
+ 'kipy.proto',
9
+ 'kipy.proto.board',
10
+ 'kipy.proto.common',
11
+ 'kipy.proto.common.commands',
12
+ 'kipy.proto.common.types',
13
+ 'kipy.proto.schematic',
14
+ 'kipy.util']
15
+
16
+ package_data = \
17
+ {'': ['*']}
18
+
19
+ install_requires = \
20
+ ['jsonschema>=4.23.0,<5',
21
+ 'protobuf>=5.29.6,<6',
22
+ 'pynng>=0.9.0,<0.10.0',
23
+ 'zstandard>=0.25.0,<0.26.0']
24
+
25
+ extras_require = \
26
+ {':python_version < "3.13"': ['typing_extensions>=4.13.2']}
27
+
28
+ entry_points = \
29
+ {'console_scripts': ['kicad-python-packager = kipy.packaging.cli:main']}
30
+
31
+ setup_kwargs = {
32
+ 'name': 'kicad-python',
33
+ 'version': '0.9.2',
34
+ 'description': 'KiCad API Python Bindings',
35
+ 'long_description': '# KiCad API Python Bindings\n\n`kicad-python` is the official Python bindings for the [KiCad](https://kicad.org) IPC API. This\nlibrary makes it possible to develop scripts and tools that interact with a running KiCad session.\n\nThe KiCad IPC API replaces the legacy SWIG-based Python bindings for KiCad\'s PCB editor.\nThe SWIG bindings still exist in KiCad 9 and 10, but are removed in KiCad 11.\n\nFor more information about the IPC API, please see the\n[KiCad developer documentation](https://dev-docs.kicad.org/en/apis-and-binding/ipc-api/index.html).\nSpecific documentation for developing add-ons is\n[also available](https://dev-docs.kicad.org/en/apis-and-binding/ipc-api/for-addon-developers/index.html).\n\n> Note: Version 0.0.2 and prior of this package are an obsolete earlier effort and are unrelated to\n> this codebase.\n\n## Requirements\n\nUsing the IPC API requires a suitable version of KiCad (9.0 or higher) and requires that KiCad be\nrunning with the API server enabled in Preferences > Plugins. This package also depends on the\n`protobuf` and `pynng` packages for communication with KiCad.\n\n> Note: Unlike the SWIG-based Python bindings, the IPC API requires communication with a running\n> instance of KiCad. It is not possible to use `kicad-python` to manipulate KiCad design files\n> without KiCad running.\n\n## Contributing\n\nWe welcome contributions in the form of issue reports, feature requests, and merge requests.\n\nAll general policies from https://dev-docs.kicad.org/en/rules-guidelines/index.html apply to the\n`kicad-python` project. Please make sure you have read all policies, especially the code\ncontribution and tool-generated content policies, before creating an issue or merge request.\n\nPlease try to open issues in the correct repository (here for Python binding issues; the main\nKiCad code repository for general API issues) if you\'re able to determine whether or not the issue\nis specific to the Python bindings. It\'s OK to make mistakes here; we\'ll just move the issue to\nthe correct repository.\n\n## Building from Source\n\nMost users should use `kicad-python` by installing the latest version from PyPI. You can also\nbuild and install the library from this repository, to test unreleased changes or contribute to\nthe development. For instructions on how to do so, please see `COMPILING.md`.\n\nNote that this library builds against the API definitions (`.proto` files) in the `kicad` submodule.\nOfficial releases of the library to PyPI should use a tagged release of KiCad, but the development\nbranch of `kicad-python` may sometimes move the submodule pointer to non-tagged commits during the\ncourse of development. If you are using this library from source rather than from PyPI, remember\nto keep the submodule updated and to test against a suitable build of KiCad, which may need to be\na nightly or testing build in some situations. You can use the method `KiCad.check_version` to\nmake sure you are using a compatible version of `kicad-python` for your installed version of KiCad.\n\n## Getting Started\n\nTo check that everything is working, install `kicad-python` (either follow the directions in\nCOMPILING.md or else install the latest version from PyPI using `pip install kicad-python`).\nLaunch KiCad, make sure the API server is enabled in Preferences > Plugins, and then you should be\nable to run:\n\n```sh\n$ python3 ./examples/hello.py\n```\n\nThis should print out the version of KiCad you have connected to.\n\n## Documentation\n\nThe documentation created from this repository (via the `docs` directory and the docstrings in the\nsource code) is hosted at https://docs.kicad.org/kicad-python-main\n\nMany things are still not documented or underdocumented -- contributions that expand the\ndocumentation or add docstrings are welcomed.\n\n## Examples\n\nCheck out the repository for some example scripts that may serve as a starting point. Some of the\nexamples are snippets that can be run directly from a terminal or your Python development\nenvironment, and some are KiCad action plugins that can be loaded into the PCB editor. For the\nplugins, copy or symlink them into the appropriate plugins path in order for KiCad to find them.\n\n## Release History\n\n### 0.9.2 (November 26, 2026)\n\n- Fix side-effect of 0.9.1 bugfix causing issues modifying shapes\n- Backport ordering fix when constructing `Footprint` from a proto\n- Fix typo in `ApiError.raw_message` causing infinite recursion\n\n### 0.9.1 (November 26, 2026)\n\n- Fix bug introduced in 0.9.0 causing failure to iterate over `GraphicShape` types\n\n### 0.9.0 (November 24, 2026)\n\n- Add support for `Table`, `TableCell`, and `ReferencePoint` board objects\n- Add support for embedded files (`EmbeddedFile`, `Board.get_embedded_files` and friends)\n- Add `Project.set_net_classes`\n- Add `expand_env_vars` argument to `expand_text_variables`; environment variables can now be\n expanded in addition to project text variables (opt-in to preserve existing behavior)\n- Add `from_mils` and `to_mils` helpers in `util.units`\n- Add `FootprintAttributes.exempt_from_courtyard_requirement`, `FootprintAttributes.allow_soldermask_bridges` (Salvador E. Tropea)\n- Add `Pad.fab_property`\n- Add more board layer helper constants in `board_layer`\n- Fix missing document specifiers from `begin_commit` / `end_commit`\n- Support relative paths in `Board.save_as`\n- Breaking change: `TeardropType` protobuf enum renamed to `ZoneTeardropType` to match KiCad.\n The values and meaning of the enum have not changed; existing clients using the old name\n will continue to work on earlier versions of `kicad-python`.\n- Add `MutableWrapperSequence` and live mutable views for repeated message fields such as\n `CompoundShape.shapes`, `PolyLine.nodes`, `EmbeddedFiles.files`, and `Table.cells`\n- Add pad and via teardrop settings (`PadTeardropSettings`, `Pad.teardrop`, `Via.teardrop`)\n- Add explicit solder mask overrides to `Track`, `ArcTrack`, and `BoardShape`\n- Add zone corner smoothing and radius, hatch fill, rule area, and per-layer zone settings\n- Add `Via.is_free`, `Group.locked`, and `Group.lib_id`\n- Add `FootprintVariant` and `FootprintInstance.variants`\n- Add design variant management to `Board` (`get_variants`, `add_variant`, `delete_variant`, etc.)\n- Add `BoardText.knockout` and `BoardTextBox.knockout`\n- Add `FootprintInstance.symbol_sheet_name`, `symbol_sheet_filename`, and\n `symbol_footprint_filters`\n- Add `Pad.locked`, `Pad.symbol_pin`, `Pad.copper_clearance_override`, and `Pad.pad_to_die_delay`\n- Add padstack post-machining, drill capping/filling, and plugging/covering settings\n- Add footprint net tie, jumper, private layer, and anchor properties\n- Make `SolderMaskOverrides.solder_mask_margin` optional; `None` inherits the parent or board\n design rule margin\n- Clean up various type-checking and other linter issues\n\n### 0.8.0 (August 30, 2026)\n\n- Add `Item.clone` method to simplify creation of new items based on existing ones\n- Add `parent` property to board types that can have a parent (e.g. board or footprint)\n- Make "solder_paste_margin" and "solder_paste_margin_ratio" properties optional (Mark Hämmerling, !42)\n- Add `Board.get_layer_by_name`\n- Add `Board.flip_items` and `Board.flip_items_by_id`\n- Expand wrappers for board stackup data\n\n### 0.7.1 (April 17, 2026)\n\n- Fix `KiCad.run_action` (leommxj)\n\n### 0.7.0 (April 17, 2026)\n\n- Add `Board.get_items_by_id` and groups support via `Board.get_groups` (requires KiCad 10) (Anthonypark, !15)\n- Add support for barcodes and `Board.get_barcodes` (requires KiCad 10.0.1)\n- Add support for reference images and `Board.get_reference_images` (requires KiCad 10.0.1)\n- Add `Board.set_title_block_info` (requires KiCad 10.0.1)\n- Add `Board.get_connected_items`, `Board.get_items_by_net`, and `Board.get_items_by_netclass` (requires KiCad 10.0.1)\n- Fix several bounding box calculation bugs\n- Support building with older versions of protoc\n\n### 0.6.0 (March 15, 2026)\n\n- Fix missing conversion of rectangles into polygons when rotating by non-cardinal amounts (#86)\n- Move to `pynng` 0.9.0 (John Hagen, !37)\n- Add `locked` properties to `Track` and `ArcTrack` (Anton Lazarev, !34)\n- Add `Board.get_layer_name` (KiCad 9.0.8) (#94)\n- Ensure `PolygonWithHoles` outline and holes are closed shapes (#73)\n- Fix `Project` taking over the document passed into it (#78)\n- Fix missing setter on `Field.name` (#87)\n\n### 0.5.0 (October 13, 2025)\n\n- Add `Pad.pad_to_die_length` (KiCad 9.0.4)\n- Add `Board.get_enabled_layers`, `Board.set_enabled_layers`, and `Board.get_copper_layer_count` (KiCad 9.0.5)\n- Autodetect default Flatpak socket path (Johannes Maibaum, !32)\n- Add support for `BoardCircle.rotate` (@modbw, !33)\n\n### 0.4.0 (July 8, 2025)\n\n- Fix ability to move and rotate footprints\n- Fix ArcTrack length calculation (Quentin Freimanis, !13)\n- Make it possible to add new `BoardPolygon`s in a more ergonomic way\n- Add `FootprintInstance.sheet_path` property (#37)\n- Add `board.check_padstack_presence_on_layers`, replacing FlashLayer in SWIG\n- Allow setting `Net.name` so that new nets can be created\n- Deprecate `Net.code` (net codes are an internal KiCad detail and API clients should ignore them)\n- Add `py.typed` type hinting indicator file (John Hagen, !16)\n- Fix `Vector2.from_xy_mm` type annotations (John Hagen, !17)\n- Add `Arc.angle` and `ArcTrack.angle`; some arc angle utilities (Quentin Freimanis, !14)\n- Add `remove_items_by_id` (Anthonypark, !20)\n- Allow assigning nets to `Zone` (#62)\n- Allow changing `Pad.pad_type` (#63)\n- Allow changing `Field.layer` (#64)\n\n### 0.3.0 (March 29, 2025)\n\n- Add support for footprint mounting style attribute (#19) (Thanh Duong, !10)\n- Added `visible` property to `Field` and deprecate it from `TextAttributes` to match KiCad changes\n- Improve version checking functions(Lucas Gerads, !11)\n- Add missing board layers User.10 through User.45 (#23)\n- Improve padstack-related APIs for creating new vias and pads (#21)\n- Change arc angle methods to return normalized angles; add degrees versions (#22)\n- Add `board.get_origin` and `board.set_origin` (#20)\n- Add `ArcTrack.length` (Thanh Duong, !12)\n- Add `Footprint.models` (#31)\n- Fix ability to create new graphic shapes on boards\n- Fix the return value of `Board.update_items` and document it (#35)\n\n### 0.2.0 (February 19, 2025)\n\n- Updates for KiCad 9.0.0 release\n- Fix `util.board_layer.canonical_name` names for technical layers\n- Add board item selection management APIs\n- Fix `requirements.txt` files in sample plugins\n- Fix RecursionError when calling `BoardCircle.__repr__` (#13)\n- Relicense as MIT\n\n### 0.1.2 (January 17, 2025)\n\n- Updates for KiCad 9.0.0-rc2 release\n- Fixes to plugin examples\n- Add support for various project settings, board stackup, board file management\n- Add helpers for board layer name conversions\n- Change thermal spoke settings to match updated KiCad API\n- Documentation improvements\n\n### 0.1.1 (December 24, 2024)\n\n- Bump dependency versions to fix compilation with newer protoc\n\n### 0.1.0 (December 21, 2024)\n\n*Corresponding KiCad version: 9.0.0-rc1*\n\nFirst formal release of the new IPC-API version of this package. Contains support for most of the\nKiCad API functionality that is currently exposed, which is focused around the PCB editor to enable\na transition path from existing SWIG-based plugins.\n',
36
+ 'author': 'The KiCad Development Team',
37
+ 'author_email': 'None',
38
+ 'maintainer': 'None',
39
+ 'maintainer_email': 'None',
40
+ 'url': 'https://kicad.org/',
41
+ 'packages': packages,
42
+ 'package_data': package_data,
43
+ 'install_requires': install_requires,
44
+ 'extras_require': extras_require,
45
+ 'entry_points': entry_points,
46
+ 'python_requires': '>=3.9',
47
+ }
48
+ from build import *
49
+ build(setup_kwargs)
50
+
51
+ setup(**setup_kwargs)
@@ -1,51 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from setuptools import setup
3
-
4
- packages = \
5
- ['kipy',
6
- 'kipy.packaging',
7
- 'kipy.packaging.schemas',
8
- 'kipy.proto',
9
- 'kipy.proto.board',
10
- 'kipy.proto.common',
11
- 'kipy.proto.common.commands',
12
- 'kipy.proto.common.types',
13
- 'kipy.proto.schematic',
14
- 'kipy.util']
15
-
16
- package_data = \
17
- {'': ['*']}
18
-
19
- install_requires = \
20
- ['jsonschema>=4.23.0,<5',
21
- 'protobuf>=5.29.6,<6',
22
- 'pynng>=0.9.0,<0.10.0',
23
- 'zstandard>=0.25.0,<0.26.0']
24
-
25
- extras_require = \
26
- {':python_version < "3.13"': ['typing_extensions>=4.13.2']}
27
-
28
- entry_points = \
29
- {'console_scripts': ['kicad-python-packager = kipy.packaging.cli:main']}
30
-
31
- setup_kwargs = {
32
- 'name': 'kicad-python',
33
- 'version': '0.9.0',
34
- 'description': 'KiCad API Python Bindings',
35
- 'long_description': '# KiCad API Python Bindings\n\n`kicad-python` is the official Python bindings for the [KiCad](https://kicad.org) IPC API. This\nlibrary makes it possible to develop scripts and tools that interact with a running KiCad session.\n\nThe KiCad IPC API replaces the legacy SWIG-based Python bindings for KiCad\'s PCB editor.\nThe SWIG bindings still exist in KiCad 9 and 10, but are removed in KiCad 11.\n\nFor more information about the IPC API, please see the\n[KiCad developer documentation](https://dev-docs.kicad.org/en/apis-and-binding/ipc-api/index.html).\nSpecific documentation for developing add-ons is\n[also available](https://dev-docs.kicad.org/en/apis-and-binding/ipc-api/for-addon-developers/index.html).\n\n> Note: Version 0.0.2 and prior of this package are an obsolete earlier effort and are unrelated to\n> this codebase.\n\n## Requirements\n\nUsing the IPC API requires a suitable version of KiCad (9.0 or higher) and requires that KiCad be\nrunning with the API server enabled in Preferences > Plugins. This package also depends on the\n`protobuf` and `pynng` packages for communication with KiCad.\n\n> Note: Unlike the SWIG-based Python bindings, the IPC API requires communication with a running\n> instance of KiCad. It is not possible to use `kicad-python` to manipulate KiCad design files\n> without KiCad running.\n\n## Contributing\n\nWe welcome contributions in the form of issue reports, feature requests, and merge requests.\n\nAll general policies from https://dev-docs.kicad.org/en/rules-guidelines/index.html apply to the\n`kicad-python` project. Please make sure you have read all policies, especially the code\ncontribution and tool-generated content policies, before creating an issue or merge request.\n\nPlease try to open issues in the correct repository (here for Python binding issues; the main\nKiCad code repository for general API issues) if you\'re able to determine whether or not the issue\nis specific to the Python bindings. It\'s OK to make mistakes here; we\'ll just move the issue to\nthe correct repository.\n\n## Building from Source\n\nMost users should use `kicad-python` by installing the latest version from PyPI. You can also\nbuild and install the library from this repository, to test unreleased changes or contribute to\nthe development. For instructions on how to do so, please see `COMPILING.md`.\n\nNote that this library builds against the API definitions (`.proto` files) in the `kicad` submodule.\nOfficial releases of the library to PyPI should use a tagged release of KiCad, but the development\nbranch of `kicad-python` may sometimes move the submodule pointer to non-tagged commits during the\ncourse of development. If you are using this library from source rather than from PyPI, remember\nto keep the submodule updated and to test against a suitable build of KiCad, which may need to be\na nightly or testing build in some situations. You can use the method `KiCad.check_version` to\nmake sure you are using a compatible version of `kicad-python` for your installed version of KiCad.\n\n## Getting Started\n\nTo check that everything is working, install `kicad-python` (either follow the directions in\nCOMPILING.md or else install the latest version from PyPI using `pip install kicad-python`).\nLaunch KiCad, make sure the API server is enabled in Preferences > Plugins, and then you should be\nable to run:\n\n```sh\n$ python3 ./examples/hello.py\n```\n\nThis should print out the version of KiCad you have connected to.\n\n## Documentation\n\nThe documentation created from this repository (via the `docs` directory and the docstrings in the\nsource code) is hosted at https://docs.kicad.org/kicad-python-main\n\nMany things are still not documented or underdocumented -- contributions that expand the\ndocumentation or add docstrings are welcomed.\n\n## Examples\n\nCheck out the repository for some example scripts that may serve as a starting point. Some of the\nexamples are snippets that can be run directly from a terminal or your Python development\nenvironment, and some are KiCad action plugins that can be loaded into the PCB editor. For the\nplugins, copy or symlink them into the appropriate plugins path in order for KiCad to find them.\n\n## Release History\n\n### 0.9.0 (November 24, 2026)\n\n- Add support for `Table`, `TableCell`, and `ReferencePoint` board objects\n- Add support for embedded files (`EmbeddedFile`, `Board.get_embedded_files` and friends)\n- Add `Project.set_net_classes`\n- Add `expand_env_vars` argument to `expand_text_variables`; environment variables can now be\n expanded in addition to project text variables (opt-in to preserve existing behavior)\n- Add `from_mils` and `to_mils` helpers in `util.units`\n- Add `FootprintAttributes.exempt_from_courtyard_requirement`, `FootprintAttributes.allow_soldermask_bridges` (Salvador E. Tropea)\n- Add `Pad.fab_property`\n- Add more board layer helper constants in `board_layer`\n- Fix missing document specifiers from `begin_commit` / `end_commit`\n- Support relative paths in `Board.save_as`\n- Breaking change: `TeardropType` protobuf enum renamed to `ZoneTeardropType` to match KiCad.\n The values and meaning of the enum have not changed; existing clients using the old name\n will continue to work on earlier versions of `kicad-python`.\n- Add `MutableWrapperSequence` and live mutable views for repeated message fields such as\n `CompoundShape.shapes`, `PolyLine.nodes`, `EmbeddedFiles.files`, and `Table.cells`\n- Add pad and via teardrop settings (`PadTeardropSettings`, `Pad.teardrop`, `Via.teardrop`)\n- Add explicit solder mask overrides to `Track`, `ArcTrack`, and `BoardShape`\n- Add zone corner smoothing and radius, hatch fill, rule area, and per-layer zone settings\n- Add `Via.is_free`, `Group.locked`, and `Group.lib_id`\n- Add `FootprintVariant` and `FootprintInstance.variants`\n- Add design variant management to `Board` (`get_variants`, `add_variant`, `delete_variant`, etc.)\n- Add `BoardText.knockout` and `BoardTextBox.knockout`\n- Add `FootprintInstance.symbol_sheet_name`, `symbol_sheet_filename`, and\n `symbol_footprint_filters`\n- Add `Pad.locked`, `Pad.symbol_pin`, `Pad.copper_clearance_override`, and `Pad.pad_to_die_delay`\n- Add padstack post-machining, drill capping/filling, and plugging/covering settings\n- Add footprint net tie, jumper, private layer, and anchor properties\n- Make `SolderMaskOverrides.solder_mask_margin` optional; `None` inherits the parent or board\n design rule margin\n- Clean up various type-checking and other linter issues\n\n### 0.8.0 (August 30, 2026)\n\n- Add `Item.clone` method to simplify creation of new items based on existing ones\n- Add `parent` property to board types that can have a parent (e.g. board or footprint)\n- Make "solder_paste_margin" and "solder_paste_margin_ratio" properties optional (Mark Hämmerling, !42)\n- Add `Board.get_layer_by_name`\n- Add `Board.flip_items` and `Board.flip_items_by_id`\n- Expand wrappers for board stackup data\n\n### 0.7.1 (April 17, 2026)\n\n- Fix `KiCad.run_action` (leommxj)\n\n### 0.7.0 (April 17, 2026)\n\n- Add `Board.get_items_by_id` and groups support via `Board.get_groups` (requires KiCad 10) (Anthonypark, !15)\n- Add support for barcodes and `Board.get_barcodes` (requires KiCad 10.0.1)\n- Add support for reference images and `Board.get_reference_images` (requires KiCad 10.0.1)\n- Add `Board.set_title_block_info` (requires KiCad 10.0.1)\n- Add `Board.get_connected_items`, `Board.get_items_by_net`, and `Board.get_items_by_netclass` (requires KiCad 10.0.1)\n- Fix several bounding box calculation bugs\n- Support building with older versions of protoc\n\n### 0.6.0 (March 15, 2026)\n\n- Fix missing conversion of rectangles into polygons when rotating by non-cardinal amounts (#86)\n- Move to `pynng` 0.9.0 (John Hagen, !37)\n- Add `locked` properties to `Track` and `ArcTrack` (Anton Lazarev, !34)\n- Add `Board.get_layer_name` (KiCad 9.0.8) (#94)\n- Ensure `PolygonWithHoles` outline and holes are closed shapes (#73)\n- Fix `Project` taking over the document passed into it (#78)\n- Fix missing setter on `Field.name` (#87)\n\n### 0.5.0 (October 13, 2025)\n\n- Add `Pad.pad_to_die_length` (KiCad 9.0.4)\n- Add `Board.get_enabled_layers`, `Board.set_enabled_layers`, and `Board.get_copper_layer_count` (KiCad 9.0.5)\n- Autodetect default Flatpak socket path (Johannes Maibaum, !32)\n- Add support for `BoardCircle.rotate` (@modbw, !33)\n\n### 0.4.0 (July 8, 2025)\n\n- Fix ability to move and rotate footprints\n- Fix ArcTrack length calculation (Quentin Freimanis, !13)\n- Make it possible to add new `BoardPolygon`s in a more ergonomic way\n- Add `FootprintInstance.sheet_path` property (#37)\n- Add `board.check_padstack_presence_on_layers`, replacing FlashLayer in SWIG\n- Allow setting `Net.name` so that new nets can be created\n- Deprecate `Net.code` (net codes are an internal KiCad detail and API clients should ignore them)\n- Add `py.typed` type hinting indicator file (John Hagen, !16)\n- Fix `Vector2.from_xy_mm` type annotations (John Hagen, !17)\n- Add `Arc.angle` and `ArcTrack.angle`; some arc angle utilities (Quentin Freimanis, !14)\n- Add `remove_items_by_id` (Anthonypark, !20)\n- Allow assigning nets to `Zone` (#62)\n- Allow changing `Pad.pad_type` (#63)\n- Allow changing `Field.layer` (#64)\n\n### 0.3.0 (March 29, 2025)\n\n- Add support for footprint mounting style attribute (#19) (Thanh Duong, !10)\n- Added `visible` property to `Field` and deprecate it from `TextAttributes` to match KiCad changes\n- Improve version checking functions(Lucas Gerads, !11)\n- Add missing board layers User.10 through User.45 (#23)\n- Improve padstack-related APIs for creating new vias and pads (#21)\n- Change arc angle methods to return normalized angles; add degrees versions (#22)\n- Add `board.get_origin` and `board.set_origin` (#20)\n- Add `ArcTrack.length` (Thanh Duong, !12)\n- Add `Footprint.models` (#31)\n- Fix ability to create new graphic shapes on boards\n- Fix the return value of `Board.update_items` and document it (#35)\n\n### 0.2.0 (February 19, 2025)\n\n- Updates for KiCad 9.0.0 release\n- Fix `util.board_layer.canonical_name` names for technical layers\n- Add board item selection management APIs\n- Fix `requirements.txt` files in sample plugins\n- Fix RecursionError when calling `BoardCircle.__repr__` (#13)\n- Relicense as MIT\n\n### 0.1.2 (January 17, 2025)\n\n- Updates for KiCad 9.0.0-rc2 release\n- Fixes to plugin examples\n- Add support for various project settings, board stackup, board file management\n- Add helpers for board layer name conversions\n- Change thermal spoke settings to match updated KiCad API\n- Documentation improvements\n\n### 0.1.1 (December 24, 2024)\n\n- Bump dependency versions to fix compilation with newer protoc\n\n### 0.1.0 (December 21, 2024)\n\n*Corresponding KiCad version: 9.0.0-rc1*\n\nFirst formal release of the new IPC-API version of this package. Contains support for most of the\nKiCad API functionality that is currently exposed, which is focused around the PCB editor to enable\na transition path from existing SWIG-based plugins.\n',
36
- 'author': 'The KiCad Development Team',
37
- 'author_email': 'None',
38
- 'maintainer': 'None',
39
- 'maintainer_email': 'None',
40
- 'url': 'https://kicad.org/',
41
- 'packages': packages,
42
- 'package_data': package_data,
43
- 'install_requires': install_requires,
44
- 'extras_require': extras_require,
45
- 'entry_points': entry_points,
46
- 'python_requires': '>=3.9',
47
- }
48
- from build import *
49
- build(setup_kwargs)
50
-
51
- setup(**setup_kwargs)
File without changes
File without changes
File without changes
File without changes
File without changes