Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for laylight-cli 0.3.1
File
laylight_cli-0.3.1-py3-none-win_amd64.win_arm64.whl Python 3 none Windows x86-64, Windows ARM64 Details
laylight_cli-0.3.1-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.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
laylight_cli-0.3.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
laylight_cli-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 MB

Release files / laylight_cli-0.3.1-py3-none-win_amd64.win_arm64.whl

Download URL laylight_cli-0.3.1-py3-none-win_amd64.win_arm64.whl
Size 2.1 MB
Tags Python 3 Windows ARM64 Windows x86-64
SHA-256 checksum
How to use checksums
3e4e90355a95b4f74bd26cd0c88d2f9ce76ecb95fda5b27aa0343f1214f80e78
BLAKE2b-256 checksum
How to use checksums
b4249f15f400b9b7b1bc90e9ea9cc48cd22448587e4ba6cf587ec94afae342e4
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.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL laylight_cli-0.3.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.0 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1eac99ad5def9e33db17480c7a937acb90c5d3f5bdf9e1dc7dab2e9e274a606f
BLAKE2b-256 checksum
How to use checksums
ba60b8bec16c973b6d30cd210c0106f3bb0a5106f769df58eeacec23c1c52499
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.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL laylight_cli-0.3.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.8 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
95c3c508f6f5c76a2ef09679597bcebf8129337985c8bc01744a3ff04db619c2
BLAKE2b-256 checksum
How to use checksums
49721cc5b810a2f40615327183424caeaaaeaac6f483bf200ad83ec714fffa45
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.1-py3-none-macosx_11_0_arm64.whl

Download URL laylight_cli-0.3.1-py3-none-macosx_11_0_arm64.whl
Size 1.8 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1dafff48f75d39dbd9bc7124b5e4970a90f41a3e5731d3f1e52eae9d8d28d6c8
BLAKE2b-256 checksum
How to use checksums
431820786f28a005aebc70e41acd51a32a37c079b334db35c409e3fd5292d626
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.1-py3-none-any.whl

Download URL laylight_cli-0.3.1-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
57e322a5a9b01d542453a390215509ac71a6acfe133fdc3db4de36167e575d35
BLAKE2b-256 checksum
How to use checksums
17c47d4edaeb60a8750f3e5f240e7fe9ebbe8239823ce6259adfb38610aff3a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.3.1 This release

5 release files

0.3.0

5 release files

0.2.2

5 release files

0.2.1

5 release files

0.2.0

5 release files

0.1.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page