GDSFactory+

raw JSON →
1.8.5 verified Mon Apr 27 auth: no python

GDSFactory+ extends the open-source GDSFactory with proprietary tools for foundry PDKs, simulations, and verification (DRC/LVS). Current version is 1.8.5, requiring Python ~3.12.0. Release cadence is monthly.

pip install gdsfactoryplus
error ModuleNotFoundError: No module named 'gdsfactoryplus'
cause Missing installation or wrong Python environment.
fix
Run 'pip install gdsfactoryplus' in the correct environment (Python 3.12).
error gdsfactoryplus.exceptions.LicenseError: No valid license found
cause License key missing or expired.
fix
Set the GDSFACTORYPLUS_KEY environment variable or pass license_key parameter.
error ImportError: cannot import name 'GDSFactoryPlus' from 'gdsfactoryplus'
cause Old import style used after upgrade.
fix
Use 'from gdsfactoryplus import GDSFactoryPlus'.
breaking Python 3.12 is required; Python 3.11 or older will fail to install.
fix Upgrade Python to 3.12.x.
gotcha GDSFactory+ is NOT open-source; a valid license is needed for most features beyond basic geometry.
fix Obtain a license from the vendor or use in evaluation mode with limited capabilities.
deprecated The old import 'import gdsfactoryplus' is deprecated; use explicit submodule imports.
fix Change to 'from gdsfactoryplus import GDSFactoryPlus' or 'from gdsfactoryplus.components import ...'.

Initialize GDSFactory+ with a license key (optional for trial), then create and display a component.

import os
from gdsfactoryplus import GDSFactoryPlus

# Use environment variable for license key if required
gf = GDSFactoryPlus(license_key=os.environ.get('GDSFACTORYPLUS_KEY', ''))

# Create a simple MZI
from gdsfactoryplus.components import mzi
component = mzi()
component.show()