Registry / data / doweb
library1.7.3pypypi✓ verified 89d ago

A Python library providing a KLayout API implementation for gdsfactory, enabling design automation workflows in photonics and semiconductor layout. Version 1.7.3 requires Python >=3.11, with regular releases.

pip install doweb
INSTALL
IMPORT
SIG · DOWEB
D
doweb
datapythonv1.7.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

doweb
✓ import doweb
✗ from doweb import ...
Most users import the module directly; specific submodules may vary.

Basic usage: import doweb to activate KLayout backend, create a gdsfactory component, and export to GDS.

import gdsfactory as gf import doweb # Create a simple component c = gf.Component('test') c.add_polygon([(0,0), (10,0), (10,10), (0,10)], layer=0) c.write_gds('test.gds') print('GDS written with doweb backend')
Debug
Known issues
breakingKLayout API differences: doweb may not support all KLayout API features; expect discrepancies in layer properties and cell operations.
fix
Check doweb's documentation for supported API methods; use pure KLayout if full compatibility needed.
affects: all
deprecatedPython <3.11 no longer supported after v1.7.0
fix
Upgrade to Python 3.11 or higher.
affects: >=1.7.0
gotchaConcurrent use with other KLayout wrappers may cause import conflicts
fix
Ensure only one KLayout API implementation is imported at a time.
affects: all
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'klayout'
KLayout Python package not installed
fix
Install KLayout: pip install klayout
ImportError: cannot import name 'xxx' from 'doweb'
Submodule or symbol does not exist in doweb
fix
Use import doweb and access as doweb.xxx, or only import directly if documented.
Upgrade
Version history
1.7.3latest on PyPI · released Mar 23, 2026
Audit
Dependencies
klayoutrequiredRuntime dependency for KLayout API
gdsfactoryrequiredDesign automation framework
Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
doweb — pip install doweb · libregistry