Skip to content
Edit this page

Release notes

Changelog

The format follows Keep a Changelog, and versions follow Semantic Versioning. Before 1.0, any minor version may change the API. Minor versions mark milestones (such as the drawing engine); patch versions carry the work in between, including new data and functions that keep the API compatible.

Unreleased

Changed

  • The splitter limits in data/components.toml now cite ITU-T G.671 (11/2025), which superseded the 05/2025 edition; every value was checked and is unchanged.
  • optical.fibers is now optical.media, so the copper categories can match it as copper.media; nothing has been released under the old name.

Added

  • A documentation site, built with Zensical for https://docs.ictdesign.tools and organised as Django's is: getting started (overview, installation and a tutorial that plans a DWDM path), topic guides, how-to guides, an API reference generated from the docstrings for every public module, release notes from this changelog, and contributing notes. A Docs workflow builds it strictly on every pull request and deploys it to GitHub Pages from main. scripts/docs_reference.py generates the reference pages and navigation, and the tests fail when they are out of date or when an example in the docs stops working.
  • network.roadm: ROADM networks. Roadm nodes (add, drop and express filter chains, with a pre-amplifier and booster), route_and_select() for the common architecture, fibre Links by category, and a Network with line degrees, shortest routes by length and path(): filter loss and narrowed passband, fibre loss, OSNR, received power, latency, and the channel's power after every event. path_drawing() draws a path as a span diagram over a power-level chart, and to_graph() hands the network to draw.graph.
  • The README lists the optical modules added since 0.3.
  • optical.grid: WDM wavelength grids. ITU-T G.694.1 fixed DWDM grids (12.5, 25, 50 and 100 GHz from 193.1 THz) and flexible-grid Slots (centre n × 6.25 GHz, width m × 12.5 GHz), the 18 G.694.2 CWDM wavelengths, the O to U spectral bands, frequency and wavelength conversion, and check_plan() for overlapping slots or slots outside a band.
  • optical.filters: a WDM Filter (mux, demux, OADM, WSS) from data-sheet values, with cascaded insertion loss, the narrowed 3 dB passband of a chain (super-Gaussian shapes), check_passband() against a signal's width, crosstalk into a dropped channel, and the ITU-T G.671 limits for a 1 × X WWDM mux/demux.
  • optical.testing and data/inspection.toml: acceptance criteria worked out from a cabling.channels.Channel: Tier 1 loss limits per wavelength for one-, two- and three-cord references (with an optional connector grade), the OTDR events to expect (position, loss, and reflectance by return loss grade), bidirectional splice averaging, IEC 61300-3-35 end-face inspection against Tables A.1 to A.3, and acceptance() with lines for a test plan.
  • optical.osnr: OSNR along a chain of amplified Stages (span loss, then an Amplifier with its noise figure and gain), from the ASE each amplifier adds in the 0.1 nm reference band, summed in linear terms with an optional transmitter OSNR; per-channel power from a total, amplifier output limits, and check() against an amplified interface's required OSNR with a margin.
  • optical.interfaces and data/interfaces.toml: transceiver interfaces with cited limits (ITU-T G.959.1 10G application codes P1S1-2D1, -2D2a, -2D2b, P1L1-2D1, -2D2, and OIF 400ZR), and assess(), which checks a planned link against one: attenuation range (or a note that an amplified interface is limited by OSNR), chromatic dispersion at each end of its wavelength range, and the chance that DGD exceeds its tolerance.
  • optical.dispersion: chromatic dispersion and PMD along a link of Spans, each a length of an optical.media category with optional compensation. CD adds linearly as a range from the category's bounds, PMD in quadrature, and check() compares both with a receiver's tolerances and gives the CD margin.
  • optical.components and data/components.toml: connector attenuation grades (B, C, D; Bm, Cm) and return loss grades (1 to 4; 2m) from IEC 61753-1, the ITU-T G.671 limits for 1×X and 2×X splitters (insertion loss range, reflectance, directivity, uniformity), and combined_return_loss_db() for several reflections together.
  • cabling.channels.Channel.loss(grade=...) budgets mated pairs at an attenuation grade's 97 % maximum instead of the ANSI/TIA-568.3 0.75 dB.
  • optical.media and data/fibers.toml: optical fibre categories with their published limits: ITU-T G.652.B/D, G.653.A/B, G.654.A to E, G.655.C to E, G.656, G.657.A1/A2/B3 and G.651.1, and the OM1 to OM5 multimode categories. Each gives the maximum cable attenuation by wavelength (the narrowest range that holds it), dispersion bounds (from the bounding curves, or from the zero-dispersion wavelength and slope), the PMD link design value and how it grows with length, mode field diameter, cable cut-off, macrobending limits and multimode bandwidth. fiber() reads names written any common way (G.652.D, g652d, OM4), and for_bend_radius() lists the categories rated for a bend.
  • optical.budget.LossInput(fiber=...) takes the attenuation coefficient from a fibre category at the link's wavelength.
  • cabling.channels.Channel.polarity(): a channel of array trunks, cassettes, adapters and duplex cords as cabling.polarity parts, with its TIA-568.3-E method named. problems() adds what that finds (transmit meeting transmit, pins, APC in key-up to key-up adapters), and channel_drawing() labels array trunks with the descriptor, such as U1 / Type-B / KU-KD / M-M. Cassettes in data/joins.toml carry their rear adapter's keying: Type-A cassettes key-up to key-up (method B), U1 key-up to key-down.
  • cabling.channels: whole cable channels, equipment port to equipment port. A Channel is Equipment ports, cable Assemblys, Bulk cable (bare fiber or pigtail ends, for splicing) and Parts from the join library, each optionally in a patch panel named by its TIA-606 identifier; cassettes turn round to suit the plugs that enter them. problems() finds plugs meeting plugs, sockets meeting sockets, connectors that do not fit, more plugs than ports, APC meeting UPC in an adapter, and splices not between bare fiber. loss() budgets fiber, mated pairs, splices and splitters with the ANSI/TIA-568.3 maxima. channel_drawing() draws parts and plugs at 1:1 and cable lengths to scale, winds runs over coil_over_m into a coil marked with the length, gives each part an optional dimension line (dims) and the channel's total length, and can add the loss table.
  • parts.joins and data/joins.toml: adapters (LC, SC, SN, MPO and MMC in key-up to key-down or key-up to key-up, RJ45 coupler), MPO-to-LC cassettes (Type-A and U1 transitions), PLC splitters 1:2 to 1:32, and fusion (40 and 60 mm sleeves) and mechanical splices, each with a side view, the mated pairs and splices it adds, and its sources.
  • cabling.polarity: array polarity as TIA-568.3-E builds it. method() makes a duplex channel by method A, B, C, U1 or U2 from its trunk, adapters (key-up to key-down or key-up to key-up), fiber transitions (Type-A, U1, U2) and duplex cords. A Channel of any parts traces each lane end to end and reports transmit landing on transmit (duplex or parallel), pinned meeting pinned or unpinned meeting unpinned, APC meeting flat plugs, and APC plugs in key-up to key-up adapters. descriptor() gives a line for badges, such as U1 / Type-B / KU-KD / M-M / APC.
  • identifiers: names for spaces, racks, panels, ports, cables and patch cords in the ANSI/TIA-606 forms (1DC.AD02-35:01, near / far for cables, near \ far for cords), with campus and building prefixes, port ranges and sub-panels. Each parses back from its string unchanged. panel_unit() and panel_of() name a panel by its top-most unit counted from the bottom of the rack (or by the rails' own numbers in a rack numbered top-down), and check_class() says what an administration class 3 or 4 identifier lacks.
  • parts.plugs: detailed connector plugs for drawings where detail earns its place. Each plug in data/plugs.toml (LC, SC, SN, MPO, MMC, RJ45 and F) has a side view (plug_side) and a mating-face view (plug_face) as engine components. Faces look as a person sees them: the coloured housing with its opening shaded and the latch or key end on, white ferrules with cladding and core, an MT ferrule's dark face with fibers as light points numbered from 1 (unused places faint; an MPO-8 uses the outer four of each side), steel guide pins or dark holes, an RJ45's gold contacts in their slots with pin 1, and an F connector's hex nut. Side views have ribbed boots. Housings take the TIA-568 connector colours (tone_for a NetBox cable type and polish). Ferrule, pitch and contact sizes cite their sources; plug bodies are proportions for drawing and each row lists them under schematic. catalogue() draws every plug for review.
  • draw.route.s_curve: a smooth S between two points, leaving and arriving level, for cable legs and bundles.
  • draw.route: orthogonal connector routing in pure Python. orthogonal() finds the shortest route of horizontal and vertical runs around boxes, with a cost per bend, by A* over a sparse grid of the boxes' sides and any channel lines given; nudge() spreads parallel runs that share a line spacing apart, keeping each route's ends in place.
  • cabling.crossconnect: cross_connect(plant, racks, face) draws rack elevations in a row with every cable between ports on that face routed through the channels between racks and over their tops, dropping from each port to the unit line below it, with parallel runs spread apart. Cables are coloured by their NetBox colour (else by cable type), titled with what they are, and carry a Meta of kind cable for interactive drawings; cables with an end not on the face are listed in the description.
  • cabling.connections: cables between ports, as NetBox models them. Cable has NetBox's a_terminations and b_terminations (front or rear ports, by device and port name), type, status, label, color, length and length_unit, and optionally the Assembly it is built from. A Plant holds devices by name (or Plant.from_racks) and their cables. problems() finds unknown devices and ports, ports cabled twice, plugs that do not fit a port (including NetBox's polished types such as lc-apc), and connector counts or positions that differ from the ports'. trace() follows one lane across cables and through each device's front-to-rear port mappings, as NetBox's cable trace does, and duplex() says whether a duplex channel crosses so transmit meets receive.
  • cabling.assemblies: cable assemblies (patch cords, trunks and breakouts) modelled as NetBox models cables. Assembly carries NetBox's cable fields (type, length, length_unit, label, color) and a NetBox 4.5 cable Profile (single-1c12p, trunk-2c1p, breakout-1c8p-8c1p; shuffle profiles are refused for now), its two ends (connector, polish and pins), breakout legs and TIA-568 polarity (type A, B or C). lanes() maps each lane from end A to end B, connector and position, so paths can be traced lane by lane. spec gives spec sheet rows, bom bill of materials lines, and assembly_drawing a side view with the lane map. Generic assemblies come from data/assemblies.toml, each citing its source.
  • cabling.connectors: connector footprints from data/connectors.toml (RJ45 keystone, LC, SC, SN, MPO, MMC and F, each with its panel cutout, a cited source and its NetBox port type) as engine components, one SVG <use> target and one DXF block per connector. A port is a NetBox port, one connector: each LC is its own port, two to a duplex adapter drawn once; MMC, which NetBox has no type for, is other with the footprint named. panel_layout places ports on a panel face in rows and groups of six, centred in the rack opening, and says when they do not fit; patch_panel builds a panel face from its parameters (the same parameters give the same component, so a 24-port and a 48-port panel come from one function); panel_drawing draws one on its own.
  • spaces.racks: device types take NetBox front and rear port templates (PortTemplate: a NetBox port type, a count, positions and a name pattern), loaded from racks.toml for the generic patch panels and fiber enclosures (48 LC to four MPO-12 in 1U). port_map and DeviceType.port_mappings pass front port positions through to rear port positions in order, as NetBox assigns them, and a device type whose positions differ is refused. elevation(ports=True) draws each device's ports on its face, each with a Meta of kind port (id device-<i>-<front|rear>-port-<name>, with the device, port name, type and side), and moves the label left of the ports.
  • draw interactive script: a small tooltip with the part's title and data on hover and focus, in place of the browser's title text (data-draw-tooltip="off" keeps the browser's), styled by .draw-tooltip in interactive_css().
  • draw.graph: network topologies. topology() draws a graph from networkx (read by duck typing; networkx is never imported), node-link JSON (edges or the older links) or the new Graph, with nodes and edges styled by an attribute (role, media) in colours that follow in turn, labels from templates ("{speed} · {length_m} m"), a generated legend and a Meta carrying each node's and edge's attributes for the interactive script.
  • Layouts: layered() puts nodes in rows by an attribute (tier, or a dict of layer → nodes as networkx.multipartite_layout takes) and orders each row to reduce crossings; tree() spreads a point-to-multipoint network such as GPON from its root; or any networkx pos.
  • Edge routing: orthogonal, with each parent's drops sharing a bus and overlapping buses in separate lanes, for trees and sparse layered graphs; straight for meshes such as a Clos fabric (routing="auto" picks). Parallel edges merge with a count; directed edges get arrowheads.
  • Route: node paths (as nx.shortest_path returns) or edge lists drawn over the graph, each in its own colour, with Meta kind route, e.g. ECMP paths or working and protection; routes that share an edge are drawn side by side.
  • network.pon: gpon() builds a split plan (OLT, splitter stages, ONTs, fibre lengths) as a graph; ont_losses() works out every ONT's link attenuation with optical.budget (fibre, splices, connectors, splitters on the path, cable margin) against a PON class's attenuation range, and writes loss_db, margin_db and passes on the ONT nodes for drawing.
  • network.clos: leaf_spine() builds a two-tier fabric (with parallel uplinks and servers); fabric_report() gives each leaf's capacity, oversubscription, ECMP path count and the leaf-to-spine bisection capacity.
  • cabling.splices: fiber splice plans and diagrams. FiberCable and strand give each fiber's buffer tube, colour and stripe by the TIA-598 colour code (fibers and tubes past 12 take black, orange and green stripes; black takes yellow). SplicePlan.join splices runs of fibers from A-side to B-side cables into tray slots, filling each tray in turn; check finds fibers spliced twice or out of range, unknown cables and trays over capacity; schedule and schedule_csv give the splice schedule; and splice_diagram draws the plan as a sheet following the Splice.me proposal for a splice diagram standard: a centred title block, A and B cable faces in two upright columns with tubes, fibers and tray·slot in black and white, nothing but the splices between them (level at each face, two bends at most), one pitch throughout, and splices coloured by destination cable rather than by the fiber colour code. Spare fibers are listed on request, and each splice has Meta for the interactive script.
  • data/fiber_colors.toml: the TIA-598 fiber and tube colours and stripes.
  • cabling.splices.Splitter: splitters as equipment on a splice sheet, drawn in a column like a cable (Splice.me rule 4.4) with their inputs and outputs in place of tubes. Ports take the colour code; input(k) and output(k) give port numbers for join, and loss_db gives a 1×N PLC splitter's typical loss from optical.budget. check also finds splices that run from the wrong side. Splices are now coloured by the pair of items they join.
  • cabling.splices.bedsheet: every sheet of a network on one drawing (rules 5.1–5.4), each on a portrait A4 or Letter page (larger, the same for every cell, where a sheet doesn't fit), on a grid read left to right and top to bottom from the top-left. Splice ids are prefixed with the sheet number (splice_diagram(id_prefix=...)) so they stay unique.

Changed

  • cabling.assemblies.assembly_drawing draws detailed plugs at 1:1 by default, with each end's mating face enlarged, and breakout legs curving out of a furcation sleeve; detail="simple" keeps the plain bodies and panel footprints.

Removed

  • The empty locations and projects packages: projects.management.Site declared no field (name = str). Project planning returns as a designed module.

0.3.2 (unreleased)

Added

  • spaces.racks: racks and cabinets and the equipment in them, modelled on NetBox DCIM (RackType, DeviceType, Role, and Device at a position and face, with NetBox's field names) so a design maps onto NetBox without translation. Whole and half units, top-down numbering and unracked (0U) devices.
  • spaces.racks.check: positions off the rails, overlaps on a face (a full-depth device takes both), units used and the longest free run on each face, equipment weight against the rack's rating, planned and maximum power against a budget, and airflow running against the rest of the rack (a warning).
  • spaces.racks.elevation: front and rear elevations as an engine drawing, with unit numbers, devices coloured by role and labelled to fit, full-depth devices shown from behind, problems outlined, and Meta on each device for the interactive script.
  • data/racks.toml: generic racks, cabinets and equipment (patch panels, fiber enclosures, cable managers, shelves, switches, servers, a UPS, a PDU) and roles with colours.

Changed

  • The library is licensed under the Apache License 2.0 (with a NOTICE file) instead of MIT, in line with NetBox. Versions 0.3.1 and earlier remain available under MIT.

0.3.1 (2026-12-06)

Added

  • draw.to_svg(classes=True): every shape with a named style also gets the class <class_prefix><name> (default d-), so a page's stylesheet can theme a drawing, e.g. for dark mode, over the colours written as attributes; Ring takes a style for this.
  • draw.to_svg(interactive=True) and draw.interactive_script() / interactive_css(): a small dependency-free script, shipped in the package, that makes parts with a Meta id hoverable, focusable and selectable (a bubbling draw:select event with the part's id, kind and data), links them to page elements marked data-draw-ref="<id>" both ways, and with data-draw-zoom adds wheel zoom, drag to pan and double-click to reset. No inline code, so it runs under a strict Content-Security-Policy.
  • Hatch(outline=True) keeps a hatched shape's boundary in the DXF, e.g. so CAD can snap to a bar's centre.

0.3.0 (2026-12-05)

Added

  • ictdesigntools.draw, a drawing engine shared by the tools (#25): shapes (Rect, Circle, Ring, Polygon, Polyline, Arc, Line with arrowheads, Text, Dim, Earth) in millimetres by default with y down; Group with affine Transforms; Component drawn once and placed with Use; named Styles with theme overrides and CAD Hatches; Meta (id, kind, data) for interactive pages; Drawing.bounds() and .fit(). Outputs: to_svg and svg_file with the standard library (components as <defs>/<use>, meta as data- attributes, no inline styles); draw.pdf (reportlab) and draw.dxf (ezdxf, components as blocks, native dimensions and hatches) as the optional extras [pdf] and [dxf]. draw.text estimates Helvetica widths to fit, truncate and wrap labels; draw.layout has grids, stacks, rack units (EIA/ECA-310) and convex outlines around circles.
  • microtrench.MICRO_CABLES: typical micro cables (fiber count, OD, weight, installation tension) from AFL MicroCore (PP-1-00136 rev. 15) and OFS MiDia Micro GX (osp-166) data sheets, in data/micro_cables.toml; MicroCable.of(product, way, cable_type), and MicroCable.cable_type, .name, .weight_kg_per_m and .max_tension_n.
  • TrenchResult.microduct_fills: every MicroDuct with its cable or as a spare, and JettingCheck.area_ratio (fill by area); TrenchResult.cable_lines itemises the cables by kind, with fibers_total and spares.

0.2.0 (2026-12-05)

Added

  • FuturePath Flex in 2-, 4- and 6-way (12.7/10 and 18/14 mm) and 8-way (12.7/10 mm), from the Dura-Line Flex brochure (#15).
  • ictdesigntools.data: product and reference data as TOML files in the package, one per family (cables, nema_ve1, depth, duraline), written as published with the unit in each key and a source on every row; data.load, data.rows and data.value. The cable types, NEMA load classes, burial depths and Dura-Line products now load from them (values unchanged). No new dependency: tomllib is in the standard library.
  • pathways.pull: bends take an optional radius (Section.bend(90, radius_m=0.6)) and are checked for sidewall bearing pressure (one cable, two, three cradled, or a group) and the cables' least bend radius while pulled; PullResult.bend_checks(), .utilisation, .governing (pulling tension, sidewall pressure or bend radius) and .passes_all. PullSummary.passes now covers all three limits.
  • CableLine and CableType: optional min_bend_radius_mm and max_swbp_n_per_m.
  • Cable tray pulls: Section.rollers (a straight on support rollers with its own friction, 0.15 to start) and Section.sheave (a bend through free-turning sheaves that adds a fixed tension instead of multiplying it, with its radius checked for sidewall pressure), per Polywater's Pull-Planner guidance. tray.calculate and calculate_lanes take run= and pull each lane; pull(..., inner_mm=None) is an open tray (no weight correction or jam ratio).
  • Tray load at the support span: tray.LoadInput (support span, default 12 ft; a NEMA VE 1 load/span class from LOAD_CLASSES, 8A–20C, or a manufacturer's working load at its published span; optional tray weight) passed as load=. A rating applies at its span or shorter; at a longer span it is reduced by the square of the spans and result.load_extrapolated is set. result.support_load_kg adds the tray's weight. rating_at_span().
  • Duct bank: DEPTH_REQUIREMENTS (NEC Table 300.5 rigid metal 6 in, nonmetallic 18 in, under roadways 24 in, and a typical owner's standard) chosen with DuctBankInput.depth_requirement; inp.required_depth_mm and inp.depth_source name the basis. result.spares lists conduits with no cables.
  • Microtrench cover: COVER_REQUIREMENTS (examples from published standards: 12 in under asphalt roadway per LA County 1050-0 and San Diego SDG-165, 55 mm per City of Toronto) chosen with TrenchInput.cover_requirement; inp.required_cover_mm, inp.cover_source, result.bottom_of_trench_mm.
  • Microtrench cables: MicroCable(product, way, od_mm, label, fibers) in TrenchInput.cables, one per MicroDuct; result.jetting checks cable OD / MicroDuct ID against Dura-Line's 50–75% jetting fill ratio, and the issues say which way to resize. Product.microducts.
  • Cable type fiber-osp: loose tube outside plant fiber, 6–72 fibers (Corning ALTOS data).

0.1.0 (2026-12-05)

The pathway modules are metric-native and take typed values only; URL formats and form handling moved to the website. This changes their API throughout.

Added

  • units: exact conversion factors and helpers between metric and imperial.
  • pathways.sizes: conduit trade sizes keyed by metric designator (27 is trade size 1).
  • CableLine.of and CableLine.custom; SubductSpec.preset and SubductSpec.custom; Section.straight, .bend, .up and .down; microtrench.Product.make.
  • Validation in the dataclasses' constructors, so invalid values raise FillError wherever they come from.
  • network.subnet.calculate also takes an ipaddress interface.

Changed

  • Cables, conduit, tray, pulling, duct bank and microtrench values are in mm, mm², m, kg/m and N, with the unit in each name. Published imperial tables are converted on load.
  • Conduit and duct bank sizes are metric designators; rebar sizes are A615M soft-metric designations ("13" is #4).
  • Tray sizes are given as a width and depth in mm, not as a 12x4 string.
  • Duct bank and microtrench quantities are methods that take a length in metres.
  • Results no longer carry display text in inches (titles, size labels); notes that are unit-free remain.

Removed

  • Path and form parsing: parse_cables, parse_groups, groups_from_query, build_spec, parse_run, parse_input, form_values and the like, spec properties and URL keywords.

0.0.1 (2026-12-05)

First release, mainly to reserve the name on PyPI.

Added

  • pathways: conduit fill, cable tray fill and load, pulling tension, duct bank and microtrench layouts (from the ICT Design Tools website).
  • cabling.cables: cable lists with presets, weights and pulling tension limits.
  • optical.budget: optical loss and power budgets in metric units following ITU-T.
  • optical.fiber: fibre performance classes, ITU-T fibre Recommendations and WDM bands.
  • network.subnet, geometry.packing.