A simple beam analysis tool
Project description
Beam Analysis
Beam Analysis is a lightweight Python package for structural beam analysis.
Example - Cantilever Beam
from pybeam import members
length = 5 # m
resolution = 1000 # points
load = 50 # N
load_position = 5 # m
# create generic loadable member
loadable = members.Loadable(length, resolution)
# add load
loadable.add_shear_point_force(load, load_position/length) # relative position
# reaction loads (no automated solver yet)
loadable.add_shear_point_force(-load, 0)
loadable.add_point_moment(-load*length, 0)
loadable.plot()
Sign convention: positive shear loads downwards.
Use
(windows)
clone repo
python -m venv ./venv
./venv/Scripts/Activate.ps1
pip install -r requirements.txt
test: pip install -r requirements-dev.txt python -m pytest .\test\
coverage run -m pytest
coverage report -m
build
python -m build
whl file in dist/
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 pybeam_structural-0.1.0a0.tar.gz.
File metadata
- Download URL: pybeam_structural-0.1.0a0.tar.gz
- Upload date:
- Size: 13.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 |
ebe23c54984d7923746f7c57f6f919c4df27196f30e113b72dd33f9cf545a81e
|
|
| MD5 |
9a6b900d3d93eb77020c977180517d76
|
|
| BLAKE2b-256 |
cb63d189f81b55d21cfd552a40fe773095b469c70f82048394ee04787ceb78ba
|
Provenance
The following attestation bundles were made for pybeam_structural-0.1.0a0.tar.gz:
Publisher:
release.yml on DGames95/pybeam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybeam_structural-0.1.0a0.tar.gz -
Subject digest:
ebe23c54984d7923746f7c57f6f919c4df27196f30e113b72dd33f9cf545a81e - Sigstore transparency entry: 444021117
- Sigstore integration time:
-
Permalink:
DGames95/pybeam@78817b9d80dc83d2279c8ba8aecf33629f72a903 -
Branch / Tag:
refs/tags/v0.1.0a - Owner: https://github.com/DGames95
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@78817b9d80dc83d2279c8ba8aecf33629f72a903 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pybeam_structural-0.1.0a0-py3-none-any.whl.
File metadata
- Download URL: pybeam_structural-0.1.0a0-py3-none-any.whl
- Upload date:
- Size: 11.2 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 |
8c7af3610104eb164bb6dbed003f1d24712fb161bbd9f9eed0c613edbff2da8d
|
|
| MD5 |
4e73c84063768a5357045281417d170a
|
|
| BLAKE2b-256 |
7ba82f6196fed2f1f15e36603c6c60f46be6d5fdb87b21d3cb8078d9bd472de4
|
Provenance
The following attestation bundles were made for pybeam_structural-0.1.0a0-py3-none-any.whl:
Publisher:
release.yml on DGames95/pybeam
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybeam_structural-0.1.0a0-py3-none-any.whl -
Subject digest:
8c7af3610104eb164bb6dbed003f1d24712fb161bbd9f9eed0c613edbff2da8d - Sigstore transparency entry: 444021125
- Sigstore integration time:
-
Permalink:
DGames95/pybeam@78817b9d80dc83d2279c8ba8aecf33629f72a903 -
Branch / Tag:
refs/tags/v0.1.0a - Owner: https://github.com/DGames95
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@78817b9d80dc83d2279c8ba8aecf33629f72a903 -
Trigger Event:
release
-
Statement type: