Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 08:55
· 18 commits to main since this release

Python wheel 直接下载 · Direct downloads

平台 · Platform 下载 · Download
Linux x86_64 (glibc 2.28+) manylinux wheel
macOS 11+ arm64 Apple Silicon wheel
Windows x64 Windows wheel

下载与系统匹配的 wheel,用 CPython 3.11 或更高版本离线安装。核心 GDSII/OASIS 读写和几何操作无需其他 Python 包。NumPy、PyTorch 和 Pillow 按用途选装。

Download the wheel for your platform and install it offline with CPython 3.11 or newer. Core GDSII/OASIS I/O and geometry have no third-party Python requirements. NumPy, PyTorch, and Pillow are optional.

python -m pip install --no-index --no-deps PATH_TO_WHEEL.whl

独立 CLI 与源码 · Standalone CLI and sources

平台或用途 · Platform or purpose 下载 · Download
Linux x86_64 baseline (static musl) CLI tar.gz
macOS 11+ arm64 CLI tar.gz
Windows x64 CLI ZIP
Python 源码 · Python source sdist
Rust 源码 · Rust source Cargo archive
SHA-256 校验 · Checksums SHA256SUMS

解压后直接运行包内的 layouttk --help。Windows 的文件名为 layouttk.exe。独立 CLI 无需 Python 或 Rust 工具链,包内有简体中文、英文命令行指南和 Agent Skill。

Unpack the archive and run layouttk --help using the bundled executable. On Windows the executable is named layouttk.exe. The standalone CLI needs no Python or Rust toolchain. Archives include Simplified Chinese and English command guides and an Agent Skill.

Linux x86_64 baseline 静态链接 musl,无需系统 glibc、musl 或 AVX/AVX2。发布文件已在 QEMU 中用 Debian Wheezy 的 Linux 3.2.0-4-amd64 内核及禁用较新指令的 x86-64 CPU 实测。

The static Linux baseline archive was tested on Linux 3.2.0-4-amd64 in QEMU with newer CPU instructions disabled. It requires no system glibc, musl, AVX, or AVX2.

Homebrew 支持 Apple Silicon macOS 和 Linux x86_64。The project tap installs the same prebuilt CLI archives.

brew tap zwh42/layouttk https://github.com/zwh42/layouttk
brew install zwh42/layouttk/layouttk

简体中文

  • 用 layouttk --help 按任务找命令。Agent 可用 layouttk describe --json 离线读取命令、默认值和示例。
  • 用 boolean 合并两层或从一层挖去另一层,用 geometry 做偏置、圆角、路径和其他坐标计算。
  • 用 query 查单元、标签、范围和面积,用 edit 批量修改层级、图层、属性和重复。用 model 交换完整存储记录。
  • 用 raster 在版图和二值图像间交换数据及写 PNG,用 view 输出 SVG 或离线 HTML。GDSII 单位、摘要和原始记录由 gds 提供。
  • 从已有版图抽层的中英文入门步骤均写清了要替换的参数、输出位置和 KLayout 核验方法。

中文命令行指南 · 项目主页

English

  • Use layouttk --help to find a command by task. Agents can read the local command index and examples with layouttk describe --json.
  • Combine layers or subtract one from another with boolean. Use geometry for offsets, fillets, curves, tracks, and coordinate calculations.
  • Use query for hierarchy, labels, bounds, and area. Use edit for ordered cell, layer, property, and repetition changes. Use model to exchange stored records.
  • Use raster for mask exchange and PNG, view for SVG and offline HTML, and gds for units, content hashes, and raw records.
  • Follow the bilingual extraction guide to choose a layer, write an output file, and check it in KLayout.

Command-line guide · PyPI · crates.io