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
Built Distribution
File details
Details for the file streamflow_postgresql-0.0.7.tar.gz
.
File metadata
- Download URL: streamflow_postgresql-0.0.7.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a56525775a49496582c809394a77f08f6ee80ad1ce7b346d1167da79d7d5b610 |
|
MD5 | 1cc00ae5070b66754268d4c989231ee6 |
|
BLAKE2b-256 | ad26d6f1d042205966a6a7721bba34b6dd98e7f831a47d0695477f23d3ca6ad9 |
File details
Details for the file streamflow_postgresql-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: streamflow_postgresql-0.0.7-py3-none-any.whl
- Upload date:
- Size: 10.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b31cd8737266d5e2e95bc0f05b75791c90e476e90aa9e86e2e3677365d77fd7 |
|
MD5 | 6a43381ca29c8cf89122307011b74ec1 |
|
BLAKE2b-256 | 1147c028ffa71298b8a66a0fc550e81042dd3ff58f57bed9e73536615548c192 |