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.

Metadata

Release files for laylight-cli 0.2.2

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.2.2
File
laylight_cli-0.2.2-py3-none-win_amd64.win_arm64.whl Python 3 none Windows ARM64, Windows x86-64 Details
laylight_cli-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
laylight_cli-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details
laylight_cli-0.2.2-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
laylight_cli-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

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

Download URL laylight_cli-0.2.2-py3-none-win_amd64.win_arm64.whl
Size 1.2 MB
Tags Python 3 Windows ARM64 Windows x86-64
SHA-256 checksum
How to use checksums
b7bc559ec0b86aa48b88a89e4012f2ec9ea19b82727c9d5a4af5aa60b1e4ba9a
BLAKE2b-256 checksum
How to use checksums
276c42bf51b54d06047c7c9a56f185f6a617eee9d8e138d978edfe8c8c794615
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.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL laylight_cli-0.2.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 1.2 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
6f4a965969d32e2dcfe9af5b741780dda62ecb893fdb2750b6b177122ca2f8c3
BLAKE2b-256 checksum
How to use checksums
6bfd13b42e2ae6ac91c553f01ae5c8e52e4b07140fe0d08c040b2df9671ef47b
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.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL laylight_cli-0.2.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 1.1 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
f9cca0d55fc74eb6645252f96e2a046f47e7995b5d3fb77b18f813b276752343
BLAKE2b-256 checksum
How to use checksums
e71bfbb8c71da56a1c67ba0b96e60fe6918bd7ecd0e532219f33fccecda9f3b4
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.2.2-py3-none-macosx_11_0_arm64.whl

Download URL laylight_cli-0.2.2-py3-none-macosx_11_0_arm64.whl
Size 1.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0f78352c1f0fc8cc132755dddafd33645c605eff9b8a5b43c1b6cc03e9a6ade3
BLAKE2b-256 checksum
How to use checksums
6943b9640bd7f878cd7a4cc8733427ea6e75a49b332467cec18cd04524d9d98c
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.2.2-py3-none-any.whl

Download URL laylight_cli-0.2.2-py3-none-any.whl
Size 2.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
812ea9e6a97882d7618bef425b6464b277656657db409827ce0c71a2827860f5
BLAKE2b-256 checksum
How to use checksums
dfa35dc382b71fbde7a66826424729ee84524766950a878bc7e6d764a416cc5f
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

0.3.1

5 release files

0.3.0

5 release files

This release

0.2.2 This release

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