Skip to main content

python library to generate GDS layouts

Project description

gdsfactory 6.3.4

docs PyPI Conda Version PyPI Python issues forks GitHub stars Downloads Downloads Downloads MIT codecov black Binder Colab


GDSfactory is a design automation tool for photonics and analog circuits.

You can describe your circuits with a code driven flow (python or YAML), verify them (DRC, simulation) and analyze them.

Multiple Silicon Photonics foundries have gdsfactory PDKs available. Talk to your foundry to access their gdsfactory PDK.

You can also access:

You can:

  • define parametric cells (PCells) in python or YAML.
  • define routes between components.
  • Test component settings, ports and geometry to avoid regressions.

As input, you write python or YAML code.

As output you write a GDSII or OASIS file that can send to your foundry. It also exports component settings (for measurement and data analysis) and netlists (for circuit simulations).



It provides you a common syntax for layout (klayout, gdstk), simulation (Lumerical, tidy3d, MEEP, MPB, DEVSIM, simphony, SAX, ...) and data analysis libraries.

tool interfaces


Download the latest installer

Getting started


Contributors (in chronological order):

  • Joaquin Matres (Google): maintainer.
  • Damien Bonneau (PsiQuantum): cell decorator, Component routing functions, Klayout placer.
  • Pete Shadbolt (PsiQuantum): Klayout auto-placer, Klayout GDS interface (klive).
  • Troy Tamas (Rockley): get_route_from_steps, netlist driven flow (from_yaml).
  • Floris Laporte (Rockley): netlist extraction and circuit simulation interface with SAX.
  • Alec Hammond (Meta Reality Labs Research): Meep and MPB interface.
  • Simon Bilodeau (Princeton): Meep FDTD write Sparameters, TCAD device simulator.
  • Thomas Dorch (Freedom Photonics): for Meep's material database access, MPB sidewall angles, and add_pin_path.
  • Jan-David Fischbach (Black semiconductor): for improvements in pack_doe.
  • Igal Bayn (Google): for documentation improvements and suggestions.
  • Alex Sludds (MIT): for tiling fixes.
  • Momchil Minkov (Flexcompute): for tidy3d plugin.
  • Skandan Chandrasekar (BYU): for simphony, SiPANN plugins, A-star router.
  • Helge Gehring (Google): for simulation plugins (FEM heat solver), improving code quality and new components (spiral paths).
  • Tim Ansell (Google): for documentation improvements.
  • Ardavan Oskoii (Google): for Meep plugin documentation improvements.
  • Marc de Cea (MIT): for ge_detector, grating_coupler_dual, mmi_90degree_hybrid, coherent transceiver, receiver.
  • Bradley Snyder (PHIX): for grating_coupler snap to grid fixes.
  • Jonathan Cauchon (EHVA): for measurement database.
  • Raphaël Dubé-Demers (EHVA): for measurement database.

Open source heroes:

  • Matthias Köfferlein: for Klayout
  • Lucas Heitzmann (University of Campinas, Brazil): for gdstk
  • Adam McCaughan (NIST): for phidl. Inpiration for geometry manipulation.
  • Alex Tait (Queens University): for lytest
  • Thomas Ferreira de Lima (NEC): for pip install klayout python API.
  • Juan Sanchez: for DEVSIM

Project details

Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdsfactory-6.3.4.tar.gz (639.5 kB view hashes)

Uploaded source

Built Distribution

gdsfactory-6.3.4-py3-none-any.whl (945.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page