Sexp

Official

Sexp: Zig S-expression tooling for KiCad.

Authoratopile
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a Zig-based S-expression engine and KiCad model bindings, exposing them to Python to enable seamless parsing, formatting, and manipulation of KiCad data within Python tooling.

Core Features & Use Cases

  • Fast Zig tokenizer, parser, and pretty-printer for S-expressions used in KiCad data.
  • Typed KiCad models exposed to Python via the pyzig_sexp extension, enabling Pythonic interaction with PCB, footprint, and schematic data.
  • Use Case: Automate validation and transformation of KiCad files in a Python workflow or integrate S-expression tooling into KiCad design pipelines.

Quick Start

from pathlib import Path from faebryk.libs.kicad.fileformats import kicad

pcb = kicad.loads(kicad.pcb.PcbFile, Path("board.kicad_pcb")) _text = kicad.dumps(pcb)

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Sexp
Download link: https://github.com/atopile/atopile/archive/main.zip#sexp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.