Command line tool for interacting with Flux Workflows
Project description
flux-workflows
==============
flux-workflows is a command line tool for interacting with Flux.
Installation
------------
Install, upgrade and uninstall fluxer with these commands:
```sh
$ pip install flux-workflows
$ pip install --upgrade flux-workflows
$ pip uninstall flux-workflows
```
or fork this repository
Usage
-----
```sh
workflow --help
Usage: workflow [OPTIONS] COMMAND [ARGS]...
Workflow manages your flux workflows from the terminal
Options:
-h, --help Show this message and exit.
Commands:
config Configure the CMP URL and credentials
create Create a workflow skeleton
delete Delete a workflow
delete-instance Delete an instance
get Download a workflow to edit or view locally
list List existing flux workflows
list-instances List instances of a workflow
logs Get logs for a workflow
run Run a workflow
show Display details of a Flux workflow
show-instance Display details of an instance
update Update (patch) a workflow
update-instance Update an instance's event for debugging
upload Upload the current workflow
validate Validate the current workflow
```
Dependencies
------------
The flux-workflows tool is supported on Python 2.7.
The main dependencies are:
* [requests]: HTTP for Humans
* [click]: for creating beautiful command line interfaces
The testing dependencies are:
* [pytest]: helps you write better programs
* [mock]: a library for testing in Python
Testing
-------
Make sure you have [tox] by running the following:
```sh
$ pip install tox
```
To run the package tests:
```sh
$ tox
```
or
```sh
$ make test
```
License
-------
[GNU General Public License, version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[//]: #
[requests]: <http://docs.python-requests.org>
[click]: <http://click.pocoo.org>
[mock]: <https://pypi.python.org/pypi/mock>
[pytest]: <http://doc.pytest.org>
[tox]: <https://tox.readthedocs.io/>
==============
flux-workflows is a command line tool for interacting with Flux.
Installation
------------
Install, upgrade and uninstall fluxer with these commands:
```sh
$ pip install flux-workflows
$ pip install --upgrade flux-workflows
$ pip uninstall flux-workflows
```
or fork this repository
Usage
-----
```sh
workflow --help
Usage: workflow [OPTIONS] COMMAND [ARGS]...
Workflow manages your flux workflows from the terminal
Options:
-h, --help Show this message and exit.
Commands:
config Configure the CMP URL and credentials
create Create a workflow skeleton
delete Delete a workflow
delete-instance Delete an instance
get Download a workflow to edit or view locally
list List existing flux workflows
list-instances List instances of a workflow
logs Get logs for a workflow
run Run a workflow
show Display details of a Flux workflow
show-instance Display details of an instance
update Update (patch) a workflow
update-instance Update an instance's event for debugging
upload Upload the current workflow
validate Validate the current workflow
```
Dependencies
------------
The flux-workflows tool is supported on Python 2.7.
The main dependencies are:
* [requests]: HTTP for Humans
* [click]: for creating beautiful command line interfaces
The testing dependencies are:
* [pytest]: helps you write better programs
* [mock]: a library for testing in Python
Testing
-------
Make sure you have [tox] by running the following:
```sh
$ pip install tox
```
To run the package tests:
```sh
$ tox
```
or
```sh
$ make test
```
License
-------
[GNU General Public License, version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
[//]: #
[requests]: <http://docs.python-requests.org>
[click]: <http://click.pocoo.org>
[mock]: <https://pypi.python.org/pypi/mock>
[pytest]: <http://doc.pytest.org>
[tox]: <https://tox.readthedocs.io/>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flux-workflows-0.0.4.tar.gz
(8.7 kB
view details)
File details
Details for the file flux-workflows-0.0.4.tar.gz
.
File metadata
- Download URL: flux-workflows-0.0.4.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e096cb51245c0f379f75725426d0a839445d3531828dccf07532c33db9f3b33 |
|
MD5 | f3f5ae8fee57d5271d31bdbc6d42afd5 |
|
BLAKE2b-256 | a08e68fc18db251fdf31494523e1752255184ee1dac6a59d4dcb249e61628c75 |