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 details)

Uploaded Source

File details

Details for the file b-i-1.0.3.tar.gz.

File metadata

  • Download URL: b-i-1.0.3.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.3

File hashes

Hashes for b-i-1.0.3.tar.gz
Algorithm Hash digest
SHA256 ea36b3b8a4df0926f27592adde24c0b135cedf6675dc51fe847825e6b629e4ab
MD5 fc538d8cc29acf9f1da78bb3b6e57b56
BLAKE2b-256 1ae2742d381ea959197c82e7d01d21ecd3c83adde69dd37ee1d6cba10833b996

See more details on using hashes here.

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