Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamflow_lsf-0.0.1.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

streamflow_lsf-0.0.1-py3-none-any.whl (12.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page