Add your description here
Project description
🐍 SteelSnakes
A powerful Python library for working with UK/European steel sections. Access comprehensive steel section properties with a unified, type-safe interface.
✨ Features
- 18 Section Types - Universal beams, columns, channels, angles, hollow sections, bolts, and welds
- Advanced Search - Powerful database search with comparison operators
- Type Safety - Built with Pydantic models for complete type safety and validation
- High Performance - Efficient JSON-based database with smart caching
- Factory Pattern - Auto-detection of section types from designations
- Complete Properties - All geometric and mass properties included
🚀 Quick Start
Installation
pip install steelsnakes
Basic Usage
from steelsnakes.core.sections.UK import UB, UC, PFC
# Create sections using simple designations
beam = UB("457x191x67")
column = UC("305x305x137")
channel = PFC("430x100x64")
# Access properties immediately
print(f"Beam moment of inertia: {beam.I_yy} cm⁴")
print(f"Column mass: {column.mass_per_metre} kg/m")
print(f"Channel shear center: {channel.e0} mm")
Advanced Search
from steelsnakes.core.sections.UK import get_database, SectionType
database = get_database()
# Find heavy beams
heavy_beams = database.search_sections(
SectionType.UB,
mass_per_metre__gt=200
)
# Find deep channels
deep_channels = database.search_sections(
SectionType.PFC,
h__gt=300,
b__gt=100
)
📚 Documentation
- Installation Guide - Get started quickly
- User Guide - Comprehensive feature documentation
- Examples - Practical usage examples
- API Reference - Complete API documentation
🔧 Section Types Supported
| Category | Types | Count | Standards |
|---|---|---|---|
| Universal Sections | UB, UC, UBP | 3 | BS EN 10365 |
| Channels | PFC | 1 | BS EN 10365 |
| Angles | L_EQUAL, L_UNEQUAL, B2B variants | 4 | BS EN 10365 |
| Hot Finished Hollow | HFCHS, HFRHS, HFSHS, HFEHS | 4 | BS EN 10365 |
| Cold Formed Hollow | CFCHS, CFRHS, CFSHS | 3 | BS EN 10365 |
| Connection Elements | Bolts (8.8, 10.9), Welds | 3 | BS EN standards |
🤝 Contributing
We welcome contributions! Please see our Contributing Guidelines for details.
📄 License
This project is licensed under the MIT License - see the LICENSE.md file for details.
🙏 Acknowledgments
- Steel section data sourced from official UK steel supplier tables
- Conforms to BS EN 10365 and related UK/European standards
- Built with modern Python best practices
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steelsnakes-0.0.1a1.tar.gz.
File metadata
- Download URL: steelsnakes-0.0.1a1.tar.gz
- Upload date:
- Size: 102.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ef6d2906ffffa1a247350a35dc6e9aa3d53141944dc3cfc294fef8880316023
|
|
| MD5 |
6cfc1ead187b7f3cc8d167e1bf46c5c1
|
|
| BLAKE2b-256 |
194e4f53f0f4e44ff2a057985f2dccfb8b5102b05129f3cde400887d4d392511
|
Provenance
The following attestation bundles were made for steelsnakes-0.0.1a1.tar.gz:
Publisher:
python-publish.yml on waynemaranga/steelsnakes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
steelsnakes-0.0.1a1.tar.gz -
Subject digest:
8ef6d2906ffffa1a247350a35dc6e9aa3d53141944dc3cfc294fef8880316023 - Sigstore transparency entry: 419594344
- Sigstore integration time:
-
Permalink:
waynemaranga/steelsnakes@b51e68d5ee603a4669b5c3383cb46158a30dec00 -
Branch / Tag:
refs/tags/v0.0.1-alpha-1 - Owner: https://github.com/waynemaranga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b51e68d5ee603a4669b5c3383cb46158a30dec00 -
Trigger Event:
release
-
Statement type:
File details
Details for the file steelsnakes-0.0.1a1-py3-none-any.whl.
File metadata
- Download URL: steelsnakes-0.0.1a1-py3-none-any.whl
- Upload date:
- Size: 116.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a7d969f1726bdf09651e9a091995ca6ca48ec653a1b202f1119fd9e331f9d9f
|
|
| MD5 |
af70d566182fb785998788daa72f48ee
|
|
| BLAKE2b-256 |
2f0f18f6d615adde3ca9c67c32a9683107a34417ee195d36d618ed50cb3779a7
|
Provenance
The following attestation bundles were made for steelsnakes-0.0.1a1-py3-none-any.whl:
Publisher:
python-publish.yml on waynemaranga/steelsnakes
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
steelsnakes-0.0.1a1-py3-none-any.whl -
Subject digest:
6a7d969f1726bdf09651e9a091995ca6ca48ec653a1b202f1119fd9e331f9d9f - Sigstore transparency entry: 419594369
- Sigstore integration time:
-
Permalink:
waynemaranga/steelsnakes@b51e68d5ee603a4669b5c3383cb46158a30dec00 -
Branch / Tag:
refs/tags/v0.0.1-alpha-1 - Owner: https://github.com/waynemaranga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@b51e68d5ee603a4669b5c3383cb46158a30dec00 -
Trigger Event:
release
-
Statement type: