OpenLine
OpenLine is a Python library for modeling overhead transmission lines. It calculates line impedance and admittance, conductor ampacity, sag, and tension, with a catalog of conductors and structures drawn from standards and manufacturer documents.
Documentation: examples, conductors, structures, and API.
pip install openline
from openline import conductors, electrical, mechanical, units as u
drake = conductors.astm.b232.DRAKE
resistance = electrical.resistance(drake, temperature=u.celsius(75), frequency=u.hz(60))
print(resistance) # 0.08559 Ω/km
print(mechanical.mass(drake)) # 1.63 kg/m
| Module | Purpose |
|---|---|
conductors |
Conductor designs by standard, with of and named to search them |
structures |
Tower, frame, and pole designs, with of and named to search them |
electrical |
Conductor resistance and named line impedance/admittance, including sequence conversion |
ratings |
Ampacity, temperature, and temperature profiles using IEEE Std 738-2023 |
mechanical |
Mass, strength, elasticity, expansion, sag, and tension |
units |
Typed quantities and scalar, complex, or matrix unit conversion |
types |
Detailed construction, material, geometry, and result types |
Common inputs such as Line, Circuit, Strung, Environment, and Surface are exported
from openline. Advanced component models remain in electrical.series and electrical.shunt.
Calculations take a conductor's construction, its materials and its standard alone; the catalog holds no reported values. The validation results compare each calculation with what manufacturers and standards report.
Author
Luke Lowery, PhD student in the Birchfield Research Group at Texas A&M University · Google Scholar · ORCID
Also by the author: pyvectorfit, vector fitting for EMT line models.
Metadata
Release files for openline 2026.10.27
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openline-2026.10.27.tar.gz | 155.2 kB | With provenance | Details for openline-2026.10.27.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openline-2026.10.27-py3-none-any.whl | Python 3 | none | any | Details for openline-2026.10.27-py3-none-any.whl |
Total release size: 340.6 kB
Release files / openline-2026.10.27.tar.gz
| Download URL | openline-2026.10.27.tar.gz |
|---|---|
| Size | 155.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c29d5a13c6cfc6140cc6e71a713643e323f0d85f6e154864d4b40b1efc7464a3
|
|
BLAKE2b-256 checksum How to use checksums |
8d7aa5eb641832ce51a50b1c7138b6a3d1c299355602ef950a77b7c21ef03529
|
| 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 Oct 27, 2026.
Transparency logRelease files / openline-2026.10.27-py3-none-any.whl
| Download URL | openline-2026.10.27-py3-none-any.whl |
|---|---|
| Size | 185.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c78024c412831340874e10c61d16402547e0de5054ab218a13e0a952f38c0dc9
|
|
BLAKE2b-256 checksum How to use checksums |
5a4084e3df46d6f72d1ba3cd19a2384df5c182cacf22502d998505b62712a05a
|
| 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 Oct 27, 2026.
Transparency logSecurity for openline 2026.10.27
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for openline-2026.10.27.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 Oct 27, 2026.
Transparency logA 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.