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 Common errors
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'.
Warnings
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 ...'.
Imports
- GDSFactoryPlus wrong
import gdsfactorypluscorrectfrom gdsfactoryplus import GDSFactoryPlus - gdsfactoryplus.components
from gdsfactoryplus.components import mzi
Quickstart
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()