h-message-bus 0.0.3__py3-none-any.whl → 0.0.5__py3-none-any.whl

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.
@@ -1,7 +1,7 @@
1
1
  from nats.aio.msg import Msg as NatsMsg
2
2
 
3
- from src.h_message_bus.application.message_processor import MessageProcessor
4
- from src.h_message_bus.domain.hai_message import HaiMessage
3
+ from ..application.message_processor import MessageProcessor
4
+ from ..domain.hai_message import HaiMessage
5
5
 
6
6
 
7
7
  class NatsMessageAdapter:
@@ -1,8 +1,8 @@
1
1
  from typing import Optional
2
2
 
3
- from src.h_message_bus.application.message_publisher import MessagePublisher
4
- from src.h_message_bus.domain.hai_message import HaiMessage
5
- from src.h_message_bus.infrastructure.nats_client_repository import NatsClientRepository
3
+ from ..application.message_publisher import MessagePublisher
4
+ from ..domain.hai_message import HaiMessage
5
+ from ..infrastructure.nats_client_repository import NatsClientRepository
6
6
 
7
7
 
8
8
  class NatsPublisherAdapter(MessagePublisher):
@@ -1,9 +1,9 @@
1
1
  from typing import Dict
2
2
 
3
- from src.h_message_bus.adapters.nats_message_adapter import NatsMessageAdapter
4
- from src.h_message_bus.application.message_processor import MessageProcessor
5
- from src.h_message_bus.application.message_subcriber import MessageSubscriber
6
- from src.h_message_bus.infrastructure.nats_client_repository import NatsClientRepository
3
+ from ..adapters.nats_message_adapter import NatsMessageAdapter
4
+ from ..application.message_processor import MessageProcessor
5
+ from ..application.message_subcriber import MessageSubscriber
6
+ from ..infrastructure.nats_client_repository import NatsClientRepository
7
7
 
8
8
 
9
9
  class NatsSubscriberAdapter(MessageSubscriber):
@@ -1,7 +1,7 @@
1
1
  from abc import abstractmethod, ABC
2
2
  from typing import Optional
3
3
 
4
- from src.h_message_bus.domain.hai_message import HaiMessage
4
+ from ..domain.hai_message import HaiMessage
5
5
 
6
6
 
7
7
  class MessageProcessor(ABC):
@@ -1,7 +1,7 @@
1
1
  from abc import abstractmethod, ABC
2
2
  from typing import Optional
3
3
 
4
- from src.h_message_bus.domain.hai_message import HaiMessage
4
+ from ..domain.hai_message import HaiMessage
5
5
 
6
6
 
7
7
  class MessagePublisher(ABC):
@@ -3,7 +3,7 @@ from typing import Optional, Callable, Any
3
3
  import nats
4
4
  from nats.aio.client import Client as NatsClient
5
5
 
6
- from src.h_message_bus.infrastructure.nats_config import NatsConfig
6
+ from ..infrastructure.nats_config import NatsConfig
7
7
 
8
8
 
9
9
  class NatsClientRepository:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: h_message_bus
3
- Version: 0.0.3
3
+ Version: 0.0.5
4
4
  Summary: Message bus integration for HAI
5
5
  Author-email: shoebill <shoebill.hai@gmail.com>
6
6
  Classifier: Programming Language :: Python :: 3
@@ -8,7 +8,6 @@ Classifier: License :: OSI Approved :: MIT License
8
8
  Classifier: Operating System :: OS Independent
9
9
  Requires-Python: >=3.10
10
10
  Description-Content-Type: text/markdown
11
- Requires-Dist: python-dotenv~=1.1.0
12
11
  Requires-Dist: nats-py~=2.10.0
13
12
  Provides-Extra: dev
14
13
  Requires-Dist: pytest; extra == "dev"
@@ -0,0 +1,19 @@
1
+ h_message_bus/__init__.py,sha256=kWqtL6JKd1mUqsFqwzdQuV1vhKjvv1bxh4ShMHEhrHM,507
2
+ h_message_bus/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ h_message_bus/adapters/nats_message_adapter.py,sha256=sH6Gflk1_jVQciM0GxNIsPNigEktZPktcW_oK-dxNVo,1371
4
+ h_message_bus/adapters/nats_publisher_adapter.py,sha256=vQ9F1exFPMv2QUvTd_P_-PgPb7Wds2p9VXz9HkkgRM0,1763
5
+ h_message_bus/adapters/nats_subscriber_adapter.py,sha256=WX7xvJhVJVa24CRpWGG3SE8CLP7AXcO6ky-qhMTICCY,2072
6
+ h_message_bus/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ h_message_bus/application/message_processor.py,sha256=-I3yUtGQCxmw7McyCpJFMGfXFCMITbV7eDi3MqxpEZk,727
8
+ h_message_bus/application/message_publisher.py,sha256=hraRMOjjsAZLQOg09V99TjOuBy9Wu2NUtka7-x63doQ,835
9
+ h_message_bus/application/message_subcriber.py,sha256=2yqUUHVHtZlA6-zzyHzghdWQ7ZmdcFic5c0xi_rgG-M,741
10
+ h_message_bus/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ h_message_bus/domain/hai_message.py,sha256=mODVLRx_hgrnK9dbw57MiFATAiRwsgQ2TAOTA7r5Fcc,2108
12
+ h_message_bus/domain/topics.py,sha256=a3VfQuItmHMaHaDWf2N9DgU8ASUh3-EHHB12YIJPvNw,769
13
+ h_message_bus/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ h_message_bus/infrastructure/nats_client_repository.py,sha256=JURLfrTk6188HLaHUHZItBu8utQb68CznP5oQDrTUKU,3343
15
+ h_message_bus/infrastructure/nats_config.py,sha256=Yzqqd1bCfmUv_4FOnA1dvqIpakzV0BUL2_nXQcndWvo,1304
16
+ h_message_bus-0.0.5.dist-info/METADATA,sha256=WzARheZw0LIDmuCiOqrZFtBx9l6e4tzVEalzVdj2CY8,8833
17
+ h_message_bus-0.0.5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
18
+ h_message_bus-0.0.5.dist-info/top_level.txt,sha256=7feCw9I0yIIqsYsVzUMYvCCmUTOiGX1a5F2VbSkFscc,14
19
+ h_message_bus-0.0.5.dist-info/RECORD,,
@@ -1,19 +0,0 @@
1
- h_message_bus/__init__.py,sha256=kWqtL6JKd1mUqsFqwzdQuV1vhKjvv1bxh4ShMHEhrHM,507
2
- h_message_bus/adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- h_message_bus/adapters/nats_message_adapter.py,sha256=Xx16NPk1b7nNuy5BWw9F9SUBqjO98TQdxl3kfQzV0_E,1403
4
- h_message_bus/adapters/nats_publisher_adapter.py,sha256=GaLqa0xJrq-2Ch5BDk3KCcTMv1RIzLzP13lEEoOImY4,1811
5
- h_message_bus/adapters/nats_subscriber_adapter.py,sha256=vY6Cj90CLJmbWGXwH9VE6cPL0TUYdkywNkCjC12EV4Q,2136
6
- h_message_bus/application/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- h_message_bus/application/message_processor.py,sha256=mGW3TVpMtEV0eSs3-t6G9ny12kbwdwRlm1IfURv856A,743
8
- h_message_bus/application/message_publisher.py,sha256=6XimOGi2HpxTA1_y1akwCXqZ6HF6KkxUvwjy1XoAVPw,851
9
- h_message_bus/application/message_subcriber.py,sha256=2yqUUHVHtZlA6-zzyHzghdWQ7ZmdcFic5c0xi_rgG-M,741
10
- h_message_bus/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
- h_message_bus/domain/hai_message.py,sha256=mODVLRx_hgrnK9dbw57MiFATAiRwsgQ2TAOTA7r5Fcc,2108
12
- h_message_bus/domain/topics.py,sha256=a3VfQuItmHMaHaDWf2N9DgU8ASUh3-EHHB12YIJPvNw,769
13
- h_message_bus/infrastructure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
- h_message_bus/infrastructure/nats_client_repository.py,sha256=blGsJzqGzdqp0MyGxb_HoZgtqVJ4TfZAFFpsucOYWSU,3359
15
- h_message_bus/infrastructure/nats_config.py,sha256=Yzqqd1bCfmUv_4FOnA1dvqIpakzV0BUL2_nXQcndWvo,1304
16
- h_message_bus-0.0.3.dist-info/METADATA,sha256=AdWg-lw8muM9nRoDE8RACUkGdCgw6PMFA4889S5-wrg,8870
17
- h_message_bus-0.0.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
18
- h_message_bus-0.0.3.dist-info/top_level.txt,sha256=7feCw9I0yIIqsYsVzUMYvCCmUTOiGX1a5F2VbSkFscc,14
19
- h_message_bus-0.0.3.dist-info/RECORD,,