Skip to main content

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.

  1. Bump version in pyproject.toml and update CHANGELOG.md.
  2. Remove old build artifacts and build:
    rm -rf dist build
    pip install build twine
    python -m build
    
  3. Upload with an API token from PyPI (username __token__, password = the token):
    twine upload dist/*
    

Metadata

Release files for stormbird-setup 0.11.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stormbird-setup 0.11.2
File Size Uploaded Provenance
stormbird_setup-0.11.2.tar.gz 62.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stormbird-setup 0.11.2
File Interpreter ABI Platform
stormbird_setup-0.11.2-py3-none-any.whl Python 3 none any Details

Total release size: 154.3 kB

Release files / stormbird_setup-0.11.2.tar.gz

Download URL stormbird_setup-0.11.2.tar.gz
Size 62.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7ec7920a2197a0b99583b3339bc248a4bf0437073e0f53c48a6e1a432160218f
BLAKE2b-256 checksum
How to use checksums
67904af02b028b560f98cdd6e0d8dc4651a9e908e38b25a7dd3a9226a6c44b9a
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.2-py3-none-any.whl

Download URL stormbird_setup-0.11.2-py3-none-any.whl
Size 91.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
145375d9590259328ffc245b159f632a73a5eb919fbf400b5b3c55ba8dcfb39a
BLAKE2b-256 checksum
How to use checksums
faf45260c9d0d550e279c05f9890fb7519a095fd08e76293c9ad0e865c6a81ae
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.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page