Metadata-Version: 2.4
Name: civilpy
Version: 0.7.0
Summary: Basic structural mechanics utilities and AISC steel shape data
Author-email: Dane Parks <Dane@daneparks.com>
License: MIT
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=2.0
Requires-Dist: pandas>=2.0
Requires-Dist: sympy>=1.10
Requires-Dist: matplotlib>=3.7
Requires-Dist: Pint>=0.20
Provides-Extra: test
Requires-Dist: pytest>=7.0; extra == "test"
Dynamic: license-file

# CivilPy

**CivilPy and its related projects are pending migration to a more official status.**

Until that migration is complete, the source repositories are private and this package
contains only a minimal set of general-purpose functions.

## Installation

```bash
pip install civilpy
```

Python 3.10 or newer.

## What's in the package

| Module | Contents |
|--------|----------|
| `civilpy.general` | Shared Pint unit registry |
| `civilpy.structural.steel` | AISC steel shapes, including historic tables |
| `civilpy.structural.section_properties` | Cross-section properties of composed shapes |
| `civilpy.structural.beam_bending` | Shear, moment, and deflection of beams |
| `civilpy.structural.moment_distribution` | Hardy Cross moment distribution |
| `civilpy.structural.effective_length` | Column effective-length factors |
| `civilpy.structural.flexural_stress` | Flexural stress and stress diagrams |
| `civilpy.structural.shear_flow` | Shear flow in built-up sections |
| `civilpy.structural.mohrs_circle` | Mohr's circle for combined stress |

```python
from civilpy.structural.steel import W

beam = W("W36X150")
print(beam.I_x)  # 9040.0 inch ** 4
```

## License

MIT. See [LICENSE](LICENSE).
