KLayout is a layout viewer and editor primarily for integrated circuit layouts (GDSII, OASIS). The `klayout` Python package (v0.30.7) provides a standalone scripting interface to KLayout's powerful database and geometry manipulation functionalities, allowing users to programmatically create, modify, and analyze layouts without requiring the full graphical application. It maintains an active release cadence, with minor updates released frequently to address issues and enhance features, often multiple times a month.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
For Python scripting, `klayout.db` is the recommended and modern way to access the layout database. `pya` is a legacy module, primarily for backward compatibility within the KLayout application's own interpreter, and may not be reliably available or updated with `pip install klayout`.
The `Layout` class is part of the `klayout.db` module.
The `LayerInfo` class for defining layers is part of the `klayout.db` module.
This quickstart demonstrates how to create a new GDSII layout, define a cell and layer, add a simple rectangular shape, and save the result using the `klayout.db` module.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.
No traffic data recorded yet.