High-performance Rust-backed calculations for FERS.
Project description
FERS_calculations
FERS_calculations is a high-performance library for Rust-backed calculations in mechanical engineering. It can process JSON input files to deliver fast and accurate results. While it can be run as a standalone tool, integration with FERS_core simplifies input creation and workflow management.
Features
- Standalone Functionality: Run directly by providing a valid JSON input file.
- Rust-Powered Performance: Designed for speed and reliability in computational tasks.
- Python Integration: Seamless integration with
FERS_corefor easy preprocessing and result handling. - Engineer-Friendly Design: Minimal coding effort required for complex structural engineering calculations.
Installation
pip install fers_calculations
This installs the pre-built Rust bindings -- no Rust toolchain required.
Usage
Standalone (Python)
You can call fers_calculations directly from Python without FERS_core:
import fers_calculations
# Load your JSON input
with open("001_cantilever_with_end_load.json") as f:
json_data = f.read()
# Run the analysis
results_json = fers_calculations.calculate_from_json(json_data)
# Save the results
with open("results.json", "w") as f:
f.write(results_json)
With FERS_core (recommended)
For a more ergonomic workflow, install FERS_core which handles model creation, calling the Rust engine, and post-processing / visualisation:
pip install fers-core
from fers_core import FERS
model = FERS.from_json("001_cantilever_with_end_load.json")
model.calculate()
model.plot_results_3d()
See FERS_core on PyPI for full documentation.
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 Distributions
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 fers_calculations-0.2.13.tar.gz.
File metadata
- Download URL: fers_calculations-0.2.13.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b9bde289e157c2fff75319dee1afbf8d7f649e947115bc9b4f5e512b87ed34a
|
|
| MD5 |
4a1f1d4616fe60e20f4b10e408b01c47
|
|
| BLAKE2b-256 |
a85c12a9b9a29fc12ae4c89b93d70e9efa3da5c6e184de5a960b8b6fc88da60d
|
File details
Details for the file fers_calculations-0.2.13-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: fers_calculations-0.2.13-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e725c1bdc934b34d1e9d6e92cf9c5074ae2f28040c28bb047c80e1d5e8853e09
|
|
| MD5 |
19bd10100e08d548f6241d11da356274
|
|
| BLAKE2b-256 |
5ed5dc9f9427e15c5565180b8bb6386097a50de974cfcbd1a0f7b46a06131ae5
|
File details
Details for the file fers_calculations-0.2.13-cp312-cp312-manylinux_2_39_x86_64.whl.
File metadata
- Download URL: fers_calculations-0.2.13-cp312-cp312-manylinux_2_39_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.39+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2ee7d00064afcdc9ed0b5e3c90d8c2fb191cda020e07d396e37c8606716217a
|
|
| MD5 |
886d61b485b69fb7dcb3cf0fd2135f0b
|
|
| BLAKE2b-256 |
11ed732215871813c7c1d3b04079bae52db7ac7e4917d77aeca86727bcf70de4
|