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

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.

Development

All tests can be run with:

pytest

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-0.1.0.tar.gz (50.3 kB view details)

Uploaded Source

Built Distribution

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

glacium-0.1.0-py3-none-any.whl (89.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for glacium-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e127f3c76e7e25b7d521ac3d8e79cf6c29c6db386e6bd0bc451e335240d53f14
MD5 00ea5266e65617487e59d3e38fb2c946
BLAKE2b-256 4066088967188c53428f61b5b55ccca48cc97edc5764eda02bb0311b0af823d0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for glacium-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4d584ca6209b9b9e033f94c8fb4b8bff03961b813b64ef4b72c6e3561d135675
MD5 d21f30eadce204ccf9d3e3ffba0b7a2b
BLAKE2b-256 cc1e70f6f98b0e30f58a89db7de828b788c514c715ad08fe468cf8dc1821dcf9

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