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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file streamflow_lsf-0.0.1.tar.gz.

File metadata

  • Download URL: streamflow_lsf-0.0.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for streamflow_lsf-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1643206619e78fe0fb84e3d2bd18cec9581b224129a256138332c271866d71a7
MD5 6c22cb442c0443072fef1106641ddfe4
BLAKE2b-256 20fdad2e313e10b7f9e4b193f8452d5c1530ed89fc2d8441de3c53d4f2e14c14

See more details on using hashes here.

File details

Details for the file streamflow_lsf-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for streamflow_lsf-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54fed40f235e5c4e39112ca680ba64ecce7e14e170d44c376c54616fd1ec77e4
MD5 4e4abf91bea03134089a414c96ce8858
BLAKE2b-256 19679edbc493263cfb434b2a2216d17126b9c6f15180b5f67312240659585f87

See more details on using hashes here.

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