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.
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/PKG-INFO +12 -9
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/README.md +10 -7
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/__init__.py +1 -1
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/.gitignore +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/CHANGES.md +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/LICENSE +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/__init__.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/entities.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/schema.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/alembic/setup.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/base.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/core.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/models.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/audit_trigger_delete.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/audit_trigger_insert.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/audit_trigger_update.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/create_activity.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/create_schema.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/drop_schema.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/get_setting.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/jsonb_subtract.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/row_audit_trigger.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/templates/row_create_activity.sql +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/typing.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/utils.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/pyproject.toml +1 -1
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/__init__.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/app.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/conftest.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/README +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/alembic.ini +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/env.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/script.py.mako +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/test_defaults.py +0 -0
- {flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/test_operators.py +0 -0
- {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.
|
|
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:
|
|
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
|

|
|
31
|
-
[](https://pypi.python.org/pypi/PostgreSQL-Audit/)
|
|
31
|
+
[](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
|
|
41
|
-
- Uses
|
|
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
|
|
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
|
-
|
|
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
|

|
|
4
|
-
[](https://pypi.python.org/pypi/PostgreSQL-Audit/)
|
|
4
|
+
[](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
|
|
14
|
-
- Uses
|
|
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
|
|
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
|
-
|
|
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
|
```
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/base.py
RENAMED
|
File without changes
|
{flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/core.py
RENAMED
|
File without changes
|
{flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/typing.py
RENAMED
|
File without changes
|
{flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/flask_postgresql_audit/utils.py
RENAMED
|
File without changes
|
|
@@ -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",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{flask_postgresql_audit-1.0.0 → flask_postgresql_audit-1.0.1}/tests/migrations/script.py.mako
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|