qena-shared-lib 0.1.13__tar.gz → 0.1.14__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.
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/CHANGELOG.md +9 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/PKG-INFO +1 -1
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/pyproject.toml +1 -1
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_base.py +1 -12
- qena_shared_lib-0.1.13/requirements.txt +0 -55
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/.gitignore +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/.pre-commit-config.yaml +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/README.md +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/__init__.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/application.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/background.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/dependencies/__init__.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/dependencies/http.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/dependencies/miscellaneous.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/exception_handlers.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/exceptions.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/http.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/logging.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/py.typed +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/__init__.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_channel.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_exception_handlers.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_listener.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_pool.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_publisher.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_rpc_client.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/__init__.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/_base.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/logstash/__init__.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/logstash/_base.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/logstash/_http_sender.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/logstash/_tcp_sender.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/scheduler.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/security.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/utils.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/conftest.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_application.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_background.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_dependencies.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_logstash.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_rabbitmq.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_scheduler.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/test_security.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/tests/utils.py +0 -0
- {qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/uv.lock +0 -0
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.14] - 2025-06-16
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
|
7
|
+
- Remove unused generics variables
|
8
|
+
- Remove requirements.txt
|
9
|
+
|
10
|
+
|
3
11
|
## [0.1.13] - 2025-06-16
|
4
12
|
|
5
13
|
### Added
|
@@ -22,5 +30,6 @@
|
|
22
30
|
- Added a re-export for rabbitmq channel pool (ChannelPool) class.
|
23
31
|
|
24
32
|
|
33
|
+
[0.1.14]: https://github.com/Qena-Digital-Lending/qena-shared-kernel/compare/v0.1.13...v0.1.14
|
25
34
|
[0.1.13]: https://github.com/Qena-Digital-Lending/qena-shared-kernel/compare/v0.1.12...v0.1.13
|
26
35
|
[0.1.12]: https://github.com/Qena-Digital-Lending/qena-shared-kernel/compare/v0.1.11...v0.1.12
|
@@ -10,10 +10,6 @@ from random import uniform
|
|
10
10
|
from typing import (
|
11
11
|
Any,
|
12
12
|
Awaitable,
|
13
|
-
Callable,
|
14
|
-
Concatenate,
|
15
|
-
Generic,
|
16
|
-
ParamSpec,
|
17
13
|
TypeVar,
|
18
14
|
cast,
|
19
15
|
)
|
@@ -55,13 +51,6 @@ __all__ = [
|
|
55
51
|
]
|
56
52
|
|
57
53
|
|
58
|
-
E = TypeVar("E", bound=BaseException)
|
59
|
-
P = ParamSpec("P")
|
60
|
-
SyncExceptionHandler = Callable[Concatenate[ListenerContext, E, P], None]
|
61
|
-
AsyncExcpetionHandler = Callable[
|
62
|
-
Concatenate[ListenerContext, E, P], Awaitable[None]
|
63
|
-
]
|
64
|
-
ExceptionHandler = SyncExceptionHandler[E, P] | AsyncExcpetionHandler[E, P]
|
65
54
|
R = TypeVar("R")
|
66
55
|
|
67
56
|
|
@@ -75,7 +64,7 @@ class AbstractRabbitMQService(ABC):
|
|
75
64
|
raise NotImplementedError()
|
76
65
|
|
77
66
|
|
78
|
-
class RabbitMqManager(
|
67
|
+
class RabbitMqManager(AsyncEventLoopMixin):
|
79
68
|
RABBITMQ_CONNECTION_STATE = PrometheusEnum(
|
80
69
|
name="rabbitmq_connection_state",
|
81
70
|
documentation="Babbitmq connection state",
|
@@ -1,55 +0,0 @@
|
|
1
|
-
# This file was autogenerated by uv via the following command:
|
2
|
-
# uv export --no-dev --no-hashes --format requirements-txt
|
3
|
-
-e .
|
4
|
-
annotated-types==0.7.0
|
5
|
-
anyio==4.6.0
|
6
|
-
bcrypt==4.2.1
|
7
|
-
certifi==2024.8.30
|
8
|
-
cffi==1.17.1 ; platform_python_implementation != 'PyPy'
|
9
|
-
click==8.1.8
|
10
|
-
colorama==0.4.6 ; sys_platform == 'win32'
|
11
|
-
cronsim==2.6
|
12
|
-
cryptography==44.0.0
|
13
|
-
dnspython==2.7.0
|
14
|
-
email-validator==2.2.0
|
15
|
-
exceptiongroup==1.2.2 ; python_full_version < '3.11'
|
16
|
-
fastapi==0.115.6
|
17
|
-
fastapi-cli==0.0.7
|
18
|
-
h11==0.14.0
|
19
|
-
httpcore==1.0.6
|
20
|
-
httptools==0.6.4
|
21
|
-
httpx==0.27.2
|
22
|
-
idna==3.10
|
23
|
-
itsdangerous==2.2.0
|
24
|
-
jinja2==3.1.5
|
25
|
-
jwt==1.3.1
|
26
|
-
markdown-it-py==3.0.0
|
27
|
-
markupsafe==3.0.2
|
28
|
-
mdurl==0.1.2
|
29
|
-
orjson==3.10.12
|
30
|
-
passlib==1.7.4
|
31
|
-
pika==1.3.2
|
32
|
-
prometheus-client==0.21.1
|
33
|
-
prometheus-fastapi-instrumentator==7.0.2
|
34
|
-
punq==0.7.0
|
35
|
-
pycparser==2.22 ; platform_python_implementation != 'PyPy'
|
36
|
-
pydantic==2.10.3
|
37
|
-
pydantic-core==2.27.1
|
38
|
-
pydantic-extra-types==2.10.1
|
39
|
-
pydantic-settings==2.7.0
|
40
|
-
pygments==2.18.0
|
41
|
-
python-dotenv==1.0.1
|
42
|
-
python-multipart==0.0.20
|
43
|
-
pyyaml==6.0.2
|
44
|
-
rich==13.9.4
|
45
|
-
rich-toolkit==0.12.0
|
46
|
-
shellingham==1.5.4
|
47
|
-
sniffio==1.3.1
|
48
|
-
starlette==0.41.3
|
49
|
-
typer==0.15.1
|
50
|
-
typing-extensions==4.12.2
|
51
|
-
ujson==5.10.0
|
52
|
-
uvicorn==0.34.0
|
53
|
-
uvloop==0.21.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
|
54
|
-
watchfiles==1.0.3
|
55
|
-
websockets==14.1
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/dependencies/__init__.py
RENAMED
File without changes
|
File without changes
|
{qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/dependencies/miscellaneous.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
|
{qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_publisher.py
RENAMED
File without changes
|
{qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/rabbitmq/_rpc_client.py
RENAMED
File without changes
|
{qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/__init__.py
RENAMED
File without changes
|
{qena_shared_lib-0.1.13 → qena_shared_lib-0.1.14}/src/qena_shared_lib/remotelogging/_base.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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|