DoRoutes is an advanced routing library for GDSFactory, providing optimized wire routing and placement algorithms for photonic integrated circuit design. Current version is 0.5.0, with a monthly release cadence.
Install & Compatibility
Where this runs
tested against v0.3.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.10
✕ build_error
✕ build_error
py 3.11
✕ build_error
✓ 15.4s
py 3.12
✕ build_error
✓ 14.2s
py 3.13
✕ build_error
✓ 16.9s
py 3.9
✕ build_error
✕ build_error
427MB installed
● package 427MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
from doroutes import route
Basic usage: create a component, add references, then route between ports.
import gdsfactory as gf
from doroutes import route
# Create a simple circuit with two components
c = gf.Component()
# Add a waveguide and a taper (simplified for example)
wg = c.add_ref(gf.c.waveguide(length=5))
taper = c.add_ref(gf.c.taper(length=3))
taper.move((10, 0))
# Route between the ports
ports = [wg.ports['opt1'], taper.ports['opt2']]
route(c, ports, layer=(1, 0))
c.show()
Upgrade
Version history
Breaking-change detection hasn't run for this library yet.
Audit
Security & dependencies
CVE tracking and dependency tree are planned for a later release.