steelpy


Namesteelpy JSON
Version 1.1.1 PyPI version JSON
download
home_pageNone
SummaryA simple library for section properties of AISC steel shapes
upload_time2024-04-20 14:17:44
maintainerNone
docs_urlNone
authorevanfaler
requires_python<4.0,>=3.9
licenseApache-2.0
keywords steel aisc engineering shapes_aisc aisc shapes database v16.0
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # SteelPy

`steelpy` is a library that acts a database for AISC steel shapes for easy use in structural calculations and applications.  The library includes W, M, S, HP, WT, MT, ST, Pipe, HSS, L, and Double L profiles.

## Contents
* [Installation](#installation)

* [Usage](#usage)

* [Filter Method](#filter-method)

* [Property Table](#property-table)

* [Property Descriptions](#property-descriptions)

## Installation
Install using pip:
```
pip install steelpy
```

## Usage
To use the steelpy library, first import the module

```
from steelpy import aisc
```

The library includes W, M, S, HP, WT, MT, ST, Pipe, HSS, L, and Double L profiles.  To access a library of shapes, simply use dot notation for the group of profiles:
```
aisc.C_shapes
aisc.DBL_L_shapes
aisc.HP_shapes
aisc.HSS_R_shapes
aisc.HSS_shapes
aisc.L_shapes
aisc.M_shapes
aisc.MC_shapes
aisc.MT_shapes
aisc.PIPE_shapes
aisc.S_shapes
aisc.ST_shapes
aisc.W_shapes
aisc.WT_shapes
```
From there, specific sections and properties are queried in a similar manner:
```
beam = aisc.W_shapes.W12X26
Fy = 50
Aw = beam.d * beam.tw
Cv = 1.0
Vn = 0.6*Fy*Aw*Cv
```
Sections with fractions, hyphens or decimal points in their names are queried by replacing each with underscore:
```
aisc.C_shapes.C12X20_7
aisc.L_shapes.L4X4X1_4
aisc.W_shapes.W6X8_5
```
Values are consistent with the AISC Steel Construction Manual, 16th Ed. and use the imperial system (inches, lbs).  .csv files for each library of shapes is saved in steelpy > shape files and can be referenced for the available shape profiles and associated properties.

## Filter Method
The `filter` method allows you to filter the sections of a collection based on specified criteria, maximum values, minimum values, or a combination thereof. Additionally, you can sort the filtered result by a specified property.

### Parameters
* `criteria`: A `dictionary` where keys are the properties to filter by, and values are dictionaries with 'min' and/or 'max' keys specifying the minimum and maximum values for each property.
* `sort_by`: (Optional) The attribute by which to sort the filtered result. Defaults to sort by weight.

### Return Value
A `dictionary` containing all `Section` objects that meet the provided filtering criteria, sorted by the specified attribute if `sort_by` is provided.

### Usage Example
```
# Example usage 1: Filter sections based on a single property with a minimum value and sort the results by another property
filtered_result = aisc.W_shapes.filter({'Zx': {'min': 150}}, sort_by='Iy')

# Example usage 2: Filter sections based on multiple properties with different maximum and minimum values
filtered_result = aisc.W_shapes.filter({'d': {'min': 8, 'max': 12.3}, 'Ix': {'max': 100}})

# Access the filtered sections in example 2
for section_name, section_object in filtered_result.items():
    print(f"Section: {section_name}, d: {section_object.d}, Ix: {section_object.Ix}")

# Expected output:
# Section: W12X16, d: 12.0, Ix: 103.0
# Section: W12X19, d: 12.2, Ix: 130.0
# Section: W12X22, d: 12.3, Ix: 156.0
# ...
```
### Property Table
| **Attribute** | **C**   | **DBL_L** | **HP**  | **HSS_R** | **HSS** | **L**   | **M**   | **MC**  | **MT**  | **PIPE** | **S**   | **ST**  | **W**   | **WT**  |
|:-------------:|:-------:|:---------:|:-------:|:---------:|:-------:|:-------:|:-------:|:-------:|:-------:|:--------:|:-------:|:-------:|:-------:|:-------:|
| **weight**    | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **area**      | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **d**         | &check; | &check;   | &check; | _         | _       | &check; | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **bf**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **tw**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **tf**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **k**         | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **x**         | &check; | _         | _       | _         | _       | &check; | _       | &check; | _       | _        | _       | _       | _       | _       |
| **eo**        | &check; | _         | _       | _         | _       | _       | _       | &check; | _       | _        | _       | _       | _       | _       |
| **xp**        | &check; | _         | _       | _         | _       | &check; | _       | &check; | _       | _        | _       | _       | _       | _       |
| **Ix**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **Zx**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **Sx**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **rx**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **Iy**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **Zy**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **Sy**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **ry**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **J**         | &check; | _         | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |
| **Cw**        | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **Wno**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **Sw1**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **Sw2**       | &check; | _         | _       | _         | _       | _       | _       | &check; | _       | _        | _       | _       | _       | _       |
| **Sw3**       | &check; | _         | _       | _         | _       | _       | _       | &check; | _       | _        | _       | _       | _       | _       |
| **Qf**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **Qw**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **ro**        | &check; | &check;   | _       | _         | _       | &check; | _       | &check; | &check; | _        | _       | &check; | _       | &check; |
| **H**         | &check; | &check;   | _       | _         | &check; | &check; | _       | &check; | &check; | _        | _       | &check; | _       | &check; |
| **rts**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **ho**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **PA**        | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |
| **PB**        | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |
| **PC**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |
| **PD**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |
| **T**         | &check; | &check;   | &check; | _         | _       | &check; | &check; | &check; | _       | _        | &check; | _       | &check; | _       |
| **WGi**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |
| **b**         | _       | &check;   | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **y**         | _       | &check;   | _       | _         | _       | &check; | _       | _       | &check; | _        | _       | &check; | _       | &check; |
| **yp**        | _       | &check;   | _       | _         | _       | &check; | _       | _       | &check; | _        | _       | &check; | _       | &check; |
| **k1**        | _       | _         | &check; | _         | _       | _       | &check; | _       | _       | _        | _       | _       | &check; | _       |
| **OD**        | _       | _         | _       | &check;   | _       | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |
| **tnom**      | _       | _         | _       | &check;   | &check; | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |
| **tdes**      | _       | _         | _       | &check;   | &check; | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |
| **C**         | _       | _         | _       | &check;   | &check; | _       | _       | _       | _       | _        | _       | _       | _       | _       |
| **Ht**        | _       | _         | _       | _         | &check; | _       | _       | _       | _       | _        | _       | _       | _       | _       |
| **Iz**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **rz**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **Sz**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **tan_a**     | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **Iw**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **zA**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **zB**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **zC**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **wA**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **wB**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **wC**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **SwA**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **SwB**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **SwC**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **SzA**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **SzB**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **SzC**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **PA2**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |
| **ID**        | _       | _         | _       | _         | _       | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |
| **WGo**       | _       | _         | _       | _         | _       | _       | _       | _       | _       | _        | _       | _       | &check; | &check; |

### Property Descriptions

| **Attribute** | **Description**                                                                                                                                                                                                                                                                                                                                                               |
|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **weight**    | Nominal weight, lb/ft                                                                                                                                                                                                                                                                                                                                                         |
| **area**      | Cross-sectional area, in.2                                                                                                                                                                                                                                                                                                                                                    |
| **d**         | Overall depth of member, or width of shorter leg for angles, or width of the outstanding legs of long legs back-to-back double angles, or the width of the back-to-back legs of short legs back-to-back double angles, in.                                                                                                                                                    |
| **bf**        | Width of flange, in.                                                                                                                                                                                                                                                                                                                                                          |
| **tw**        | Thickness of web, in.                                                                                                                                                                                                                                                                                                                                                         |
| **tf**        | Thickness of flange, in.                                                                                                                                                                                                                                                                                                                                                      |
| **k**         | Distance from outer face of flange to web toe of fillet used for design, in.                                                                                                                                                                                                                                                                                                  |
| **x**         | Horizontal distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to center of gravity of member, in.                                                                                                                                                                                                                              |
| **eo**        | Horizontal distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to shear center of member, in.                                                                                                                                                                                                                                   |
| **xp**        | Horizontal distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to plastic neutral axis of member, in.                                                                                                                                                                                                                           |
| **Ix**        | Moment of inertia about the x-axis, in.4                                                                                                                                                                                                                                                                                                                                      |
| **Zx**        | Plastic section modulus about the x-axis, in.3                                                                                                                                                                                                                                                                                                                                |
| **Sx**        | Elastic section modulus about the x-axis, in.3                                                                                                                                                                                                                                                                                                                                |
| **rx**        | Radius of gyration about the x-axis, in.                                                                                                                                                                                                                                                                                                                                      |
| **Iy**        | Moment of inertia about the y-axis, in.4                                                                                                                                                                                                                                                                                                                                      |
| **Zy**        | Plastic section modulus about the y-axis, in.3                                                                                                                                                                                                                                                                                                                                |
| **Sy**        | Elastic section modulus about the y-axis, in.3                                                                                                                                                                                                                                                                                                                                |
| **ry**        | Radius of gyration about the y-axis , in.                                                                                                                                                                                                                                                                                                                                     |
| **J**         | Torsional constant, in.4                                                                                                                                                                                                                                                                                                                                                      |
| **Cw**        | Warping constant, in.6                                                                                                                                                                                                                                                                                                                                                        |
| **Wno**       | Normalized warping function, as used in Design Guide 9, in.2                                                                                                                                                                                                                                                                                                                  |
| **Sw1**       | Warping statical moment at point 1 on cross section, as used in AISC Design Guide 9 and shown in Figures 1 and 2, in.4                                                                                                                                                                                                                                                        |
| **Sw2**       | Warping statical moment at point 2 on cross section, as used in AISC Design Guide 9 and shown in Figure 2, in.4                                                                                                                                                                                                                                                               |
| **Sw3**       | Warping statical moment at point 3 on cross section, as used in AISC Design Guide 9 and shown in Figure 2, in.4                                                                                                                                                                                                                                                               |
| **Qf**        | Statical moment for a point in the flange directly above the vertical edge of the web, as used in AISC Design Guide 9, in.3                                                                                                                                                                                                                                                   |
| **Qw**        | Statical moment for a point at mid-depth of the cross section, as used in AISC Design Guide 9, in.3                                                                                                                                                                                                                                                                           |
| **ro**        | Polar radius of gyration about the shear center, in.                                                                                                                                                                                                                                                                                                                          |
| **H**         | Depth of the flat wall of square HSS or longer flat wall of rectangular HSS, in.                                                                                                                                                                                                                                                                                              |
| **rts**       | Effective radius of gyration, in.                                                                                                                                                                                                                                                                                                                                             |
| **ho**        | Distance between the flange centroids, in.                                                                                                                                                                                                                                                                                                                                    |
| **PA**        | Shape perimeter minus one flange surface , as used in Design Guide 19, in.                                                                                                                                                                                                                                                                                                    |
| **PB**        | Shape perimeter, as used in AISC Design Guide 19, in.                                                                                                                                                                                                                                                                                                                         |
| **PC**        | Box perimeter minus one flange surface, as used in Design Guide 19, in.                                                                                                                                                                                                                                                                                                       |
| **PD**        | Box perimeter, as used in AISC Design Guide 19, in.                                                                                                                                                                                                                                                                                                                           |
| **T**         | Thickness of angle leg, in.                                                                                                                                                                                                                                                                                                                                                   |
| **WGi**       | The workable gage for the inner fastener holes in the flange that provides for entering and tightening clearances and edge distance and spacing requirements. The actual size, combination, and orientation of fastener components should be compared with the geometry of the cross section to ensure compatibility. See AISC Manual Part 1 for additional information, in.  |
| **b**         | Overall width of square HSS or shorter wall of rectangular HSS, in.                                                                                                                                                                                                                                                                                                           |
| **y**         | Vertical distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to center of gravity of member, in.                                                                                                                                                                                                                                |
| **yp**        | Vertical distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to plastic neutral axis of member, in.                                                                                                                                                                                                                             |
| **k1**        | Distance from web center line to flange toe of fillet used for detailing, in.                                                                                                                                                                                                                                                                                                 |
| **OD**        | Outside diameter of round HSS or pipe, in.                                                                                                                                                                                                                                                                                                                                    |
| **tnom**      | Nominal thickness of HSS and pipe wall, in.                                                                                                                                                                                                                                                                                                                                   |
| **tdes**      | Design thickness of HSS and pipe wall, in.                                                                                                                                                                                                                                                                                                                                    |
| **C**         | HSS torsional constant, in.3                                                                                                                                                                                                                                                                                                                                                  |
| **Ht**        | Overall depth of square HSS or longer wall of rectangular HSS, in.                                                                                                                                                                                                                                                                                                            |
| **Iz**        | Moment of inertia about the z-axis, in.4                                                                                                                                                                                                                                                                                                                                      |
| **rz**        | Radius of gyration about the z-axis, in.                                                                                                                                                                                                                                                                                                                                      |
| **Sz**        | Elastic section modulus about the z-axis, in.3 . For single angles, see SzA, SzB, and SzC.                                                                                                                                                                                                                                                                                    |
| **tan_a**     | Tangent of the angle between the y-y and z-z axes for single angles, where a is shown in Figure 3                                                                                                                                                                                                                                                                             |
| **Iw**        | Moment of inertia about the w-axis for single angles, in.4                                                                                                                                                                                                                                                                                                                    |
| **zA**        | Distance from point A to center of gravity along z-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |
| **zB**        | Distance from point B to center of gravity along z-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |
| **zC**        | Distance from point C to center of gravity along z-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |
| **wA**        | Distance from point A to center of gravity along w-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |
| **wB**        | Distance from point B to center of gravity along w-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |
| **wC**        | Distance from point C to center of gravity along w-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |
| **SwA**       | Elastic section modulus about the w-axis at point A on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |
| **SwB**       | Elastic section modulus about the w-axis at point B on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |
| **SwC**       | Elastic section modulus about the w-axis at point C on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |
| **SzA**       | Elastic section modulus about the z-axis at point A on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |
| **SzB**       | Elastic section modulus about the z-axis at point B on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |
| **SzC**       | Elastic section modulus about the z-axis at point C on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |
| **PA2**       | Single angle shape perimeter minus long leg surface, as used in AISC Design Guide 19, in.                                                                                                                                                                                                                                                                                     |
| **ID**        | Inside diameter of pipe, in.                                                                                                                                                                                                                                                                                                                                                  |
| **WGo**       | The bolt spacing between inner and outer fastener holes when the workable gage is compatible with four holes across the flange. See AISC Manual Part 1 for additional information, in.                                                                                                                                                                                        |

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "steelpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "steel, AISC, engineering, shapes_AISC, AISC Shapes Database v16.0",
    "author": "evanfaler",
    "author_email": "emfaler@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c9/90/9ede68cfcc4bd9cb1b68abae7ef328b9547a311eeb6a1ae92fda1d0d0496/steelpy-1.1.1.tar.gz",
    "platform": null,
    "description": "# SteelPy\n\n`steelpy` is a library that acts a database for AISC steel shapes for easy use in structural calculations and applications.  The library includes W, M, S, HP, WT, MT, ST, Pipe, HSS, L, and Double L profiles.\n\n## Contents\n* [Installation](#installation)\n\n* [Usage](#usage)\n\n* [Filter Method](#filter-method)\n\n* [Property Table](#property-table)\n\n* [Property Descriptions](#property-descriptions)\n\n## Installation\nInstall using pip:\n```\npip install steelpy\n```\n\n## Usage\nTo use the steelpy library, first import the module\n\n```\nfrom steelpy import aisc\n```\n\nThe library includes W, M, S, HP, WT, MT, ST, Pipe, HSS, L, and Double L profiles.  To access a library of shapes, simply use dot notation for the group of profiles:\n```\naisc.C_shapes\naisc.DBL_L_shapes\naisc.HP_shapes\naisc.HSS_R_shapes\naisc.HSS_shapes\naisc.L_shapes\naisc.M_shapes\naisc.MC_shapes\naisc.MT_shapes\naisc.PIPE_shapes\naisc.S_shapes\naisc.ST_shapes\naisc.W_shapes\naisc.WT_shapes\n```\nFrom there, specific sections and properties are queried in a similar manner:\n```\nbeam = aisc.W_shapes.W12X26\nFy = 50\nAw = beam.d * beam.tw\nCv = 1.0\nVn = 0.6*Fy*Aw*Cv\n```\nSections with fractions, hyphens or decimal points in their names are queried by replacing each with underscore:\n```\naisc.C_shapes.C12X20_7\naisc.L_shapes.L4X4X1_4\naisc.W_shapes.W6X8_5\n```\nValues are consistent with the AISC Steel Construction Manual, 16th Ed. and use the imperial system (inches, lbs).  .csv files for each library of shapes is saved in steelpy > shape files and can be referenced for the available shape profiles and associated properties.\n\n## Filter Method\nThe `filter` method allows you to filter the sections of a collection based on specified criteria, maximum values, minimum values, or a combination thereof. Additionally, you can sort the filtered result by a specified property.\n\n### Parameters\n* `criteria`: A `dictionary` where keys are the properties to filter by, and values are dictionaries with 'min' and/or 'max' keys specifying the minimum and maximum values for each property.\n* `sort_by`: (Optional) The attribute by which to sort the filtered result. Defaults to sort by weight.\n\n### Return Value\nA `dictionary` containing all `Section` objects that meet the provided filtering criteria, sorted by the specified attribute if `sort_by` is provided.\n\n### Usage Example\n```\n# Example usage 1: Filter sections based on a single property with a minimum value and sort the results by another property\nfiltered_result = aisc.W_shapes.filter({'Zx': {'min': 150}}, sort_by='Iy')\n\n# Example usage 2: Filter sections based on multiple properties with different maximum and minimum values\nfiltered_result = aisc.W_shapes.filter({'d': {'min': 8, 'max': 12.3}, 'Ix': {'max': 100}})\n\n# Access the filtered sections in example 2\nfor section_name, section_object in filtered_result.items():\n    print(f\"Section: {section_name}, d: {section_object.d}, Ix: {section_object.Ix}\")\n\n# Expected output:\n# Section: W12X16, d: 12.0, Ix: 103.0\n# Section: W12X19, d: 12.2, Ix: 130.0\n# Section: W12X22, d: 12.3, Ix: 156.0\n# ...\n```\n### Property Table\n| **Attribute** | **C**   | **DBL_L** | **HP**  | **HSS_R** | **HSS** | **L**   | **M**   | **MC**  | **MT**  | **PIPE** | **S**   | **ST**  | **W**   | **WT**  |\n|:-------------:|:-------:|:---------:|:-------:|:---------:|:-------:|:-------:|:-------:|:-------:|:-------:|:--------:|:-------:|:-------:|:-------:|:-------:|\n| **weight**    | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **area**      | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **d**         | &check; | &check;   | &check; | _         | _       | &check; | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **bf**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **tw**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **tf**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **k**         | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **x**         | &check; | _         | _       | _         | _       | &check; | _       | &check; | _       | _        | _       | _       | _       | _       |\n| **eo**        | &check; | _         | _       | _         | _       | _       | _       | &check; | _       | _        | _       | _       | _       | _       |\n| **xp**        | &check; | _         | _       | _         | _       | &check; | _       | &check; | _       | _        | _       | _       | _       | _       |\n| **Ix**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **Zx**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **Sx**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **rx**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **Iy**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **Zy**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **Sy**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **ry**        | &check; | &check;   | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **J**         | &check; | _         | &check; | &check;   | &check; | &check; | &check; | &check; | &check; | &check;  | &check; | &check; | &check; | &check; |\n| **Cw**        | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **Wno**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **Sw1**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **Sw2**       | &check; | _         | _       | _         | _       | _       | _       | &check; | _       | _        | _       | _       | _       | _       |\n| **Sw3**       | &check; | _         | _       | _         | _       | _       | _       | &check; | _       | _        | _       | _       | _       | _       |\n| **Qf**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **Qw**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **ro**        | &check; | &check;   | _       | _         | _       | &check; | _       | &check; | &check; | _        | _       | &check; | _       | &check; |\n| **H**         | &check; | &check;   | _       | _         | &check; | &check; | _       | &check; | &check; | _        | _       | &check; | _       | &check; |\n| **rts**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **ho**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **PA**        | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |\n| **PB**        | &check; | _         | &check; | _         | _       | &check; | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |\n| **PC**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |\n| **PD**        | &check; | _         | &check; | _         | _       | _       | &check; | &check; | _       | _        | &check; | _       | &check; | &check; |\n| **T**         | &check; | &check;   | &check; | _         | _       | &check; | &check; | &check; | _       | _        | &check; | _       | &check; | _       |\n| **WGi**       | &check; | _         | &check; | _         | _       | _       | &check; | &check; | &check; | _        | &check; | &check; | &check; | &check; |\n| **b**         | _       | &check;   | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **y**         | _       | &check;   | _       | _         | _       | &check; | _       | _       | &check; | _        | _       | &check; | _       | &check; |\n| **yp**        | _       | &check;   | _       | _         | _       | &check; | _       | _       | &check; | _        | _       | &check; | _       | &check; |\n| **k1**        | _       | _         | &check; | _         | _       | _       | &check; | _       | _       | _        | _       | _       | &check; | _       |\n| **OD**        | _       | _         | _       | &check;   | _       | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |\n| **tnom**      | _       | _         | _       | &check;   | &check; | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |\n| **tdes**      | _       | _         | _       | &check;   | &check; | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |\n| **C**         | _       | _         | _       | &check;   | &check; | _       | _       | _       | _       | _        | _       | _       | _       | _       |\n| **Ht**        | _       | _         | _       | _         | &check; | _       | _       | _       | _       | _        | _       | _       | _       | _       |\n| **Iz**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **rz**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **Sz**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **tan_a**     | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **Iw**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **zA**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **zB**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **zC**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **wA**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **wB**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **wC**        | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **SwA**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **SwB**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **SwC**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **SzA**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **SzB**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **SzC**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **PA2**       | _       | _         | _       | _         | _       | &check; | _       | _       | _       | _        | _       | _       | _       | _       |\n| **ID**        | _       | _         | _       | _         | _       | _       | _       | _       | _       | &check;  | _       | _       | _       | _       |\n| **WGo**       | _       | _         | _       | _         | _       | _       | _       | _       | _       | _        | _       | _       | &check; | &check; |\n\n### Property Descriptions\n\n| **Attribute** | **Description**                                                                                                                                                                                                                                                                                                                                                               |\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **weight**    | Nominal weight, lb/ft                                                                                                                                                                                                                                                                                                                                                         |\n| **area**      | Cross-sectional area, in.2                                                                                                                                                                                                                                                                                                                                                    |\n| **d**         | Overall depth of member, or width of shorter leg for angles, or width of the outstanding legs of long legs back-to-back double angles, or the width of the back-to-back legs of short legs back-to-back double angles, in.                                                                                                                                                    |\n| **bf**        | Width of flange, in.                                                                                                                                                                                                                                                                                                                                                          |\n| **tw**        | Thickness of web, in.                                                                                                                                                                                                                                                                                                                                                         |\n| **tf**        | Thickness of flange, in.                                                                                                                                                                                                                                                                                                                                                      |\n| **k**         | Distance from outer face of flange to web toe of fillet used for design, in.                                                                                                                                                                                                                                                                                                  |\n| **x**         | Horizontal distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to center of gravity of member, in.                                                                                                                                                                                                                              |\n| **eo**        | Horizontal distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to shear center of member, in.                                                                                                                                                                                                                                   |\n| **xp**        | Horizontal distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to plastic neutral axis of member, in.                                                                                                                                                                                                                           |\n| **Ix**        | Moment of inertia about the x-axis, in.4                                                                                                                                                                                                                                                                                                                                      |\n| **Zx**        | Plastic section modulus about the x-axis, in.3                                                                                                                                                                                                                                                                                                                                |\n| **Sx**        | Elastic section modulus about the x-axis, in.3                                                                                                                                                                                                                                                                                                                                |\n| **rx**        | Radius of gyration about the x-axis, in.                                                                                                                                                                                                                                                                                                                                      |\n| **Iy**        | Moment of inertia about the y-axis, in.4                                                                                                                                                                                                                                                                                                                                      |\n| **Zy**        | Plastic section modulus about the y-axis, in.3                                                                                                                                                                                                                                                                                                                                |\n| **Sy**        | Elastic section modulus about the y-axis, in.3                                                                                                                                                                                                                                                                                                                                |\n| **ry**        | Radius of gyration about the y-axis , in.                                                                                                                                                                                                                                                                                                                                     |\n| **J**         | Torsional constant, in.4                                                                                                                                                                                                                                                                                                                                                      |\n| **Cw**        | Warping constant, in.6                                                                                                                                                                                                                                                                                                                                                        |\n| **Wno**       | Normalized warping function, as used in Design Guide 9, in.2                                                                                                                                                                                                                                                                                                                  |\n| **Sw1**       | Warping statical moment at point 1 on cross section, as used in AISC Design Guide 9 and shown in Figures 1 and 2, in.4                                                                                                                                                                                                                                                        |\n| **Sw2**       | Warping statical moment at point 2 on cross section, as used in AISC Design Guide 9 and shown in Figure 2, in.4                                                                                                                                                                                                                                                               |\n| **Sw3**       | Warping statical moment at point 3 on cross section, as used in AISC Design Guide 9 and shown in Figure 2, in.4                                                                                                                                                                                                                                                               |\n| **Qf**        | Statical moment for a point in the flange directly above the vertical edge of the web, as used in AISC Design Guide 9, in.3                                                                                                                                                                                                                                                   |\n| **Qw**        | Statical moment for a point at mid-depth of the cross section, as used in AISC Design Guide 9, in.3                                                                                                                                                                                                                                                                           |\n| **ro**        | Polar radius of gyration about the shear center, in.                                                                                                                                                                                                                                                                                                                          |\n| **H**         | Depth of the flat wall of square HSS or longer flat wall of rectangular HSS, in.                                                                                                                                                                                                                                                                                              |\n| **rts**       | Effective radius of gyration, in.                                                                                                                                                                                                                                                                                                                                             |\n| **ho**        | Distance between the flange centroids, in.                                                                                                                                                                                                                                                                                                                                    |\n| **PA**        | Shape perimeter minus one flange surface , as used in Design Guide 19, in.                                                                                                                                                                                                                                                                                                    |\n| **PB**        | Shape perimeter, as used in AISC Design Guide 19, in.                                                                                                                                                                                                                                                                                                                         |\n| **PC**        | Box perimeter minus one flange surface, as used in Design Guide 19, in.                                                                                                                                                                                                                                                                                                       |\n| **PD**        | Box perimeter, as used in AISC Design Guide 19, in.                                                                                                                                                                                                                                                                                                                           |\n| **T**         | Thickness of angle leg, in.                                                                                                                                                                                                                                                                                                                                                   |\n| **WGi**       | The workable gage for the inner fastener holes in the flange that provides for entering and tightening clearances and edge distance and spacing requirements. The actual size, combination, and orientation of fastener components should be compared with the geometry of the cross section to ensure compatibility. See AISC Manual Part 1 for additional information, in.  |\n| **b**         | Overall width of square HSS or shorter wall of rectangular HSS, in.                                                                                                                                                                                                                                                                                                           |\n| **y**         | Vertical distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to center of gravity of member, in.                                                                                                                                                                                                                                |\n| **yp**        | Vertical distance from designated edge of member, as defined in the AISC Steel Construction Manual Part 1, to plastic neutral axis of member, in.                                                                                                                                                                                                                             |\n| **k1**        | Distance from web center line to flange toe of fillet used for detailing, in.                                                                                                                                                                                                                                                                                                 |\n| **OD**        | Outside diameter of round HSS or pipe, in.                                                                                                                                                                                                                                                                                                                                    |\n| **tnom**      | Nominal thickness of HSS and pipe wall, in.                                                                                                                                                                                                                                                                                                                                   |\n| **tdes**      | Design thickness of HSS and pipe wall, in.                                                                                                                                                                                                                                                                                                                                    |\n| **C**         | HSS torsional constant, in.3                                                                                                                                                                                                                                                                                                                                                  |\n| **Ht**        | Overall depth of square HSS or longer wall of rectangular HSS, in.                                                                                                                                                                                                                                                                                                            |\n| **Iz**        | Moment of inertia about the z-axis, in.4                                                                                                                                                                                                                                                                                                                                      |\n| **rz**        | Radius of gyration about the z-axis, in.                                                                                                                                                                                                                                                                                                                                      |\n| **Sz**        | Elastic section modulus about the z-axis, in.3 . For single angles, see SzA, SzB, and SzC.                                                                                                                                                                                                                                                                                    |\n| **tan_a**     | Tangent of the angle between the y-y and z-z axes for single angles, where a is shown in Figure 3                                                                                                                                                                                                                                                                             |\n| **Iw**        | Moment of inertia about the w-axis for single angles, in.4                                                                                                                                                                                                                                                                                                                    |\n| **zA**        | Distance from point A to center of gravity along z-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |\n| **zB**        | Distance from point B to center of gravity along z-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |\n| **zC**        | Distance from point C to center of gravity along z-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |\n| **wA**        | Distance from point A to center of gravity along w-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |\n| **wB**        | Distance from point B to center of gravity along w-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |\n| **wC**        | Distance from point C to center of gravity along w-axis, as shown in Figure 3, in.                                                                                                                                                                                                                                                                                            |\n| **SwA**       | Elastic section modulus about the w-axis at point A on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |\n| **SwB**       | Elastic section modulus about the w-axis at point B on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |\n| **SwC**       | Elastic section modulus about the w-axis at point C on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |\n| **SzA**       | Elastic section modulus about the z-axis at point A on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |\n| **SzB**       | Elastic section modulus about the z-axis at point B on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |\n| **SzC**       | Elastic section modulus about the z-axis at point C on cross section, as shown in Figure 3, in.3                                                                                                                                                                                                                                                                              |\n| **PA2**       | Single angle shape perimeter minus long leg surface, as used in AISC Design Guide 19, in.                                                                                                                                                                                                                                                                                     |\n| **ID**        | Inside diameter of pipe, in.                                                                                                                                                                                                                                                                                                                                                  |\n| **WGo**       | The bolt spacing between inner and outer fastener holes when the workable gage is compatible with four holes across the flange. See AISC Manual Part 1 for additional information, in.                                                                                                                                                                                        |\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "A simple library for section properties of AISC steel shapes",
    "version": "1.1.1",
    "project_urls": null,
    "split_keywords": [
        "steel",
        " aisc",
        " engineering",
        " shapes_aisc",
        " aisc shapes database v16.0"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b034648794eed665b024ee071a94042f34ce7fb9141d067ce58efa961dddf9eb",
                "md5": "4ff4f8f29d5c49362227aa1675f342fd",
                "sha256": "5710a7ff7d7a7eb0ca52a00699851aaa962cd137d5f9492709e19e0aec85670a"
            },
            "downloads": -1,
            "filename": "steelpy-1.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4ff4f8f29d5c49362227aa1675f342fd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 108774,
            "upload_time": "2024-04-20T14:17:42",
            "upload_time_iso_8601": "2024-04-20T14:17:42.812374Z",
            "url": "https://files.pythonhosted.org/packages/b0/34/648794eed665b024ee071a94042f34ce7fb9141d067ce58efa961dddf9eb/steelpy-1.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9909ede68cfcc4bd9cb1b68abae7ef328b9547a311eeb6a1ae92fda1d0d0496",
                "md5": "960025d9312999a9f650220e62847553",
                "sha256": "8ea3236f5bb2fb530001f3d736b16d50457b691debec6a6a791b75985be3f817"
            },
            "downloads": -1,
            "filename": "steelpy-1.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "960025d9312999a9f650220e62847553",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 109255,
            "upload_time": "2024-04-20T14:17:44",
            "upload_time_iso_8601": "2024-04-20T14:17:44.486599Z",
            "url": "https://files.pythonhosted.org/packages/c9/90/9ede68cfcc4bd9cb1b68abae7ef328b9547a311eeb6a1ae92fda1d0d0496/steelpy-1.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-20 14:17:44",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "steelpy"
}
        
Elapsed time: 0.24001s