{"id":26909,"library":"doweb","title":"doweb","description":"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.","status":"active","version":"1.7.3","language":"python","source_language":"en","source_url":"https://github.com/...","tags":["klayout","gdsfactory","photonic-design","layout"],"install":[{"cmd":"pip install doweb","lang":"bash","label":"Latest from PyPI"}],"dependencies":[{"reason":"Runtime dependency for KLayout API","package":"klayout","optional":false},{"reason":"Design automation framework","package":"gdsfactory","optional":false}],"imports":[{"note":"Most users import the module directly; specific submodules may vary.","wrong":"from doweb import ...","symbol":"doweb","correct":"import doweb"}],"quickstart":{"code":"import gdsfactory as gf\nimport doweb\n\n# Create a simple component\nc = gf.Component('test')\nc.add_polygon([(0,0), (10,0), (10,10), (0,10)], layer=0)\nc.write_gds('test.gds')\nprint('GDS written with doweb backend')","lang":"python","description":"Basic usage: import doweb to activate KLayout backend, create a gdsfactory component, and export to GDS."},"warnings":[{"fix":"Check doweb's documentation for supported API methods; use pure KLayout if full compatibility needed.","message":"KLayout API differences: doweb may not support all KLayout API features; expect discrepancies in layer properties and cell operations.","severity":"breaking","affected_versions":"all"},{"fix":"Upgrade to Python 3.11 or higher.","message":"Python <3.11 no longer supported after v1.7.0","severity":"deprecated","affected_versions":">=1.7.0"},{"fix":"Ensure only one KLayout API implementation is imported at a time.","message":"Concurrent use with other KLayout wrappers may cause import conflicts","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install KLayout: pip install klayout","cause":"KLayout Python package not installed","error":"ModuleNotFoundError: No module named 'klayout'"},{"fix":"Use import doweb and access as doweb.xxx, or only import directly if documented.","cause":"Submodule or symbol does not exist in doweb","error":"ImportError: cannot import name 'xxx' from 'doweb'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}