【文件属性】:
文件名称:luigi-td:Luigi Workflow Engine集成宝物数据
文件大小:106KB
文件格式:ZIP
更新时间:2021-05-19 08:52:25
Python
路易吉-TD
安装
您可以从安装发行版。
$ pip install luigi-td
例子
# tasks.py
import luigi
import luigi_td
class MyQuery ( luigi_td . Query ):
type = 'presto'
database = 'sample_datasets'
def query ( self ):
return "SELECT count(1) FROM www_access"
if __name__ == '__main__' :
luigi . run ()
$ export TD_API_KEY= " YOUR-API-KEY "
$ python tasks.py MyQuery --local-scheduler
文献资料
执照
Apache软件许可,版
【文件预览】:
luigi-td-master
----setup.py(778B)
----.gitignore(92B)
----requirements.txt(75B)
----.travis.yml(1KB)
----MANIFEST.in(25B)
----LICENSE(11KB)
----README.md(1KB)
----example()
--------tutorial()
----luigi_td()
--------__init__.py(881B)
--------test_config.py(2KB)
--------test_helper.py(4KB)
--------client.py(1KB)
--------targets()
--------config.py(1KB)
--------task.py(4KB)
--------test_client.py(791B)
--------bulk_import.py(8KB)
--------test_bulk_import.py(9KB)
--------test_task.py(4KB)
----docs()
--------Makefile(7KB)
--------index.rst(587B)
--------conf.py(8KB)
--------_static()
--------gettingstarted.rst(12KB)