Registry / data / doroutes

doroutes

JSON →
library1.1.0pypypiunverified

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.

pip install doroutes
INSTALL
IMPORT
SIG · DOROUTES
D
doroutes
datapythonv1.1.0
Install
15.5s avg
Import
Disk
427MB
Pass rate
3/ 10
Env Coverage3 / 10
glibc
3.93.13
musl
3.93.13
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
musl
glibc
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.

route
from doroutes import route
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()
Debug
Known issues
breakingDoRoutes 0.5.0 requires Python >=3.12.0. Older Python versions are not supported.
fix
Upgrade Python to 3.12 or later.
affects: 0.5.0
deprecatedThe `doroutes.routing` module is deprecated as of 0.5.0. Import functions from the top-level package instead.
fix
Use `from doroutes import route` instead of `from doroutes.routing import route`.
affects: >=0.5.0
gotchaDoRoutes expects ports to have a 'width' attribute. If missing, route may fail or produce unexpected results.
fix
Ensure your components have ports with `width` defined (either via GDSFactory's port system or manually).
affects: all
gotchaRouting multiple paths in sequence can cause collisions if not carefully planned. DoRoutes does not auto-avoid existing routes by default.
fix
Use the `avoid` parameter or manually check for overlaps.
affects: all
Upgrade
Version history
1.1.0latest on PyPI · released Jun 4, 2026
Audit
Dependencies
gdsfactoryrequiredRequired for all routing operations; DoRoutes is built on top of GDSFactory.
numpyrequiredUsed for array operations and coordinate math.
Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
doroutes — pip install doroutes · libregistry