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()
Metadata
Release files for b-i 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| b-i-1.0.3.tar.gz | 8.8 kB | Without provenance | Details |
Release files / b-i-1.0.3.tar.gz
| Download URL | b-i-1.0.3.tar.gz |
|---|---|
| Size | 8.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea36b3b8a4df0926f27592adde24c0b135cedf6675dc51fe847825e6b629e4ab
|
|
BLAKE2b-256 checksum How to use checksums |
1ae2742d381ea959197c82e7d01d21ecd3c83adde69dd37ee1d6cba10833b996
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for b-i 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.