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

Total release size: 8.7 MB

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

Download URL laylight_cli-0.3.2-py3-none-win_amd64.win_arm64.whl
Size 2.4 MB
Tags Python 3 Windows ARM64 Windows x86-64
SHA-256 checksum
How to use checksums
de1280f3df03199158e1b46df54958dbd5fc03e557c52b3d6b23d9ac1ba4c847
BLAKE2b-256 checksum
How to use checksums
09183578767904698a10cd119b07f5a5539d97e850d10f91b2e9ac842fd51f1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / laylight_cli-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL laylight_cli-0.3.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
273915dd8ccacbfd070801546e5c06bc4d338dff2115f317705eb45062211258
BLAKE2b-256 checksum
How to use checksums
b4af840a2b88d5a315294a4a6e13fb482a9c104b18df6e0f761838cb56471dcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / laylight_cli-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL laylight_cli-0.3.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.0 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
66b51d47917315039363383c4f0ff1b378ce4cbcdcf439e42b91e00c2dbc8d3a
BLAKE2b-256 checksum
How to use checksums
17b9c324b4142082f206e5c57e5211b7ae9fe9d08d2199dbb271794842f57622
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / laylight_cli-0.3.2-py3-none-macosx_11_0_arm64.whl

Download URL laylight_cli-0.3.2-py3-none-macosx_11_0_arm64.whl
Size 2.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b956aefdfe37060c7d987a97c15f9a741b5e5f1d0c6c08b88ffc1a4bf84dcc06
BLAKE2b-256 checksum
How to use checksums
e69c0d6c9b9119e84a9418033c6f36fb511c0cafea8eb5580798672e3e0f346a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / laylight_cli-0.3.2-py3-none-any.whl

Download URL laylight_cli-0.3.2-py3-none-any.whl
Size 2.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33e83bd6e026d7db1dd3dc9551a4f349eba3c3bbbd5b53455c8b15ebd7e149a2
BLAKE2b-256 checksum
How to use checksums
88c980ddca2351577425d2b813af826270048e591cfc60fabbc3eda556e40b8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Security for laylight-cli 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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