Pre-fab PCB design review and release gate for KiCad boards
Project description
FabGate
Pre-fab PCB design review and release gate for KiCad boards.
v0.1 — evaluate your board, get a scored pass/hold/fail report, and a fix checklist before fabrication.
Prerequisites
- Python 3.11+
- KiCad 9+ with
kicad-cliavailable
Install
pip install fabgate
Optional deep physics review (EMC / power / signal integrity):
pip install "fabgate[emcopilot]"
Quick start
# Check toolchain
fabgate doctor
# Review an existing KiCad project
fabgate evaluate "C:\path\to\your-kicad-project"
# CI / release gate (exit 0=pass, 1=hold, 2=fail)
fabgate gate "C:\path\to\your-kicad-project"
# Open board in KiCad
fabgate open "C:\path\to\your-kicad-project"
Reports are written to reports/ as HTML + JSON.
What it checks
| Check | Engine |
|---|---|
| DRC violations | KiCad kicad-cli |
| Schematic parity | KiCad |
| EMC / power / SI physics | emcopilot (optional) |
| Scoring + pass/hold/fail | FabGate rules |
FabGate does not call an LLM. It uses deterministic KiCad and physics-based analyzers.
Commands
| Command | Purpose |
|---|---|
fabgate doctor |
Check KiCad CLI + optional emcopilot |
fabgate evaluate |
Full evaluation + HTML report |
fabgate review |
Basic review |
fabgate gate |
CI exit code |
fabgate optimize run |
Optimization plan + safe auto-fixes |
fabgate auto run |
Autonomous optimize loop (with rollback guardrail) |
fabgate design create |
Scaffold new KiCad project |
fabgate workflow |
Design → evaluate → optimize |
fabgate open |
Open in KiCad GUI |
Development install
git clone <repo-url>
cd fabgate
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -e ".[dev,emcopilot]"
fabgate doctor
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fabgate-0.1.0.tar.gz.
File metadata
- Download URL: fabgate-0.1.0.tar.gz
- Upload date:
- Size: 2.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca2d3ca2f76ae191c32debf83554b7729922a56b1c87dea73a671fdcba5239d3
|
|
| MD5 |
051ad9039d3d9c76c5e9319ebef02651
|
|
| BLAKE2b-256 |
881444e626b9a3b1f49a25a6e87df547e4993dc629ea888f292f35cd5876790c
|
File details
Details for the file fabgate-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fabgate-0.1.0-py3-none-any.whl
- Upload date:
- Size: 53.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1618a013a98f8faf0fcb9b7f6426a72bba56bf73e1d41eb14c028122c81e59eb
|
|
| MD5 |
74d6affad19101b2bb5ec8b0a2b6fd9a
|
|
| BLAKE2b-256 |
2700a797d2e5a62b74a1288dd4f4f2357d5968998fc0b0854bab21ca0394e043
|