Mobio OLAP SDK
Project description
OlapSDK
module mining data in OLAP
Prepare Đảm bảo rằng image phải được cài đặt mysql-devel, trong Dockerfile thêm dòng sau trước khi install requirements
RUN yum install -y gcc
RUN yum install -y python38-devel mysql-devel
RUN ln -s /usr/include/python3.8 /usr/local/include/python3.8
Usage
- Get profile by id
from mobio.libs.olap.mining_warehouse.profiling.mysql_dialect.profiling_dialect import ProfilingDialect
profile_data = ProfilingDialect(olap_profiling_uri="uri").get_profile_by_criteria(merchant_id="merchant_id", profile_id="profile_id", lst_criteria=["cri_merchant_id", "cri_profile_id", "cri_name"])
print(profile_data)
Release notes:
- 0.1.0 (2023-11-24):
- support lấy profile by id, hỗ trợ việc masking data
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
m-olap-sdk-0.1.1.tar.gz
(8.4 kB
view hashes)