flask-postgresql-audit 1.0.0__tar.gz → 1.0.1__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 (36) hide show
  1. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/PKG-INFO +12 -9
  2. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/README.md +10 -7
  3. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/__init__.py +1 -1
  4. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/.gitignore +0 -0
  5. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/CHANGES.md +0 -0
  6. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/LICENSE +0 -0
  7. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/__init__.py +0 -0
  8. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/entities.py +0 -0
  9. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/schema.py +0 -0
  10. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/setup.py +0 -0
  11. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/base.py +0 -0
  12. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/core.py +0 -0
  13. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/models.py +0 -0
  14. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/audit_trigger_delete.sql +0 -0
  15. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/audit_trigger_insert.sql +0 -0
  16. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/audit_trigger_update.sql +0 -0
  17. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/create_activity.sql +0 -0
  18. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/create_schema.sql +0 -0
  19. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/drop_schema.sql +0 -0
  20. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/get_setting.sql +0 -0
  21. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/jsonb_subtract.sql +0 -0
  22. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/row_audit_trigger.sql +0 -0
  23. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/row_create_activity.sql +0 -0
  24. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/typing.py +0 -0
  25. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/utils.py +0 -0
  26. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/pyproject.toml +1 -1
  27. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/__init__.py +0 -0
  28. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/app.py +0 -0
  29. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/conftest.py +0 -0
  30. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/README +0 -0
  31. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/alembic.ini +0 -0
  32. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/env.py +0 -0
  33. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/script.py.mako +0 -0
  34. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/test_defaults.py +0 -0
  35. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/test_operators.py +0 -0
  36. {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/utils.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flask-postgresql_audit
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Versioning and auditing extension for PostgreSQL and SQLAlchemy.
5
5
  Project-URL: Homepage, https://github.com/higamigu/flask-postgresql-audit
6
- Author-email: Konsta Vesterinen <konsta@fastmonkeys.com>, Refian Muhammad <higamigu@gmail.com>
6
+ Author-email: Refian Muhammad <higamigu@gmail.com>, Konsta Vesterinen <konsta@fastmonkeys.com>
7
7
  License-Expression: BSD-2-Clause
8
8
  License-File: LICENSE
9
9
  Classifier: Environment :: Web Environment
@@ -28,8 +28,7 @@ Description-Content-Type: text/markdown
28
28
  # Flask-PostgreSQL-Audit
29
29
 
30
30
  ![BuildStatus](https://github.com/higamigu/flask-postgresql-audit/actions/workflows/test.yml/badge.svg?branch=main)
31
- [![VersionStatus](https://img.shields.io/pypi/v/PostgreSQL-Audit.svg)](https://pypi.python.org/pypi/PostgreSQL-Audit/)
32
- [![Downloads](https://img.shields.io/pypi/dm/PostgreSQL-Audit.svg)](https://pypi.python.org/pypi/PostgreSQL-Audit/)
31
+ [![VersionStatus](https://img.shields.io/pypi/v/flask-postgresql-audit.svg)](https://pypi.org/project/flask-postgresql-audit/)
33
32
 
34
33
  Auditing extension for Flask-SQLAlchemy with PostgreSQL.
35
34
  Forked from [PostgreSQL-Audit](https://github.com/kvesteri/postgresql-audit), tries to combine the best of breed from existing solutions such as
@@ -37,15 +36,19 @@ Forked from [PostgreSQL-Audit](https://github.com/kvesteri/postgresql-audit), tr
37
36
  [Papertrail](https://github.com/airblade/paper_trail) and especially
38
37
  [Audit Trigger by 2ndQuadrant](https://github.com/2ndQuadrant/audit-trigger).
39
38
 
40
- - Stores audit recordss into single table called \'pga_activity\'
41
- - Uses stateful trigger based approach to keep INSERTs, UPDATEs
39
+ - Stores audit recordss into single table called `pga_activity`
40
+ - Uses trigger based approach to keep INSERTs, UPDATEs
42
41
  and DELETEs as fast as possible
43
- - Tracks and stores actor identities into table called \'pga_transaction\'
44
- - Uses Alembic and Alembic-Utils to generate necessary database objects
42
+ - Tracks and stores actor identities into table called `pga_transaction`
43
+ - Uses Alembic and Alembic-Utils to generate necessary database objects for migration
45
44
 
46
45
  ## Installation
47
46
  ```
48
- uv add
47
+ pip install flask-postgresql-audit
48
+ ```
49
+ or using `uv`
50
+ ```
51
+ uv add flask-postgresql-audit
49
52
  ```
50
53
  or install directly from this repo
51
54
  ```
@@ -1,8 +1,7 @@
1
1
  # Flask-PostgreSQL-Audit
2
2
 
3
3
  ![BuildStatus](https://github.com/higamigu/flask-postgresql-audit/actions/workflows/test.yml/badge.svg?branch=main)
4
- [![VersionStatus](https://img.shields.io/pypi/v/PostgreSQL-Audit.svg)](https://pypi.python.org/pypi/PostgreSQL-Audit/)
5
- [![Downloads](https://img.shields.io/pypi/dm/PostgreSQL-Audit.svg)](https://pypi.python.org/pypi/PostgreSQL-Audit/)
4
+ [![VersionStatus](https://img.shields.io/pypi/v/flask-postgresql-audit.svg)](https://pypi.org/project/flask-postgresql-audit/)
6
5
 
7
6
  Auditing extension for Flask-SQLAlchemy with PostgreSQL.
8
7
  Forked from [PostgreSQL-Audit](https://github.com/kvesteri/postgresql-audit), tries to combine the best of breed from existing solutions such as
@@ -10,15 +9,19 @@ Forked from [PostgreSQL-Audit](https://github.com/kvesteri/postgresql-audit), tr
10
9
  [Papertrail](https://github.com/airblade/paper_trail) and especially
11
10
  [Audit Trigger by 2ndQuadrant](https://github.com/2ndQuadrant/audit-trigger).
12
11
 
13
- - Stores audit recordss into single table called \'pga_activity\'
14
- - Uses stateful trigger based approach to keep INSERTs, UPDATEs
12
+ - Stores audit recordss into single table called `pga_activity`
13
+ - Uses trigger based approach to keep INSERTs, UPDATEs
15
14
  and DELETEs as fast as possible
16
- - Tracks and stores actor identities into table called \'pga_transaction\'
17
- - Uses Alembic and Alembic-Utils to generate necessary database objects
15
+ - Tracks and stores actor identities into table called `pga_transaction`
16
+ - Uses Alembic and Alembic-Utils to generate necessary database objects for migration
18
17
 
19
18
  ## Installation
20
19
  ```
21
- uv add
20
+ pip install flask-postgresql-audit
21
+ ```
22
+ or using `uv`
23
+ ```
24
+ uv add flask-postgresql-audit
22
25
  ```
23
26
  or install directly from this repo
24
27
  ```
@@ -1,4 +1,4 @@
1
1
  # ruff: noqa: F401
2
2
  from .core import Audit, PostgreSQLAudit
3
3
 
4
- __version__ = "1.0.0"
4
+ __version__ = "1.0.1"
@@ -8,8 +8,8 @@ readme = "README.md"
8
8
  license = "bsd-2-clause"
9
9
  requires-python = ">=3.11"
10
10
  authors = [
11
- { name = "Konsta Vesterinen", email = "konsta@fastmonkeys.com" },
12
11
  { name = "Refian Muhammad", email = "higamigu@gmail.com" },
12
+ { name = "Konsta Vesterinen", email = "konsta@fastmonkeys.com" },
13
13
  ]
14
14
  classifiers = [
15
15
  "Environment :: Web Environment",