<h1 align=center> layout2svg </h1>
<div align=justify>
<p> 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. </p>
</div>
<h2 align=center> Installation </h2>
<h3 align=center> MacOS, Linux, Windows </h3>
```bash
pip install layout2svg
```
<h2 align=center> Usage - Command Line Interface </h2>
```bash
layout2svg -i <input_file_path [.gds/.oas]> -o <output_file_path [.svg]> -t <layerstack_file_path [.ymls]>
```
<h2 align=center> Examples </h2>
<p>
Running the example with the mock layerstack file and layout provided in the <a href="tests/data/">examples</a>, by running the following command:
</p>
```bash
layout2svg -i ./tests/data/crossed_metal.gds -t ./tests/data/mock_layers.ymls -o ./tests/data/crossed_metal.svg
```
<p>
can generate the following SVG image:
</p>
<p align=center>
<img src="tests/data/crossed_metal.png" width=400/>
</p>
Raw data
{
"_id": null,
"home_page": "https://github.com/das-dias/layout2svg",
"name": "layout2svg",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.9,<4.0",
"maintainer_email": "",
"keywords": "layout,svg,gds2,oasis",
"author": "dasdias",
"author_email": "das.dias6@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/5b/c8/669f1c2b68e79bf154b8006e6e505255c205d44e2e7dfca34df974d08369/layout2svg-0.1.6.tar.gz",
"platform": null,
"description": "<h1 align=center> layout2svg </h1>\n\n<div align=justify>\n<p> 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. </p>\n</div>\n\n<h2 align=center> Installation </h2>\n\n<h3 align=center> MacOS, Linux, Windows </h3>\n\n```bash\npip install layout2svg\n```\n\n<h2 align=center> Usage - Command Line Interface </h2>\n\n```bash\nlayout2svg -i <input_file_path [.gds/.oas]> -o <output_file_path [.svg]> -t <layerstack_file_path [.ymls]>\n```\n\n<h2 align=center> Examples </h2>\n\n<p>\nRunning the example with the mock layerstack file and layout provided in the <a href=\"tests/data/\">examples</a>, by running the following command:\n</p>\n\n```bash\nlayout2svg -i ./tests/data/crossed_metal.gds -t ./tests/data/mock_layers.ymls -o ./tests/data/crossed_metal.svg\n```\n\n<p>\ncan generate the following SVG image:\n</p>\n\n<p align=center>\n\n\n<img src=\"tests/data/crossed_metal.png\" width=400/>\n\n</p>\n",
"bugtrack_url": null,
"license": "GPLv2",
"summary": "A package to convert IC layouts (GDS2 and OASIS) to SVG.",
"version": "0.1.6",
"project_urls": {
"Homepage": "https://github.com/das-dias/layout2svg",
"Repository": "https://github.com/das-dias/layout2svg"
},
"split_keywords": [
"layout",
"svg",
"gds2",
"oasis"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "bccba137106c09d25d245df6c39c4a46d824b62fc5a3937d2ddef7d1efdfbabd",
"md5": "3722afe5bcd1e5060aa8dd321d6edd74",
"sha256": "8b233a0fdf01076c0709ae26d631fd240749114ccff203048e39c3a95f1dec29"
},
"downloads": -1,
"filename": "layout2svg-0.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3722afe5bcd1e5060aa8dd321d6edd74",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9,<4.0",
"size": 13819,
"upload_time": "2023-08-08T12:50:13",
"upload_time_iso_8601": "2023-08-08T12:50:13.991500Z",
"url": "https://files.pythonhosted.org/packages/bc/cb/a137106c09d25d245df6c39c4a46d824b62fc5a3937d2ddef7d1efdfbabd/layout2svg-0.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5bc8669f1c2b68e79bf154b8006e6e505255c205d44e2e7dfca34df974d08369",
"md5": "eb6dd4acc18834c9196b586aaf42acf1",
"sha256": "c428f6feae55aa7559b6e1c43831036baea42049b2b4231641370cd3e262eb5d"
},
"downloads": -1,
"filename": "layout2svg-0.1.6.tar.gz",
"has_sig": false,
"md5_digest": "eb6dd4acc18834c9196b586aaf42acf1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9,<4.0",
"size": 13118,
"upload_time": "2023-08-08T12:50:15",
"upload_time_iso_8601": "2023-08-08T12:50:15.619491Z",
"url": "https://files.pythonhosted.org/packages/5b/c8/669f1c2b68e79bf154b8006e6e505255c205d44e2e7dfca34df974d08369/layout2svg-0.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-08 12:50:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "das-dias",
"github_project": "layout2svg",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "layout2svg"
}