Skip to main content

ictdesigntools

Calculations and reference data for ICT design: pathways, cabling, optical links and networks. It is the engine behind the ICT Design Tools website, and it is meant to be used directly in scripts, notebooks and computational design tools.

Now published on PyPI.

Install

pip install ictdesigntools

Python 3.14 or later. No runtime dependencies.

Use

from ictdesigntools.cabling.cables import CableLine
from ictdesigntools.pathways import conduit

cables = [CableLine.of("cat6a", 12), CableLine.custom(7.1, 3)]  # outside diameter in mm
result = conduit.calculate("emt", 53, cables)  # metric designator 53 is trade size 2
print(f"{result.fill_pct:.1f}% of {result.limit_pct:.0f}% allowed")

The library is metric-native: values are in mm, mm², m, kg/m and N, and every name carries its unit (od_mm, weight_kg_per_m). Conduit sizes are metric designators. Imperial values are a translation layer: ictdesigntools.units has the exact conversion factors, and tables published in imperial units are converted when they load, with the published figures kept in the source.

Module What it does Sources
pathways.conduit Conduit fill NEC Chapter 9, Tables 1 and 4
pathways.pull Cable pulling tension along a run Capstan equation, IEEE 1185 practice
pathways.tray Cable tray fill and load NEC 392.22(A), TIA-569 / BICSI practice
pathways.ductbank Concrete-encased duct bank layout ASTM F512, NEMA TC 2, TC 6/8
pathways.microtrench Microduct and FuturePath layout in a microtrench Dura-Line data sheets
cabling.cables Cable types, cable lines, weights and tension limits Manufacturer typicals
optical.fiber Fibre performance classes, ITU-T recommendations, WDM bands IEC 60793, ITU-T G.65x
optical.budget Optical loss and power budgets ITU-T G.957, G.959.1, G.984.2, G.Sup39
units Exact metric and imperial conversions
network.subnet IPv4 and IPv6 subnets Python ipaddress
geometry.packing Circle packing for cable cross-sections

The notebooks in notebooks/ derive the formulas with SymPy and are the start of the reference material for each tool.

Develop

uv sync
uv run pytest
uv run ruff check src tests
uv build && uv run twine check dist/*   # builds only; nothing is uploaded

Metadata

Release files for ictdesigntools 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ictdesigntools 0.2.0
File Size Uploaded Provenance Actions
ictdesigntools-0.2.0.tar.gz 46.9 kB With provenance Details for ictdesigntools-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ictdesigntools 0.2.0
File Interpreter ABI Platform Actions
ictdesigntools-0.2.0-py3-none-any.whl Python 3 none any Details for ictdesigntools-0.2.0-py3-none-any.whl

Total release size: 103.1 kB

Release files / ictdesigntools-0.2.0.tar.gz

Download URL ictdesigntools-0.2.0.tar.gz
Size 46.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b1252662ce6b18d4b57f7558f22e269a716ec76aab7b49c0c9c573f8658eda9
BLAKE2b-256 checksum
How to use checksums
e98a458e68b73be6f9e182d25be44f6b74d23a9df7747a23ea90eb382da3eb74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Release files / ictdesigntools-0.2.0-py3-none-any.whl

Download URL ictdesigntools-0.2.0-py3-none-any.whl
Size 56.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82b61093c2982a711ce83af3a25f9ab5046e7f94bd4514ac7b771a017a39b352
BLAKE2b-256 checksum
How to use checksums
d566efeb6f268070345c1eb8933ec7ae360b3583c0f3686ef2b3455e5d20e2cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

Security for ictdesigntools 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for ictdesigntools-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page