Repository navigation
v0.3.0
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 --helpto find a command by task. Agents can read the local command index and examples withlayouttk describe --json. - Combine layers or subtract one from another with
boolean. Usegeometryfor offsets, fillets, curves, tracks, and coordinate calculations. - Use
queryfor hierarchy, labels, bounds, and area. Useeditfor ordered cell, layer, property, and repetition changes. Usemodelto exchange stored records. - Use
rasterfor mask exchange and PNG,viewfor SVG and offline HTML, andgdsfor units, content hashes, and raw records. - Follow the bilingual extraction guide to choose a layer, write an output file, and check it in KLayout.