streamflow-postgresql 0.0.1__tar.gz → 0.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (27) hide show
  1. {streamflow-postgresql-0.0.1/streamflow_postgresql.egg-info → streamflow-postgresql-0.0.2}/PKG-INFO +4 -4
  2. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/README.md +3 -3
  3. streamflow-postgresql-0.0.2/lint-requirements.txt +4 -0
  4. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/postgresql/plugin.py +1 -1
  5. streamflow-postgresql-0.0.2/postgresql/version.py +1 -0
  6. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/pyproject.toml +1 -1
  7. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2/streamflow_postgresql.egg-info}/PKG-INFO +4 -4
  8. streamflow-postgresql-0.0.2/streamflow_postgresql.egg-info/entry_points.txt +2 -0
  9. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/streamflow_postgresql.egg-info/requires.txt +3 -3
  10. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/test-requirements.txt +1 -1
  11. streamflow-postgresql-0.0.1/lint-requirements.txt +0 -4
  12. streamflow-postgresql-0.0.1/postgresql/version.py +0 -1
  13. streamflow-postgresql-0.0.1/streamflow_postgresql.egg-info/entry_points.txt +0 -2
  14. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/LICENSE +0 -0
  15. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/MANIFEST.in +0 -0
  16. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/bandit-requirements.txt +0 -0
  17. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/postgresql/__init__.py +0 -0
  18. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/postgresql/database.py +0 -0
  19. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/postgresql/schemas/postgresql.json +0 -0
  20. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/postgresql/schemas/postgresql.sql +0 -0
  21. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/requirements.txt +0 -0
  22. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/setup.cfg +0 -0
  23. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/streamflow_postgresql.egg-info/SOURCES.txt +0 -0
  24. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/streamflow_postgresql.egg-info/dependency_links.txt +0 -0
  25. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/streamflow_postgresql.egg-info/top_level.txt +0 -0
  26. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/streamflow_postgresql.egg-info/zip-safe +0 -0
  27. {streamflow-postgresql-0.0.1 → streamflow-postgresql-0.0.2}/tests/test_persistence.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamflow-postgresql
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: StreamFlow PostgreSQL plugin
5
5
  Author-email: Iacopo Colonnelli <iacopo.colonnelli@unito.it>
6
6
  License: LGPL-3.0-or-later
@@ -31,10 +31,10 @@ License-File: LICENSE
31
31
 
32
32
  ## Installation
33
33
 
34
- Simply install the package directory from [this repository](https://github.com/alpha-unito/streamflow-postgresql) using [pip](https://pip.pypa.io/en/stable/). StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
34
+ Simply install the package directory from [PyPI](https://pypi.org/project/streamflow-postgresql/) using [pip](https://pip.pypa.io/en/stable/). StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
35
35
 
36
36
  ```bash
37
- pip install streamflow-postgresql@git+https://github.com/alpha-unito/streamflow-postgresql
37
+ pip install streamflow-postgresql
38
38
  ```
39
39
 
40
40
  If everything worked correctly, whenever a workflow execution start the following message should be printed in the log:
@@ -49,7 +49,7 @@ This plugin registers a new `Database` component, which extends the StreamFlow `
49
49
 
50
50
  ```yaml
51
51
  database:
52
- type: postgresql
52
+ type: unito.postgresql
53
53
  config:
54
54
  dbname: <dbname> # The name of the database to use
55
55
  hostname: <hostname> # The database hostname or IP address
@@ -2,10 +2,10 @@
2
2
 
3
3
  ## Installation
4
4
 
5
- Simply install the package directory from [this repository](https://github.com/alpha-unito/streamflow-postgresql) using [pip](https://pip.pypa.io/en/stable/). StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
5
+ Simply install the package directory from [PyPI](https://pypi.org/project/streamflow-postgresql/) using [pip](https://pip.pypa.io/en/stable/). StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
6
6
 
7
7
  ```bash
8
- pip install streamflow-postgresql@git+https://github.com/alpha-unito/streamflow-postgresql
8
+ pip install streamflow-postgresql
9
9
  ```
10
10
 
11
11
  If everything worked correctly, whenever a workflow execution start the following message should be printed in the log:
@@ -20,7 +20,7 @@ This plugin registers a new `Database` component, which extends the StreamFlow `
20
20
 
21
21
  ```yaml
22
22
  database:
23
- type: postgresql
23
+ type: unito.postgresql
24
24
  config:
25
25
  dbname: <dbname> # The name of the database to use
26
26
  hostname: <hostname> # The database hostname or IP address
@@ -0,0 +1,4 @@
1
+ black==23.3.0
2
+ codespell==2.2.4
3
+ flake8-bugbear==23.5.9
4
+ pyupgrade==3.4.0
@@ -5,4 +5,4 @@ from postgresql.database import PostgreSQLDatabase
5
5
 
6
6
  class PostgreSQLStreamFlowPlugin(StreamFlowPlugin):
7
7
  def register(self) -> None:
8
- self.register_database("postgresql", PostgreSQLDatabase)
8
+ self.register_database("unito.postgresql", PostgreSQLDatabase)
@@ -0,0 +1 @@
1
+ VERSION = "0.0.2"
@@ -34,7 +34,7 @@ Package = "https://pypi.org/project/streamflow-postgresql"
34
34
  Repository = "https://github.com/alpha-unito/streamflow-postgresql"
35
35
 
36
36
  [project.entry-points]
37
- "unito.streamflow.plugin" = {postgresql = "postgresql.plugin:PostgreSQLStreamFlowPlugin"}
37
+ "unito.streamflow.plugin" = {"unito.postgresql" = "postgresql.plugin:PostgreSQLStreamFlowPlugin"}
38
38
 
39
39
 
40
40
  [tool.setuptools]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamflow-postgresql
3
- Version: 0.0.1
3
+ Version: 0.0.2
4
4
  Summary: StreamFlow PostgreSQL plugin
5
5
  Author-email: Iacopo Colonnelli <iacopo.colonnelli@unito.it>
6
6
  License: LGPL-3.0-or-later
@@ -31,10 +31,10 @@ License-File: LICENSE
31
31
 
32
32
  ## Installation
33
33
 
34
- Simply install the package directory from [this repository](https://github.com/alpha-unito/streamflow-postgresql) using [pip](https://pip.pypa.io/en/stable/). StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
34
+ Simply install the package directory from [PyPI](https://pypi.org/project/streamflow-postgresql/) using [pip](https://pip.pypa.io/en/stable/). StreamFlow will automatically recognise it as a plugin and load it at each workflow execution.
35
35
 
36
36
  ```bash
37
- pip install streamflow-postgresql@git+https://github.com/alpha-unito/streamflow-postgresql
37
+ pip install streamflow-postgresql
38
38
  ```
39
39
 
40
40
  If everything worked correctly, whenever a workflow execution start the following message should be printed in the log:
@@ -49,7 +49,7 @@ This plugin registers a new `Database` component, which extends the StreamFlow `
49
49
 
50
50
  ```yaml
51
51
  database:
52
- type: postgresql
52
+ type: unito.postgresql
53
53
  config:
54
54
  dbname: <dbname> # The name of the database to use
55
55
  hostname: <hostname> # The database hostname or IP address
@@ -0,0 +1,2 @@
1
+ [unito.streamflow.plugin]
2
+ unito.postgresql = postgresql.plugin:PostgreSQLStreamFlowPlugin
@@ -8,11 +8,11 @@ bandit==1.7.5
8
8
  [lint]
9
9
  black==23.3.0
10
10
  codespell==2.2.4
11
- flake8-bugbear==23.3.23
12
- pyupgrade==3.3.2
11
+ flake8-bugbear==23.5.9
12
+ pyupgrade==3.4.0
13
13
 
14
14
  [test]
15
15
  pytest==7.3.1
16
16
  pytest-asyncio==0.21.0
17
17
  pytest-cov==4.0.0
18
- pytest-xdist==3.2.1
18
+ pytest-xdist==3.3.1
@@ -1,4 +1,4 @@
1
1
  pytest==7.3.1
2
2
  pytest-asyncio==0.21.0
3
3
  pytest-cov==4.0.0
4
- pytest-xdist==3.2.1
4
+ pytest-xdist==3.3.1
@@ -1,4 +0,0 @@
1
- black==23.3.0
2
- codespell==2.2.4
3
- flake8-bugbear==23.3.23
4
- pyupgrade==3.3.2
@@ -1 +0,0 @@
1
- VERSION = "0.0.1"
@@ -1,2 +0,0 @@
1
- [unito.streamflow.plugin]
2
- postgresql = postgresql.plugin:PostgreSQLStreamFlowPlugin