Skip to main content

StreamFlow PostgreSQL plugin

Project description

PostgreSQL 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-postgresql

If everything worked correctly, whenever a workflow execution start the following message should be printed in the log:

Successfully registered plugin streamflow_postgresql.plugin.PostgreSQLStreamFlowPlugin

Usage

This plugin registers a new Database component, which extends the StreamFlow CachedDatabase class. To declare it, put the following lines inside a streamflow.yml configuration file.

database:
  type: unito.postgresql
  config:
    dbname: <dbname>               # The name of the database to use
    hostname: <hostname>           # The database hostname or IP address
    password: <password>           # Password to use when connecting to the database
    username: <username>           # Username to use when connecting to the database

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_postgresql-0.0.7.tar.gz (12.8 kB view hashes)

Uploaded Source

Built Distribution

streamflow_postgresql-0.0.7-py3-none-any.whl (10.9 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