Metadata-Version: 2.1
Name: fluxgen
Version: 0.0.15
Summary: Helper tool to install and configure Flux Framework
Home-page: https://github.com/converged-computing/fluxgen
Author: Vanessasaurus
Author-email: vsoch@users.noreply.github.com
Maintainer: Vanessasaurus
License: MIT
Keywords: multi-cluster,scheduler
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: C
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python :: 3.11
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: NOTICE
Requires-Dist: Jinja2
Requires-Dist: pyyaml

# fluxgen

> install and configure Flux Framework

![PyPI - Version](https://img.shields.io/pypi/v/fluxgen)

This small library makes it easy to generate install scripts and configuration to get flux up and running!
We will run this in the context of a JobSet, with the goal to generate the scripts necessary to install flux, etc.

🚧 Under Construction! 🚧

## Usage

Fluxgen has two modes. If you use **create** you will create an install script that installs flux, creates configuration assets,
_and_ starts the brokers. if you use **install** it will just generate the install script.

### Install

Here is how to generate an install script.

```bash
# Preview in terminal
fluxgen install --dry-run

# Write to file
fluxgen install
```
```console
Writing install script to flux-install.sh
```

### Create

Here is an example for using fluxgen to generate an install script for a worker.

```bash
fluxgen create --brokers flux-sample[0-10] command arg1 arg2
```

And the lead broker:

```bash
fluxgen create --lead-broker --brokers flux-sample[0-10] command arg1 arg2
```

Just preview:

```bash
fluxgen create --lead-broker --brokers flux-sample[0-10] --dry-run command arg1 arg2
```

## License

HPCIC DevTools is distributed under the terms of the MIT license.
All new contributions must be made under this license.

See [LICENSE](https://github.com/converged-computing/cloud-select/blob/main/LICENSE),
[COPYRIGHT](https://github.com/converged-computing/cloud-select/blob/main/COPYRIGHT), and
[NOTICE](https://github.com/converged-computing/cloud-select/blob/main/NOTICE) for details.

SPDX-License-Identifier: (MIT)

LLNL-CODE- 842614
