BI tools for data developer use Python Language. by:cpp.la
Project description
b-i
BI tools for data developer use Python Language. 更快捷的BI数据开发工具
用法
安装
pip3 install b-i
修改数据库配置文件
vim ~/.b-i
快速查询
from b_i import hive_client
hive_client.read_sql("show tables")
from b_i import mysql_client
mysql_client.read_sql("show tables")
高级示例
b_i 数据开发工具包维护了三个操作对象:
hive数据库操作对象:hive_client
mysql数据库操作对象:mysql_client
elasticsearch数据库操作对象:elastic_client
提供两个常用方法:
read_sql()
exec_sql()
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
b-i-1.0.3.tar.gz
(8.8 kB
view hashes)