layout2svg
This is a simple tool to convert an integrated circuit layout saved in OASIS / GDSII file format to a .SVG image file. The tool supports direct export of the SVG file into the Inkscape desktop app. This tool was written with the goal of rendering any layout in a desktop or web application.
Installation
MacOS, Linux, Windows
pip install layout2svg
Usage - Command Line Interface
layout2svg -i <input_file_path [.gds/.oas]> -o <output_file_path [.svg]> -t <layerstack_file_path [.ymls]>
Examples
Running the example with the mock layerstack file and layout provided in the examples, by running the following command:
layout2svg -i ./tests/data/crossed_metal.gds -t ./tests/data/mock_layers.ymls -o ./tests/data/crossed_metal.svg
can generate the following SVG image:
Metadata
Release files for layout2svg 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| layout2svg-0.1.6.tar.gz | 13.1 kB | Without provenance | Details for layout2svg-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| layout2svg-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for layout2svg-0.1.6-py3-none-any.whl |
Total release size: 26.9 kB
Release files / layout2svg-0.1.6.tar.gz
| Download URL | layout2svg-0.1.6.tar.gz |
|---|---|
| Size | 13.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c428f6feae55aa7559b6e1c43831036baea42049b2b4231641370cd3e262eb5d
|
|
BLAKE2b-256 checksum How to use checksums |
5bc8669f1c2b68e79bf154b8006e6e505255c205d44e2e7dfca34df974d08369
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Darwin/22.5.0
|
Release files / layout2svg-0.1.6-py3-none-any.whl
| Download URL | layout2svg-0.1.6-py3-none-any.whl |
|---|---|
| Size | 13.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8b233a0fdf01076c0709ae26d631fd240749114ccff203048e39c3a95f1dec29
|
|
BLAKE2b-256 checksum How to use checksums |
bccba137106c09d25d245df6c39c4a46d824b62fc5a3937d2ddef7d1efdfbabd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.9.7 Darwin/22.5.0
|
Security for layout2svg 0.1.6
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.