StreamFlow LSF plugin
Project description
LSF Plugin for StreamFlow
Installation
Simply install the package directory from PyPI using pip. StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
pip install streamflow-lsf
If everything worked correctly, whenever a workflow execution start the following message should be printed in the log:
Successfully registered plugin streamflow_lsf.plugin.LSFStreamFlowPlugin
Usage
This plugin registers a new Connector
component, called LSFConnector
, which extends the StreamFlow ConnectorWrapper
class. This implies that the LSFConnector
can wrap an underlying Connector
object through the wraps
directive. The example below shows a possible streamflow.yml
configuration file, where the LSFConnector
wraps an SSHConnector
for remote execution offloading.
deployments:
ssh-deplyoment:
type: ssh
config:
nodes:
- 10.0.0.1
- 10.0.0.2
sshKey: /path/to/ssh/key
username: <username>
lsf-deployment:
type: unito.lsf
config: {}
wraps: ssh-deplyoment
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
Built Distribution
Hashes for streamflow_lsf-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fed40f235e5c4e39112ca680ba64ecce7e14e170d44c376c54616fd1ec77e4 |
|
MD5 | 4e4abf91bea03134089a414c96ce8858 |
|
BLAKE2b-256 | 19679edbc493263cfb434b2a2216d17126b9c6f15180b5f67312240659585f87 |