Repository navigation
v0.4.1
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简体中文
- CLI 增加
--format json,统一返回schema_version、status和report。原本静默的写入命令可返回输出路径。现有命令的默认输出、check --json和退出码保持兼容。 layouttk batch按顺序执行 JSONL 请求,可把请求的input交给原本从标准输入读 JSON 的命令。每行结果带来源行号和可选 ID。用--keep-going在失败或核验发现差异后继续。describe --json增加标准输入与输出说明、命令路径和参数元数据,便于离线查询。- Python 增加不可变的
LayerSet。图层筛选可用+、|、&、-和^组合。通过cell.region(layer)取得填充几何后,可用Region + Region求几何并集。 - 中英文手册增加了 ASAP7、SiEPIC 和其他公开版图实例。离线 Skill 收录抽层、硅光裁片、交付核验以及从图像生成 OASIS 的示例。
- 本版本按 MIT 许可证发布,保留 gdspy 派生代码的 BSL-1.0 声明。
English
- Use
--format jsonfor a versioned CLI result withschema_version,status, andreport. File writes can report their output paths. Existing default output,check --json, and exit codes remain compatible. - Run ordered JSONL jobs with
layouttk batch. Each request can supply its own JSON stdin and each response includes its source line and optional ID. Use--keep-goingto continue after an error or a verification difference. - The offline
describe --jsoncommand index now exposes stdin and stdout conventions, command paths, and argument metadata. - Python adds the immutable
LayerSetfor composing layer filters with+,|,&,-, and^. UseRegion + Regionfor the geometric union of filled areas. - The bilingual manuals include examples using ASAP7, SiEPIC, and other public layouts. The offline skill includes layer extraction, photonics clipping, delivery verification, and image-to-OASIS examples.
- This release uses the MIT license and retains the BSL-1.0 notice for code derived from gdspy.