## Thư viện DATA OUT SDK dành cho các module cần out các event.
### Cài đặt:
```bash
$ pip3 install mobio-dataout-sdk
```
### Sử dụng:
```python
from mobio.sdks.dataout import DataOut
DataOut().send(
body, merchant_id, data_type, key_message
)
// body: dữ liệu json event raw của từng module, dữ liệu này chưa được chuẩn hóa theo đúng tài liệu định dạng mô t
ả event. module dataout sẽ chuẩn hóa về dữ liệu chuẩn của tài liệu
// merchant_id: id merchant phát sinh event
// data_type: mã event được đặc tả trong tài liệu
// key_message: là key message theo đối tượng như deal_id, profile_id, ... (có thể không truyền)
#### Log - 1.0.0
- release sdk
#### Log - 1.0.1
- giam timeout request
#### Log - 1.0.2
- try catch send data
#### Log - 1.0.3
- bỏ tham số key khi push tin kafka
#### Log - 1.0.4
- cho các module thêm tham số key khi push tin kafka
Raw data
{
"_id": null,
"home_page": "https://github.com/mobiovn",
"name": "mobio-dataout-sdk-test",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.5",
"maintainer_email": null,
"keywords": "mobio, data out",
"author": "MOBIO",
"author_email": "contact@mobio.vn",
"download_url": "https://files.pythonhosted.org/packages/3f/e2/ac12dd38f882f656a78a13088ba0f7cee62f7419b8e38c57f40cc99a30bc/mobio_dataout_sdk_test-1.0.7.tar.gz",
"platform": null,
"description": "## Th\u01b0 vi\u1ec7n DATA OUT SDK d\u00e0nh cho c\u00e1c module c\u1ea7n out c\u00e1c event.\n\n\n### C\u00e0i \u0111\u1eb7t:\n```bash\n $ pip3 install mobio-dataout-sdk\n ```\n\n\n### S\u1eed d\u1ee5ng:\n\n ```python\n from mobio.sdks.dataout import DataOut\n\n DataOut().send(\n body, merchant_id, data_type, key_message\n )\n \n // body: d\u1eef li\u1ec7u json event raw c\u1ee7a t\u1eebng module, d\u1eef li\u1ec7u n\u00e0y ch\u01b0a \u0111\u01b0\u1ee3c chu\u1ea9n h\u00f3a theo \u0111\u00fang t\u00e0i li\u1ec7u \u0111\u1ecbnh d\u1ea1ng m\u00f4 t\n\u1ea3 event. module dataout s\u1ebd chu\u1ea9n h\u00f3a v\u1ec1 d\u1eef li\u1ec7u chu\u1ea9n c\u1ee7a t\u00e0i li\u1ec7u \n // merchant_id: id merchant ph\u00e1t sinh event\n // data_type: m\u00e3 event \u0111\u01b0\u1ee3c \u0111\u1eb7c t\u1ea3 trong t\u00e0i li\u1ec7u \n // key_message: l\u00e0 key message theo \u0111\u1ed1i t\u01b0\u1ee3ng nh\u01b0 deal_id, profile_id, ... (c\u00f3 th\u1ec3 kh\u00f4ng truy\u1ec1n)\n#### Log - 1.0.0 \n - release sdk\n#### Log - 1.0.1 \n - giam timeout request\n#### Log - 1.0.2 \n - try catch send data\n#### Log - 1.0.3\n - b\u1ecf tham s\u1ed1 key khi push tin kafka \n#### Log - 1.0.4\n - cho c\u00e1c module th\u00eam tham s\u1ed1 key khi push tin kafka\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Mobio project SDK",
"version": "1.0.7",
"project_urls": {
"Homepage": "https://github.com/mobiovn",
"Source": "https://github.com/mobiovn"
},
"split_keywords": [
"mobio",
" data out"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3fe2ac12dd38f882f656a78a13088ba0f7cee62f7419b8e38c57f40cc99a30bc",
"md5": "9753b472e00a0645d3365aa69d92812b",
"sha256": "e857eb532295e180e0797b777a52b0460c5422aa076f0d0d657f37e74af58118"
},
"downloads": -1,
"filename": "mobio_dataout_sdk_test-1.0.7.tar.gz",
"has_sig": false,
"md5_digest": "9753b472e00a0645d3365aa69d92812b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.5",
"size": 4776,
"upload_time": "2024-07-08T07:07:17",
"upload_time_iso_8601": "2024-07-08T07:07:17.570058Z",
"url": "https://files.pythonhosted.org/packages/3f/e2/ac12dd38f882f656a78a13088ba0f7cee62f7419b8e38c57f40cc99a30bc/mobio_dataout_sdk_test-1.0.7.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-08 07:07:17",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "mobio-dataout-sdk-test"
}