Skip to main content

steel-sections

Weights, dimensions and section properties of standard steel sections, plus weight formulas for plate, bar and tube. Pure Python, no dependencies, data bundled.

pip install steel-sections
import steel_sections as ss

ss.get("ISMB 200").mass_kg_m        # 24.17
ss.get("ismb200").mass_1964_kg_m    # 25.4  (the old handbook value many charts still print)
ss.get("IPE 300").iy_cm4            # 8356.0
ss.get("ISA 50x50x5").mass_kg_m     # 3.79

[s.section for s in ss.series("HEA")][:3]   # ['HEA 100', 'HEA 120', 'HEA 140']

ss.rebar(12).weight_kg_m            # 0.888
ss.rebar("#5").weight_lb_ft         # 1.043
ss.pipe("2", "40").weight_lb_ft     # 3.66
ss.gauge(16).mm                     # 1.519

# formulas: dimensions in mm, kg per metre (plate: kg per piece); density defaults to 7850 kg/m³
ss.round_bar(12) * 12               # 10.65 kg for a 12 m bar
ss.flat_bar(50, 6)                  # 2.355
ss.round_tube(60.3, 3.91)           # 5.44
ss.plate(2500, 1250, 10)            # 245.3 kg
ss.round_bar(20, density=2700)      # aluminum

Command line:

$ steel-sections ISMB 200
$ steel-sections --series ISMC
$ steel-sections --rebar 16
$ steel-sections --pipe 1-1/2 80
$ steel-sections --gauge 14

What is included

Series Standard Sizes Fields
ISMB, ISWB, ISMC, ISA (equal angles) IS 808:2021 120 dimensions, kg/m, lb/ft, area, Ix, Iy, Iu, Iv, r, Z, Zp, It, Iw, and the IS 808:1989 and 1964 handbook masses
IPE, HEA, HEB, HEM, UPN EN 10365 profiles 108 dimensions, kg/m, lb/ft, area, Iy, Iz
Pipe ASME B36.10M / B36.19M sizes 405 NPS × schedule rows OD, wall, lb/ft, kg/m
Rebar ASTM A615 #3–#18; metric 6–50 mm 23 diameter, area, kg/m, lb/ft
Sheet metal gauges Manufacturers' standard gauge 36 steel, galvanized, stainless, aluminum thickness

Every section row was checked against the source: mass against 0.785 × area, radius of gyration against √(I/A), elastic modulus against I/(D/2). Misprints in the printed IS 808 tables are corrected. Section attributes keep the CSV column names, with units in the name (mass_kg_m, ix_cm4, depth_mm). European sections use EN axis names (y-y major, z-z minor). American W, S, C, MC, L and HSS shapes are not included: the AISC Shapes Database has no redistribution licence.

Values are theoretical (7850 kg/m³). Check them against the current standard or the mill certificate before design or purchase. Interactive version with drawings, charts and a calculator: steelweight-calculator.com.

Licence

Code: MIT. Data: Indian sections CC BY 4.0 (values from IS 808 as made public by Public.Resource.Org); European sections Apache-2.0 (geometry from the fib-international structuralcodes library); pipe, rebar and sheet gauge tables CC BY-SA 4.0 (adapted from the Wikipedia articles Nominal Pipe Size, Rebar and Sheet metal). See DATA-LICENSE.md.

Metadata

Release files for steel-sections 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 steel-sections 0.1.0
File Size Uploaded Provenance Actions
steel_sections-0.1.0.tar.gz 29.5 kB Without provenance Details for steel_sections-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 59.7 kB

Release files / steel_sections-0.1.0.tar.gz

Download URL steel_sections-0.1.0.tar.gz
Size 29.5 kB
Tags Source
SHA-256 checksum
How to use checksums
782cad32a7bbc091041f937ee1c688690df385d3096f69d31870e13f7d765015
BLAKE2b-256 checksum
How to use checksums
15ca52a63f352c05f27372264139b744f3e48398fd71dbd5cabe71fbbff63852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / steel_sections-0.1.0-py3-none-any.whl

Download URL steel_sections-0.1.0-py3-none-any.whl
Size 30.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe8fc3478d5b8fbc1a10cd5a803680f991bd30449c70e3afb023e40b7fbf3c77
BLAKE2b-256 checksum
How to use checksums
0a0dae0ca5845d09c6f59b598559f68ec6d3fd49319c0f17ac57fbb731144454
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Security for steel-sections 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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