stormbird_setup
A Python library that simplifies the setup of models that are to be used with the stormbird library.
The stormbird library is a Rust crate with a Python interface as well as several other interfaces. More info about this library can be found at the GitHub page
Philosophy
The point of this library is to implement the different input structures as Python classes that inherits from the Pydantic base model class. This allows for typed-checked creation of setup data, which is also easily converted to and from json strings, which is often the direct input to Stormbird.
The Python interface to Stormbird is called pystormbird. However, stormbird_setup does NOT require pystormbird to be installed AND it is supposed to be agnostic in terms of the flavor of Stormbird that is used. For instance, this library should be equally useful for setting up models for the FMU-version, the Python version, and the OpenFOAM version (actuator line simulations) of Stormbird.
In addition, since the point is to simplify the setup, it also contains simplified builders for typical simulations that may be performed with Stormbird.
Install instructions
A normal Python package. Can be installed by navigating into the folder and execute
pip install .
Or, it should also be available on PyPi, and therefore through
pip install stormbird_setup
Publishing to PyPI (maintainer cheat-sheet)
This section is a reminder for the main developer. Only the package owner has upload rights to PyPI.
This is a pure Python package, so both a source distribution and a wheel are uploaded.
- Bump
versioninpyproject.tomland updateCHANGELOG.md. - Remove old build artifacts and build:
rm -rf dist build pip install build twine python -m build
- Upload with an API token from PyPI (username
__token__, password = the token):twine upload dist/*
Metadata
Release files for stormbird-setup 0.11.1
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 | |
|---|---|---|---|---|
| stormbird_setup-0.11.1.tar.gz | 63.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stormbird_setup-0.11.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 154.9 kB
Release files / stormbird_setup-0.11.1.tar.gz
| Download URL | stormbird_setup-0.11.1.tar.gz |
|---|---|
| Size | 63.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bc788dfe1541a4a64c72855b5806f10dcac9ef5a1ae18d43f9468f3246440226
|
|
BLAKE2b-256 checksum How to use checksums |
e65e6e3d493552bb75a585353ebeccfe8a7b070c4140cd2f91ec9cee72299ade
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / stormbird_setup-0.11.1-py3-none-any.whl
| Download URL | stormbird_setup-0.11.1-py3-none-any.whl |
|---|---|
| Size | 91.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed6a9de4b71184adb37254d9af4efdffb25d28aee19d8185842b68fd0c013822
|
|
BLAKE2b-256 checksum How to use checksums |
a381c4594007e860ecb49b48887ebbd9b3347e8f77c2b1b3cadaff4ec6869b59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for stormbird-setup 0.11.1
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.