--- id: klayout version: "0.30.10" license: GPL-3.0-or-later license_treatment: copyleft maintenance: active --- # klayout — KLayout standalone Python package License: copyleft · Maintenance: active · Downloads: 407.9K/mo ## What it is and what it does KLayout is a standalone Python package that brings layout design and manipulation capabilities to Python scripts. It is primarily used in electronic design automation (EDA) workflows to programmatically create, read, and modify integrated circuit layouts. The package exposes a Python API to KLayout's core functionality, allowing developers to automate design tasks, perform batch processing of layout files, and integrate layout operations into larger design flows. The package has no runtime dependencies and is distributed as pre-compiled wheels across Linux, macOS, and Windows. It is actively maintained with regular releases, making it a stable choice for production EDA automation. The GPL-3.0-or-later license means it is free to use in open-source projects but requires careful consideration for proprietary applications. Use it for: - Automate batch processing of layout files in design verification and manufacturing workflows. - Programmatically generate or modify circuit layouts as part of a design automation pipeline. - Integrate layout analysis and manipulation into custom EDA tools or design rule checking scripts. - Develop Python-based design scripts that interact with KLayout's layout database and geometry operations. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. KLayout is a Python package for layout viewing, editing, and scripting in electronic design automation (EDA) workflows, providing programmatic access to design manipulation and analysis. Yes, if you need Python-based layout manipulation in EDA workflows and can work with a GPL-3.0-or-later copyleft license. The package is actively maintained, has no runtime dependencies, and offers broad platform support. No, if your project requires proprietary licensing or you need a permissively licensed alternative. ## Install pip install klayout uv add klayout poetry add klayout ## Installing klayout Before you install: Medium install friction due to compiled wheels across multiple platforms and Python versions. Active maintenance with recent releases; last commit 2026-08-14 and latest release 2026-07-28 indicate ongoing development. License in practice: GPL-3.0-or-later copyleft license means any derivative work or distribution must also be open-source under compatible terms. Suitable for open-source projects; proprietary use requires careful review or licensing negotiation. Quickstart: pip install klayout import klayout.db as db layout = db.Layout() layer = layout.layer(10, 0) No external runtime dependencies, but the package is a compiled extension; ensure your Python version and platform (Linux, macOS, Windows) match an available wheel. Verify before relying: - Whether the package requires Qt libraries at runtime or only at build time for GUI functionality. - Specific EDA file formats (GDS, LEF, DEF) supported by the Python API beyond layout creation. - Performance characteristics and scalability for large design files. - Whether Python 2 support mentioned in classifiers is still actively maintained. ## Package facts - License: GPL-3.0-or-later (copyleft) - Python support: unspecified - Install friction: medium - Maintenance: active - Downloads: 407.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags EDA layout viewer Python, circuit design automation scripting, GDS layout processing, chip design layout tools, electronic design layout library, eda, layout-design, chip-design [View on SkillFed](https://skillfed.io/packages/klayout) · [View on PyPI](https://pypi.org/project/klayout/)