Pheon
Pheon reads GDSII layouts into Apache Arrow and provides command-line tools for inspecting and comparing layout revisions. It is written in Rust, with Python bindings and a C API.
- Inspect cells, records, and reference hierarchies.
- Compare layout objects, with text or JSON reports and Git integration.
- Read geometry into Arrow, or scan the hierarchy before loading selected cells.
Comparisons ignore timestamps and element order while preserving duplicates and other object details. They compare object fields and coordinates exactly; see the comparison rules for supported normalization and limits.
Try the command-line tools
From a source checkout, install the CLI with Rust 1.88 or newer:
cargo install --path . --locked --bin pheon
pheon dump chip.gds
pheon diff before.gds after.gds
pheon hierarchy chip.gds --format mermaid
diff returns 0 for equality, 1 for differences, and 2 for invalid or incomplete
comparisons. Start with the CLI guide, then set up
Git integration if you review layouts in a repository.
Read layouts in Python
Python 3.11 or newer is required. From a source checkout:
python -m pip install .
Run Python outside the source checkout to use the installed package:
from pheon import arrow
layout = arrow.read_path("chip.gds")
print(layout.field("lib_name")[0].as_py())
Source installation needs Rust; prebuilt Python wheels bundle the native library. The Python guide covers installation, selected reads, and integer packing. The Arrow reference describes the returned data.
Learn more
Browse the documentation for layer names, native integration, JSON reports, development, and releases. For writing, Pheon provides low-level GDSII record helpers in Rust.
Licensed under GPL-3.0-only.
Metadata
Release files for pheon 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pheon-0.3.0.tar.gz | 158.3 kB | Without provenance | Details for pheon-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pheon-0.3.0-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for pheon-0.3.0-py3-none-manylinux_2_28_x86_64.whl |
Total release size: 861.3 kB
Release files / pheon-0.3.0.tar.gz
| Download URL | pheon-0.3.0.tar.gz |
|---|---|
| Size | 158.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d41905da774a7dd78212265caf01a2ad290e3e076dddfc3a9176a82d23e6cb3a
|
|
BLAKE2b-256 checksum How to use checksums |
093ef523cf7b91db539e35911cec7d4c98695a433f93c03da7696f5c59c1af9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Release files / pheon-0.3.0-py3-none-manylinux_2_28_x86_64.whl
| Download URL | pheon-0.3.0-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 703.0 kB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
9fdbc144d6fe6a169a32f9ad7d5ffb3b0e86813045dd9ec180d552117757f03c
|
|
BLAKE2b-256 checksum How to use checksums |
88d03e3bcd9bd3dca13f3410a812e8740f9e9c2b81b53eb53eeb957db0b02cb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.18
|
Security for pheon 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.