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 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
Built Distribution
Close
Hashes for streamflow-postgresql-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abe9a0146f5469d788fce4011ccc6fd1a5128601fb6031057ab87f295cd6d43c |
|
MD5 | b87ad07a3c550f3b94de726163d4db02 |
|
BLAKE2b-256 | f8f5b6ab8f6665f5b6f34079316db55979545bd01126a662fbb6e52a17320a72 |
Close
Hashes for streamflow_postgresql-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a4293f4c740b1df20eb47c2da322674a7e45f0eeb69e434751755c3862bf496 |
|
MD5 | fae111013b8599555661070d851150c6 |
|
BLAKE2b-256 | dc44b3cfd8657bd49ec799c10461b75f1f1784f93e696d1542d4e37b8ca218c0 |