数据分析软件包
sachima的Python项目详细描述
Sachima更好的数据分析师
Build | |
---|---|
Docs | |
Package | |
Support |
Sachima是一个面向数据分析师的软件包,他们希望获得数据工程师的能力:
- 将python代码发布为http/rpc api。
- 使用双平台超集。
- 将数据报告发送到电子邮件或sns。
- 使用Grassjelly这是一个数据可视化项目。
开始
首先,您应该在操作系统上安装python3(https://www.python.org/downloads/)和nodejs(https://nodejs.org/en/download/)。
您应该通过
python3 -V
Python 3.7.2
node -v
v11.6.0
然后需要一个单独的环境来运行sachima、cd到工作目录并运行命令 pip3 install virtualenv
mkdir sachima_start
python3 -m venv sachima_start/venv
source sachima_start/venv/bin/activate
pip3 install sachima
sachima init`
sachima run
…
deactivate
安装
pip3 install sachima
使用超集
git checkout p p_feat_apitable_0.29_new
virtualenv-pPython3静脉
source sachima_workspace/bin/激活
pip install-r requirements.txt
if you get compile error remove cchardet==1.0.0 from requirements.txt and run again
https://stackoverflow.com/questions/52509602/cant-compile-c-program-on-a-mac-after-upgrade-to-mojave
pip安装-r requirements-dev.txt
pip安装-e。
FabManager创建管理-应用程序超集
if you already had sqllite db file ~/.superset/superset.db rename it to superset_backup.db
超级集数据库升级
超集初始化
超集加载示例
CD超集/资产
纱线
NPM运行开发
光盘../。
创建文件./venv/bin/superset_config.py
APP_NAME='MyApp'API_URL_CONFIG={'RPC':'amqp://rabbitname:rabbitpass@0.0.0.0/vhost','RESTFUL':'http://0.0.0.0:8008/reports','GRPC':'0.0.0.0:50051',}
- CD超集
- flask_env=development flask run-p 8088–带线程–重新加载–调试器
- 打开浏览器http://127.0.0.1:8088/login/
- 参考:https://github.com/apache/incubator superset/blob/master/contribution.md 35;烧瓶服务器
git checkout p p_feat_apitable_0.29_new
virtualenv-pPython3静脉
source sachima_workspace/bin/激活
pip install-r requirements.txt
if you get compile error remove cchardet==1.0.0 from requirements.txt and run again https://stackoverflow.com/questions/52509602/cant-compile-c-program-on-a-mac-after-upgrade-to-mojave
pip安装-r requirements-dev.txt
pip安装-e。
FabManager创建管理-应用程序超集
if you already had sqllite db file ~/.superset/superset.db rename it to superset_backup.db
超级集数据库升级
超集初始化
超集加载示例
CD超集/资产
纱线
NPM运行开发
光盘../。
创建文件./venv/bin/superset_config.py