Messaging helpers for edge/integration services.
Project description
smart_messaging_core
可擴充的通訊核心套件,提供統一的 MessagingClient facade,並可依 route 將訊息導向不同協議。
目前支援的協議
mqtt: publish / subscribehttp: publish / subscribe(webhook)kafka: publish / subscriberedis: publish / subscribe
註:kafka 與 redis 目前已提供 client/config 與文件、測試腳本骨架;若要實際連線驗證,需安裝對應套件並啟動外部服務。
安裝(本機)
cd /home/allen/Documents/project/asia-bay/SmartWarehousing/test/smart_messaging_core
pip install -e .
文件
設計說明
- 對外 API:
MessagingClient - 協議實作集中在
protocols/ - 每個協議提供對應
Config與Client - route-based 設計可讓不同用途走不同 backend/channel
- 錯誤處理可透過
failure_mode控制(degraded只 log;strict會 raise)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file smart_messaging_core-0.1.1.tar.gz.
File metadata
- Download URL: smart_messaging_core-0.1.1.tar.gz
- Upload date:
- Size: 10.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
806d9c693eccbbee3fbcb961bd31de4a3f743a8f39ea6cc2bf052e9b32a9b5c9
|
|
| MD5 |
049561ddb4ade49aeeaf4f6ad9bc616f
|
|
| BLAKE2b-256 |
f7d552bdce5e24da79ebd68c166aa909308016c8840142aecd590b51ec473aa8
|
File details
Details for the file smart_messaging_core-0.1.1-py3-none-any.whl.
File metadata
- Download URL: smart_messaging_core-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b736b6f21b7c0f48f9d31bf4d967463c875add7142ad9fc977525841783e4fc
|
|
| MD5 |
8638d7f03f836f216b5f391e277aeb51
|
|
| BLAKE2b-256 |
39534bc3e2866a6038dd64decec9236adee85b5962aa4765cd5d58bd7eed08b3
|