sqlalchemy-events-lib 0.3.4__tar.gz → 0.3.5__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.
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/PKG-INFO +3 -1
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/README.md +2 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/pyproject.toml +1 -1
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/__init__.py +1 -1
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/callbacks_strategies/postgres_callback.py +0 -5
- sqlalchemy_events_lib-0.3.5/src/sqlalchemy_events/py.typed +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events_lib.egg-info/PKG-INFO +3 -1
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events_lib.egg-info/SOURCES.txt +1 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/LICENSE +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/setup.cfg +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/callbacks_strategies/__init__.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/callbacks_strategies/base.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/core.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/decorators.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/default_logger.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/discovery.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/events.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/exceptions.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/handlers.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/init_triggers_strategies/__init__.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/init_triggers_strategies/base.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/init_triggers_strategies/postgres_init_triggers.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/registry.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/types.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/utils.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events_lib.egg-info/dependency_links.txt +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events_lib.egg-info/requires.txt +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events_lib.egg-info/top_level.txt +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/conftest.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_autodiscover.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_handlers.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_is_created_triggers.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_models.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_sa_events.py +0 -0
- {sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_with_events_deco.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlalchemy-events-lib
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Event-driven extension for SQLAlchemy that enables listening to database CUD events. This library allows you to react to database changes in real time using a clean, declarative API.
|
|
5
5
|
Author-email: Alexey Kostarev <normjkeeewm@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -133,6 +133,7 @@ The SQLAlchemyEvents class accepts the following parameters:
|
|
|
133
133
|
SQLAlchemyEvents(
|
|
134
134
|
engine,
|
|
135
135
|
autodiscover_paths,
|
|
136
|
+
schema='',
|
|
136
137
|
logger=None,
|
|
137
138
|
verbose=True
|
|
138
139
|
)
|
|
@@ -146,6 +147,7 @@ These modules are automatically imported so that decorators such as
|
|
|
146
147
|
**Example:**
|
|
147
148
|
`autodiscover_paths=["services", "app.handlers"]`
|
|
148
149
|
|
|
150
|
+
* **schema** - Custom database schema
|
|
149
151
|
* **verbose** - Enables detailed logging output. When set to True, the library will log additional informational and warning messages to help with debugging and configuration.
|
|
150
152
|
|
|
151
153
|
### Important:
|
|
@@ -111,6 +111,7 @@ The SQLAlchemyEvents class accepts the following parameters:
|
|
|
111
111
|
SQLAlchemyEvents(
|
|
112
112
|
engine,
|
|
113
113
|
autodiscover_paths,
|
|
114
|
+
schema='',
|
|
114
115
|
logger=None,
|
|
115
116
|
verbose=True
|
|
116
117
|
)
|
|
@@ -124,6 +125,7 @@ These modules are automatically imported so that decorators such as
|
|
|
124
125
|
**Example:**
|
|
125
126
|
`autodiscover_paths=["services", "app.handlers"]`
|
|
126
127
|
|
|
128
|
+
* **schema** - Custom database schema
|
|
127
129
|
* **verbose** - Enables detailed logging output. When set to True, the library will log additional informational and warning messages to help with debugging and configuration.
|
|
128
130
|
|
|
129
131
|
### Important:
|
|
@@ -10,7 +10,7 @@ where = ["src"]
|
|
|
10
10
|
|
|
11
11
|
[project]
|
|
12
12
|
name = "sqlalchemy-events-lib"
|
|
13
|
-
version = "0.3.
|
|
13
|
+
version = "0.3.5"
|
|
14
14
|
description = "Event-driven extension for SQLAlchemy that enables listening to database CUD events. This library allows you to react to database changes in real time using a clean, declarative API."
|
|
15
15
|
requires-python = ">=3.12"
|
|
16
16
|
authors = [
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import asyncio
|
|
2
2
|
import json
|
|
3
3
|
import inspect
|
|
4
|
-
import signal
|
|
5
|
-
import sys
|
|
6
4
|
|
|
7
5
|
from .base import SaEventsCallbacksStrategy
|
|
8
6
|
from ..registry import get_event_handlers
|
|
@@ -10,9 +8,6 @@ from ..types import Handler
|
|
|
10
8
|
from ..utils import _process_pool
|
|
11
9
|
|
|
12
10
|
|
|
13
|
-
signal.signal(signal.SIGINT, lambda sig, frame: sys.exit(0))
|
|
14
|
-
|
|
15
|
-
|
|
16
11
|
class PostgresCallback(SaEventsCallbacksStrategy):
|
|
17
12
|
|
|
18
13
|
def __init__(self) -> None:
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlalchemy-events-lib
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Event-driven extension for SQLAlchemy that enables listening to database CUD events. This library allows you to react to database changes in real time using a clean, declarative API.
|
|
5
5
|
Author-email: Alexey Kostarev <normjkeeewm@gmail.com>
|
|
6
6
|
License: MIT
|
|
@@ -133,6 +133,7 @@ The SQLAlchemyEvents class accepts the following parameters:
|
|
|
133
133
|
SQLAlchemyEvents(
|
|
134
134
|
engine,
|
|
135
135
|
autodiscover_paths,
|
|
136
|
+
schema='',
|
|
136
137
|
logger=None,
|
|
137
138
|
verbose=True
|
|
138
139
|
)
|
|
@@ -146,6 +147,7 @@ These modules are automatically imported so that decorators such as
|
|
|
146
147
|
**Example:**
|
|
147
148
|
`autodiscover_paths=["services", "app.handlers"]`
|
|
148
149
|
|
|
150
|
+
* **schema** - Custom database schema
|
|
149
151
|
* **verbose** - Enables detailed logging output. When set to True, the library will log additional informational and warning messages to help with debugging and configuration.
|
|
150
152
|
|
|
151
153
|
### Important:
|
|
@@ -9,6 +9,7 @@ src/sqlalchemy_events/discovery.py
|
|
|
9
9
|
src/sqlalchemy_events/events.py
|
|
10
10
|
src/sqlalchemy_events/exceptions.py
|
|
11
11
|
src/sqlalchemy_events/handlers.py
|
|
12
|
+
src/sqlalchemy_events/py.typed
|
|
12
13
|
src/sqlalchemy_events/registry.py
|
|
13
14
|
src/sqlalchemy_events/types.py
|
|
14
15
|
src/sqlalchemy_events/utils.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/decorators.py
RENAMED
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/default_logger.py
RENAMED
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/discovery.py
RENAMED
|
File without changes
|
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/exceptions.py
RENAMED
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/handlers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/sqlalchemy_events/registry.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
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_is_created_triggers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sqlalchemy_events_lib-0.3.4 → sqlalchemy_events_lib-0.3.5}/src/tests/test_with_events_deco.py
RENAMED
|
File without changes
|