Skip to main content

BI tools for data developer use Python Language. by:cpp.la

Project description

b-i

BI tools for data developer use Python Language. 更快捷的BI数据开发工具

Build Status License

用法

安装

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


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)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page