pystormbird
A Python interface to the Stormbird library for simulating lifting surfaces.
Requirements
⚠️ Rust Toolchain Required
This package is distributed as source only and must be compiled during installation. You must have the Rust toolchain installed before installing this package.
Install Rust: Visit https://rust-lang.org/
Installation
Once Rust is installed, install pystormbird with pip:
pip install pystormbird
Or install from source:
git clone https://github.com/NTNU-IMT/stormbird.git
cd stormbird/interfaces/pystormbird
pip install .
Use Cases
- Running lifting line simulations through Python scripting
- Testing parts of the code that require plotting and visual inspection
Implementation Details
The interface is made using PyO3. The layout and structure of the code follow the source code in Stormbird as much as possible.
The initialization of most classes is done using JSON strings, to avoid unnecessary maintenance of code. You can use Python's built-in json module for dictionaries, or use the stormbird_setup helper package.
It is not a goal to offer an interface to every aspect of the Stormbird library. Rather, an interface is only made when a specific use case has presented itself.
Development
For a test build using cargo:
cargo build
To build a distributable wheel:
maturin build --release
Metadata
Release files for pystormbird 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pystormbird-0.10.0.tar.gz | 51.0 kB | Without provenance | Details |
Release files / pystormbird-0.10.0.tar.gz
| Download URL | pystormbird-0.10.0.tar.gz |
|---|---|
| Size | 51.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f512169a1348a63863ed23bae58890450f141ccc110718dff2cb737ab232f1e
|
|
BLAKE2b-256 checksum How to use checksums |
d5d8bdddd19e67d44d2d1c478b9f21e17ca7368309826f6e52a5a81cd11a51fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for pystormbird 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.