{"id":13736132,"url":"https://gdsfactory.github.io/gdsfactory/","last_synced_at":"2025-05-08T12:32:17.227Z","repository":{"id":36970280,"uuid":"250169028","full_name":"gdsfactory/gdsfactory","owner":"gdsfactory","description":"python library to design chips (Photonics, Analog, Quantum, MEMs, ...), objects for 3D printing or PCBs.","archived":false,"fork":false,"pushed_at":"2025-04-29T23:07:17.000Z","size":41309,"stargazers_count":639,"open_issues_count":103,"forks_count":266,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-30T00:19:49.450Z","etag":null,"topics":["3d-printing","cad","eda","gds","gdsfactory","gdsii","hardware","klayout","pcb-layout","photonics","python","simulation"],"latest_commit_sha":null,"homepage":"https://gdsfactory.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gdsfactory.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"docs/code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-26T05:26:19.000Z","updated_at":"2025-04-28T22:48:11.000Z","dependencies_parsed_at":"2023-09-25T01:00:28.064Z","dependency_job_id":"bba054f1-92fe-49fd-8e1f-88cef1b11361","html_url":"https://github.com/gdsfactory/gdsfactory","commit_stats":{"total_commits":6474,"total_committers":52,"mean_commits":124.5,"dds":0.5444856348470806,"last_synced_commit":"88d2b93cd374e588f54c23b357e66fc078f28590"},"previous_names":[],"tags_count":902,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdsfactory%2Fgdsfactory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdsfactory%2Fgdsfactory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdsfactory%2Fgdsfactory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gdsfactory%2Fgdsfactory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gdsfactory","download_url":"https://codeload.github.com/gdsfactory/gdsfactory/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253068830,"owners_count":21848874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["3d-printing","cad","eda","gds","gdsfactory","gdsii","hardware","klayout","pcb-layout","photonics","python","simulation"],"created_at":"2024-08-03T03:01:16.360Z","updated_at":"2025-05-08T12:32:17.213Z","avatar_url":"https://github.com/gdsfactory.png","language":"Python","funding_links":[],"categories":["Analogue focussed tools","layout","Quantum simulators","Layout"],"sub_categories":[],"readme":"# GDSFactory 9.5.7\n\n[![docs](https://github.com/gdsfactory/gdsfactory/actions/workflows/pages.yml/badge.svg)](https://gdsfactory.github.io/gdsfactory/)\n[![PyPI](https://img.shields.io/pypi/v/gdsfactory)](https://pypi.org/project/gdsfactory/)\n[![PyPI Python](https://img.shields.io/pypi/pyversions/gdsfactory.svg)](https://pypi.python.org/pypi/gdsfactory)\n[![Downloads](https://static.pepy.tech/badge/gdsfactory)](https://pepy.tech/project/gdsfactory)\n[![MIT](https://img.shields.io/github/license/gdsfactory/gdsfactory)](https://choosealicense.com/licenses/mit/)\n[![codecov](https://img.shields.io/codecov/c/github/gdsfactory/gdsfactory)](https://codecov.io/gh/gdsfactory/gdsfactory/tree/main/gdsfactory)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/gdsfactory/binder-sandbox/HEAD)\n\n\nGDSFactory is a Python library for designing chips (Photonics, Analog, Quantum, MEMS), PCBs, and 3D-printable objects. We aim to make hardware design accessible, intuitive, and fun—empowering everyone to build the future.\n\nAs input you write python code, as an output GDSFactory creates CAD files (GDS, OASIS, STL, GERBER).\n\n![cad](https://i.imgur.com/3cUa2GV.png)\n\n## Quick Start\n\nHere's a simple example to get you started:\n\n```python\nimport gdsfactory as gf\n\n# Create a new component\nc = gf.Component()\n\n# Add a rectangle\nrect = c.add_ref(gf.components.rectangle(size=(10, 10), layer=(1, 0)))\n\n# Add text elements\ntext1 = c.add_ref(gf.components.text(\"Hello\", size=10, layer=(2, 0)))\ntext2 = c.add_ref(gf.components.text(\"world\", size=10, layer=(2, 0)))\n\n# Position elements\ntext1.xmin = rect.xmax + 5\ntext2.xmin = text1.xmax + 2\ntext2.rotate(30)\n\n# Show the result\nc.show()\n```\n\nHighlights:\n\n- +2M downloads\n- +79 Contributors\n- +25 PDKs available\n\n![workflow](https://i.imgur.com/KyavbHh.png)\n\nWe provide a comprehensive end-to-end design flow that enables you to:\n\n- **Design (Layout, Simulation, Optimization)**: Define parametric cell functions in Python to generate components. Test component settings, ports, and geometry to avoid unwanted regressions, and capture design intent in a schematic.\n- **Verify (DRC, DFM, LVS)**: Run simulations directly from the layout using our simulation interfaces, removing the need to redraw your components in simulation tools. Conduct component and circuit simulations, study design for manufacturing. Ensure complex layouts match their design intent through Layout Versus Schematic verification (LVS) and are DRC clean.\n- **Validate**: Define layout and test protocols simultaneously for automated chip analysis post-fabrication. This allows you to extract essential component parameters, and build data pipelines from raw data to structured data to monitor chip performance.\n\nYour input: Python or YAML text.\nYour output: A GDSII or OASIS file for fabrication, alongside component settings (for measurement and data analysis) and netlists (for circuit simulations) in YAML.\n\nWe provide a common syntax for design (Ansys, Lumerical, Tidy3d, MEEP, DEVSIM, SAX, MEOW, Xyce ...), verification, and validation.\n\n![tool interfaces](https://i.imgur.com/j5qlFWj.png)\n\n\n## Open-Source PDKs (No NDA Required)\n\nThese PDKs are publicly available and do not require an NDA:\n\n- [GlobalFoundries 180nm MCU CMOS PDK](https://gdsfactory.github.io/gf180/)\n- [ANT / SiEPIC Ebeam UBC PDK](https://gdsfactory.github.io/ubc)\n- [SkyWater 130nm CMOS PDK](https://gdsfactory.github.io/skywater130/)\n- [VTT PDK](https://github.com/gdsfactory/vtt)\n- [Cornerstone PDK](https://github.com/gdsfactory/cspdk)\n- [Luxtelligence GF PDK](https://github.com/Luxtelligence/lxt_pdk_gf)\n\n\n## Foundry PDKs (NDA Required)\n\nAccess to the following PDKs requires a **GDSFactory+** subscription.\nTo sign up, visit [GDSFactory.com](https://gdsfactory.com/).\n\nAvailable PDKs under NDA:\n\n- AIM Photonics\n- AMF Photonics\n- CompoundTek Photonics\n- Fraunhofer HHI Photonics\n- Smart Photonics\n- Tower Semiconductor PH18\n- Tower PH18DA by OpenLight\n- III-V Labs\n- LioniX\n- Ligentec\n- Lightium\n- Quantum Computing Inc. (QCI)\n\n\n## GDSFactory+\n\n**GDSFactory+** offers Graphical User Interface for chip design, built on top of GDSFactory and VSCode. It provides you:\n\n- Foundry PDK access\n- Schematic capture\n- Device and circuit Simulations\n- Design verification (DRC, LVS)\n- Data analytics\n\n\n## Getting Started\n\n- [See slides](https://docs.google.com/presentation/d/1_ZmUxbaHWo_lQP17dlT1FWX-XD8D9w7-FcuEih48d_0/edit#slide=id.g11711f50935_0_5)\n- [Read docs](https://gdsfactory.github.io/gdsfactory/)\n- [![Video Tutorials](https://img.shields.io/badge/youtube-Video_Tutorials-red.svg?logo=youtube)](https://www.youtube.com/@gdsfactory/playlists)\n- [![Join the chat at https://gitter.im/gdsfactory-dev/community](https://badges.gitter.im/gdsfactory-dev/community.svg)](https://gitter.im/gdsfactory-dev/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n- See announcements on [GitHub](https://github.com/gdsfactory/gdsfactory/discussions/547), [google-groups](https://groups.google.com/g/gdsfactory) or [LinkedIn](https://www.linkedin.com/company/gdsfactory)\n- [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://github.com/codespaces/new?hide_repo_select=true\u0026ref=main\u0026repo=250169028)\n- [PIC training](https://gdsfactory.github.io/gdsfactory-photonics-training/)\n- Online course [UBCx: Silicon Photonics Design, Fabrication and Data Analysis](https://www.edx.org/learn/engineering/university-of-british-columbia-silicon-photonics-design-fabrication-and-data-ana), where students can use GDSFactory to create a design, have it fabricated, and tested.\n- [Visit website](https://gdsfactory.com)\n\n## Who is using GDSFactory?\n\nHundreds of organisations are using GDSFactory. Some companies and organizations around the world using GDSFactory include:\n\n![logos](https://i.imgur.com/VzLNMH1.png)\n\n\"I've used **GDSFactory** since 2017 for all my chip tapeouts. I love that it is fast, easy to use, and easy to extend. It's the only tool that allows us to have an end-to-end chip design flow (design, verification and validation).\"\n\n\u003cdiv style=\"text-align: right; margin-right: 10%;\"\u003eJoaquin Matres - \u003cstrong\u003eGoogle\u003c/strong\u003e\u003c/div\u003e\n\n---\n\n\"I've relied on **GDSFactory** for several tapeouts over the years. It's the only tool I've found that gives me the flexibility and scalability I need for a variety of projects.\"\n\n\u003cdiv style=\"text-align: right; margin-right: 10%;\"\u003eAlec Hammond - \u003cstrong\u003eMeta Reality Labs Research\u003c/strong\u003e\u003c/div\u003e\n\n---\n\n\"The best photonics layout tool I've used so far and it is leaps and bounds ahead of any commercial alternatives out there. Feels like GDSFactory is freeing photonics.\"\n\n\u003cdiv style=\"text-align: right; margin-right: 10%;\"\u003eHasitha Jayatilleka - \u003cstrong\u003eLightIC Technologies\u003c/strong\u003e\u003c/div\u003e\n\n---\n\n\"As an academic working on large scale silicon photonics at CMOS foundries I've used GDSFactory to go from nothing to full-reticle layouts rapidly (in a few days). I particularly appreciate the full-system approach to photonics, with my layout being connected to circuit simulators which are then connected to device simulators. Moving from legacy tools such as gdspy and phidl to GDSFactory has sped up my workflow at least an order of magnitude.\"\n\n\u003cdiv style=\"text-align: right; margin-right: 10%;\"\u003eAlex Sludds - \u003cstrong\u003eMIT\u003c/strong\u003e\u003c/div\u003e\n\n---\n\n\"I use GDSFactory for all of my photonic tape-outs. The Python interface makes it easy to version control individual photonic components as well as entire layouts, while integrating seamlessly with KLayout and most standard photonic simulation tools, both open-source and commercial.\n\n\u003cdiv style=\"text-align: right; margin-right: 10%;\"\u003eThomas Dorch - \u003cstrong\u003eFreedom Photonics\u003c/strong\u003e\u003c/div\u003e\n\n## Why Use GDSFactory?\n\n- **Fast, extensible, and easy to use** – designed for efficiency and flexibility.\n- **Free and open-source** – no licensing fees, giving you the freedom to modify and extend it.\n- **A thriving ecosystem** – the most popular EDA tool with a growing community of users, developers, and integrations with other tools.\n- **Built on the open-source advantage** – just like the best machine learning libraries, GDSFactory benefits from continuous contributions, transparency, and innovation.\n\nGDSFactory is really fast thanks to KLayout C++ library for manipulating GDS objects. You will notice this when reading/writing big GDS files or doing large boolean operations.\n\n| Benchmark      |  gdspy  | GDSFactory | Gain |\n| :------------- | :-----: | :--------: | :--: |\n| 10k_rectangles | 80.2 ms |  4.87 ms   | 16.5 |\n| boolean-offset | 187 μs  |  44.7 μs   | 4.19 |\n| bounding_box   | 36.7 ms |   170 μs   | 216  |\n| flatten        | 465 μs  |  8.17 μs   | 56.9 |\n| read_gds       | 2.68 ms |   94 μs    | 28.5 |\n\n## Contributors\n\nA huge thanks to all the contributors who make this project possible!\n\nWe welcome all contributions—whether you're adding new features, improving documentation, or even fixing a small typo. Every contribution helps make GDSFactory better!\n\nJoin us and be part of the community. 🚀\n\n![contributors](https://i.imgur.com/0AuMHZE.png)\n\n\n## Stargazers\n\n[![Stargazers over time](https://starchart.cc/gdsfactory/gdsfactory.svg)](https://starchart.cc/gdsfactory/gdsfactory)\n\n## Key Features\n\n- **Design**: Create parametric components with Python\n- **Simulation**: Direct integration with major simulation tools\n- **Verification**: Built-in DRC, DFM, and LVS capabilities\n- **Validation**: Automated chip analysis and data pipelines\n- **Multi-format Output**: Generate GDSII, OASIS, STL, and GERBER files\n- **Extensible**: Easy to add new components and functionality\n\n## Community\n\nJoin our growing community:\n- [GitHub Discussions](https://github.com/gdsfactory/gdsfactory/discussions)\n- [Google Group](https://groups.google.com/g/gdsfactory)\n- [LinkedIn](https://www.linkedin.com/company/gdsfactory)\n- [Element Chat](https://gitter.im/gdsfactory-dev/community)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/gdsfactory.github.io%2Fgdsfactory%2F","html_url":"https://awesome.ecosyste.ms/projects/gdsfactory.github.io%2Fgdsfactory%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/gdsfactory.github.io%2Fgdsfactory%2F/lists"}