Skip to main content

No project description provided

Reason this release was yanked:

unstable

Project description

Glacium

Glacium is a lightweight command line tool to manage small simulation workflows. Projects are created inside the runs/ directory and consist of a global configuration, a set of jobs and rendered templates. The focus lies on easily defining new recipes and executing jobs in dependency order.

Installation

Install the package with pip (Python 3.12 or newer is required):

pip install .

This exposes a glacium command via the console script entry point.

Usage

Below is a quick tour through the most important CLI commands. Each command provides --help for additional options.

Create a project

# create a new project from the default recipe
glacium new MyWing

The command prints the generated project UID. All projects live below ./runs/<UID>.

List projects

glacium projects

Select a project

# select by number from `glacium projects`
glacium select 1

The selected UID is stored in ~/.glacium_current and used by other commands.

Run jobs

# run all pending jobs in the current project
glacium run

You can run specific jobs by name as well:

glacium run XFOIL_REFINE XFOIL_POLAR

Show job status

glacium list

The table now includes an index column so you can refer to jobs by number.

Manage individual jobs

# reset a job to PENDING
glacium job reset XFOIL_POLAR
glacium job reset 1  # via index

You can list all available job types with numbers:

glacium job --list

Select a job of the current project by its index:

glacium job select 1

Jobs can also be added or removed via their index:

glacium job add 1
glacium job remove 1

Sync projects with recipes

# refresh the job list of the current project
glacium sync

Remove projects

# delete the selected project
glacium remove

Use --all to remove every project under ./runs.

External executables

Paths to third party programs can be configured in runs/<UID>/_cfg/global_config.yaml. Important keys include POINTWISE_BIN, FENSAP_BIN and the newly added FLUENT2FENSAP_EXE pointing to fluent2fensap.exe on Windows.

Development

All tests can be run with:

pytest

To enable automatic version management install the plugin once:

poetry self add "poetry-dynamic-versioning[plugin]"

poetry install will pull setuptools_scm as specified in pyproject.toml. Versions are taken from Git tags, e.g.:

git tag v1.2.0 -m "release"

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

glacium-1.0.5.tar.gz (52.2 kB view details)

Uploaded Source

Built Distribution

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

glacium-1.0.5-py3-none-any.whl (92.1 kB view details)

Uploaded Python 3

File details

Details for the file glacium-1.0.5.tar.gz.

File metadata

  • Download URL: glacium-1.0.5.tar.gz
  • Upload date:
  • Size: 52.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for glacium-1.0.5.tar.gz
Algorithm Hash digest
SHA256 0e6556cd4d11289fda4cf4955b2d4e3ca59ae8bb7ea758018ed0141cd7fade77
MD5 4e3cbaa50a3b7c73290bdb8d47a81bc8
BLAKE2b-256 823fd5424e4e3cda2046b4e2f33dd695babdcf1a739220720384cb5738358ab8

See more details on using hashes here.

File details

Details for the file glacium-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: glacium-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 92.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for glacium-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 76358a1ae9d6cfb6e268e9516ed8c7be0e8f7fe4418d0025a9d1c83e0f03eb8c
MD5 4af86fdb537f1db67f847a0f77fe6b65
BLAKE2b-256 222eb14a54260f27a36ea3c1e08a82015f574b56810a145b8abc370181d08f1e

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