Skip to main content

A library for setting up Stormbird simulations using Python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stormbird_setup-0.1.0.tar.gz (33.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stormbird_setup-0.1.0-py3-none-any.whl (49.0 kB view details)

Uploaded Python 3

File details

Details for the file stormbird_setup-0.1.0.tar.gz.

File metadata

  • Download URL: stormbird_setup-0.1.0.tar.gz
  • Upload date:
  • Size: 33.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for stormbird_setup-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4707207718cf6e34da91dacd3b802421edced32a6346c9b0000a4718a8c9296b
MD5 ef8b7f8af6c15950b45dc0e940d35947
BLAKE2b-256 67cfb72be29618bad7e9a52e46f8849163f4d1ccf041d0931d9cc28a3e35b0ff

See more details on using hashes here.

File details

Details for the file stormbird_setup-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for stormbird_setup-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 202d4d57c74a49332b133dbfca05e0a6e23db4b9ca516c9bb3a12f61c5016a27
MD5 d6f6a07e1caa055c006cbe2be723f664
BLAKE2b-256 16aedc7cb6c6826b789eee97876b17c50eefaed4fa70dc5a241daf1a7249cfd7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page