Registry / data / doroutes

doroutes

JSON →
library0.5.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.

dataserialization
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.

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 footguns
breakingDoRoutes 0.5.0 requires Python >=3.12.0. Older Python versions are not supported.
deprecatedThe `doroutes.routing` module is deprecated as of 0.5.0. Import functions from the top-level package instead.
gotchaDoRoutes expects ports to have a 'width' attribute. If missing, route may fail or produce unexpected results.
gotchaRouting multiple paths in sequence can cause collisions if not carefully planned. DoRoutes does not auto-avoid existing routes by default.
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.

Agent activity
29 hits · last 30 days
gptbot
4
amazonbot
4
bytedance
4
ahrefsbot
3
claudebot
3
script
1
Resources