Simple and SCM-friendly KiCad file parser for KiCad 6.0 and up
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install kiutilsREADME as published on PyPI with version 1.4.8.
KiUtils
Simple and SCM-friendly KiCad file parser based on Python dataclasses for KiCad 6.0 and up. The following KiCad-related files are currently supported:
.kicad_pcb- Board layouts.kicad_sch- Schematics.kicad_mod- Footprints.kicad_sym- Symbols and symbol libraries.kicad_wks- Worksheets.kicad_dru- Custom design rulesfp-lib-table&sym-lib-table- Library tables
KiUtils implements a "pythonic" abstraction of the documentation found at the KiCad Developer Reference and is intended to work with an SCM like Git or SVN without breaking the layout of the files when the Python script ran.
Parsing of the files is based on the S-Expression parser found in this library: GitLab: KiCad Library utilities
Prerequisites
The following is required to use kiutils:
- Python 3.7 or higher
Installation
kiutils is available on PyPI. Use Python's
to install it: