laylight-cli
The laylight command line for Laylight, a language for photonic and integrated-circuit layouts. It checks, formats and compiles Laylight files to GDSII, writes netlists, publishes cells as blackboxes and turns GDSII back into Laylight source.
pip install laylight-cli # or: uv tool install laylight-cli, pipx install laylight-cli
The Laylight Python library depends on this package, so pip install laylight installs the command too.
laylight check ring.lyl # syntax, types, units and evaluation
laylight build ring.lyl -o ring.gds # compile to GDSII
laylight ir ring.lyl # print the Laylight IR
laylight netlist ring.lyl # connectivity as JSON; `lvs` compares it
laylight fmt ring.lyl # format in place
laylight decompile chip.gds -o chip.lyl
laylight blackbox ring.lyl -o ring.lyir # publish outline and ports; `unbox` restores the cell
laylight build chip.gds -o filled.gds --dummy si # add dummy fill to a layer
The wheels hold a native executable for Linux x86-64 and ARM64 (glibc 2.17 or later), macOS on Apple silicon and Windows x86-64; it does not depend on the Python version. On other systems the package installs a laylight command that only reports the missing build. See the Installation Guide for other ways to install, and the Changelog for what each release changed.
laylight sends anonymous usage statistics (command, option names, file kinds and sizes, run time, version, system; never file names, contents or identifiers, and nothing in CI). Turn them off with laylight telemetry disable or LAYLIGHT_TELEMETRY=0; see Telemetry.
Metadata
Release files for laylight-cli 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| laylight_cli-0.3.0-py3-none-win_amd64.win_arm64.whl | Python 3 | none | Windows ARM64, Windows x86-64 | Details |
| laylight_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| laylight_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| laylight_cli-0.3.0-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| laylight_cli-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.1 MB
Release files / laylight_cli-0.3.0-py3-none-win_amd64.win_arm64.whl
| Download URL | laylight_cli-0.3.0-py3-none-win_amd64.win_arm64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 Windows ARM64 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4f35e0d944ed5e1b2ba91ec7c86759904b0459420a8eefe01c4b36acff92991c
|
|
BLAKE2b-256 checksum How to use checksums |
df5bb5635c619ae57dedc1adbddb9c46f763f6fea6031c4fccc2814e00262d6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / laylight_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | laylight_cli-0.3.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
7f4207263f7856f3df43a6a214d9f5ea38ac01543573ee588fcd2ddbb55bd8e5
|
|
BLAKE2b-256 checksum How to use checksums |
691138800a043349263d2ead206048d1c95f9a9a8b200d23bee1d888c745a291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / laylight_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | laylight_cli-0.3.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
b6c9d144eb33ba6733f0aebe6bef14431269ec186f0c4f6180deaf6c903753ad
|
|
BLAKE2b-256 checksum How to use checksums |
20bdd34a4f93e32d6caf57e47f0c024de7d4344257fefcd224849fd7b4689211
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / laylight_cli-0.3.0-py3-none-macosx_11_0_arm64.whl
| Download URL | laylight_cli-0.3.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.5 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d47c91fc3dc382713c760f01314c5c07dacbb549c421b4b116fba4fd98f22f44
|
|
BLAKE2b-256 checksum How to use checksums |
e452dc3353bd90f70237240f8fc130e39647e29e57e2fb939019202a80f70584
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / laylight_cli-0.3.0-py3-none-any.whl
| Download URL | laylight_cli-0.3.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2504d34707615fd91d8f142e81d542bd3654d7c3f088406a88203d819fbd1a14
|
|
BLAKE2b-256 checksum How to use checksums |
16f8d2ef4d2a0e6c678f9426eb179f7e032c7e5eb53fe3dacc6f149dcdafd03c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|