Introduce Pheon GDSII parsing and layout review tools

Implement native GDSII reading and writing with Arrow interchange, hierarchy
scans and selective cell loading. Validate numeric packing and array pitches,
and preserve normalized REAL8 encodings exactly within the supported range.

Add standalone dump, structural diff, hierarchy, layer-name annotation and Git
diff commands. Provide scoped text and JSON reports, deterministic comparison,
and record-preserving metadata edits.

Package the shared library and optional Python Arrow readers as pheon using
CFFI ABI mode and Python-independent platform wheels. Include locked source
builds, native API checks, cross-platform artifact workflows, documentation
and regression coverage. Require Rust 1.88 or newer and Python 3.11 or newer.

Validation: 87 native tests, 14 binding tests on Python 3.11/3.13/3.14,
and 71 installed companion integration tests pass. Full, scanned and selected
Arrow layouts match the previous schemas.
This commit is contained in:
Jan Petykiewicz 2026-11-16 16:21:21 -08:00
commit b3346b40a4
2 changed files with 12956 additions and 1 deletions

5
contrib/git/attributes Normal file
View file

@ -0,0 +1,5 @@
# Add these lines to the layout repository's .gitattributes.
*.gds diff=pheon
# For canonical textconv instead, replace the line above with:
# *.gds diff=pheon-text

10
contrib/git/config Normal file
View file

@ -0,0 +1,10 @@
# Include this file from Git config after installing pheon on PATH.
[diff "pheon"]
command = pheon git-diff --hierarchy ascii --
binary = true
trustExitCode = false
[diff "pheon-text"]
textconv = pheon dump
binary = true
cachetextconv = true