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.

Not yet published on PyPI. Until then, install from Git.

Install

uv add "ictdesigntools @ git+https://github.com/eronlloyd/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.1.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.1.0
File Size Uploaded Provenance Actions
ictdesigntools-0.1.0.tar.gz 37.4 kB With provenance Details for ictdesigntools-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 82.4 kB

Release files / ictdesigntools-0.1.0.tar.gz

Download URL ictdesigntools-0.1.0.tar.gz
Size 37.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9a9b1c2d5b94c95b7a2db4eb0ca7c9ea0513f1c4a923470e63194f994cd04037
BLAKE2b-256 checksum
How to use checksums
caecc1fd76b15155c785b2d0d906f8381131c7a289ba3f400715df2a2101ab28
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.1.0-py3-none-any.whl

Download URL ictdesigntools-0.1.0-py3-none-any.whl
Size 45.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2779db3355e5b83301d551c80c2277ba6258e2ee4ef13260444b4dbe677a9f92
BLAKE2b-256 checksum
How to use checksums
a58c1cc5b923f2d18d112d0fab8db6c422e66701da3f78bd9dac702458525507
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.1.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.1.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