Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
# kle2netlist
| | |
| --- | --- |
| CI/CD | [](https://github.com/adamws/kle2netlist/actions/workflows/build.yml) [](https://coveralls.io/github/adamws/kle2netlist?branch=master) |
| Package | [](https://pypi.org/project/kle2netlist) |
| Meta | [](https://github.com/pypa/hatch) [](https://github.com/astral-sh/ruff) [](https://github.com/psf/black) [](https://github.com/python/mypy) [](https://spdx.org/licenses/) |
-----
**KiCad netlist generator for mechanical keyboards**
## Installation
```
pip install kle2netlist
```
## Usage
```
$ kle2netlist --help
Usage: kle2netlist [OPTIONS]
Generates KiCad netlist for a given keyboard layout json file.
Options
--layout Path to kle layout file [default: None] [required]
--output Output netlist file [default: keyboard.net]
--switch-footprint Switch footprint f-string [default: PCM_Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_{:.2f}u]
--stabilizer-footprint Stabilizer footprint f-string, optional [default: PCM_Mounting_Keyboard_Stabilizer:Stabilizer_Cherry_MX_{:.2f}u]
--diode-footprint Diode footprint [default: Diode_SMD:D_SOD-123F]
--lib-path Path to symbol library [default: None]
--controller-circuit Name of controller circuit [default: None]
--extra-circuits Extra circuits [default: None]
--row-column-pin-order Comma separated list of microcontroller pins defining order of row/column assignments [default: None]
--version Prints the version of the kle2netlist package.
--help Show this message and exit.
```
### Controller circuit templates
<table>
<tr>
<td style="width:40%" align="center"><b>Name and description</b></td>
<td align="center"><b>Layout</b></td>
</tr>
<tr>
<td>atmega32u4_v1:<br>[todo]</td>
<td align="center"><img src="kicad-templates/atmega32u4_v1.svg"/></td>
</tr>
<tr>
<td>atmega32u4_v2:<br>[todo]</td>
<td align="center"><img src="kicad-templates/atmega32u4_v2.svg"/></td>
</tr>
</table>
### Extra circuit templates
<table>
<tr>
<td style="width:40%" align="center"><b>Name and description</b></td>
<td align="center"><b>Layout</b></td>
</tr>
<tr>
<td>usb_minimal:<br>[todo]</td>
<td align="center"><img src="kicad-templates/usb_minimal.svg" width="20%"/></td>
</tr>
<tr>
<td>usb_udb_clone:<br>[todo]</td>
<td align="center"><img src="kicad-templates/usb_udb_clone.svg" width="40%"/></td>
</tr>
</table>
2b866693cThis file is pinned to the selected release. Download the original to open it in your design tool.