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

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

Total release size: 4.5 MB

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

Download URL laylight_cli-0.2.1-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
cdaf5133e00a3396778e39d5050262399f5b76d5dd5410eb0a4f59635897c447
BLAKE2b-256 checksum
How to use checksums
42e347f805919034b805a765ab989b0d53b1b14c947962f1a7ddd2b96afe6ed9
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.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL laylight_cli-0.2.1-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
997afc6b8deecca4f8182103b65b29658201209b737dc5f6aad59b66724b31d3
BLAKE2b-256 checksum
How to use checksums
022cd275025c6488acdab229dcd3ae8e5750375e611264743540c7b408b65022
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.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL laylight_cli-0.2.1-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
015a153d11d432acb389a9a6561cb65b4e1ec8d38383ec77a6f43ce56eb83ddd
BLAKE2b-256 checksum
How to use checksums
4708b4f203b0ef5bb948b180d266043f83a99dc8497ca1f1c202e28dc134f948
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.1-py3-none-macosx_11_0_arm64.whl

Download URL laylight_cli-0.2.1-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
681ca4ed36de5d72e9618e737b2a84d7359789cfaa7b9412dfb2bdf9c161d5e2
BLAKE2b-256 checksum
How to use checksums
944360b4eb69c720096a5a3196f58de06392153aeb68d237328679c94ede050a
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.1-py3-none-any.whl

Download URL laylight_cli-0.2.1-py3-none-any.whl
Size 2.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b0efc01bf0068b85d15bb7ac322f6cdcbba06f24ca5f7217a0c87dfd0a0ddae
BLAKE2b-256 checksum
How to use checksums
80e4d79b985292576e33837b51959ac914b4ade0c8d28a26a07c4d07e789d529
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

0.2.2

5 release files

This release

0.2.1 This release

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