singer-python:从Python编写Singer格式

时间:2021-05-13 10:44:28
【文件属性】:
文件名称:singer-python:从Python编写Singer格式
文件大小:40KB
文件格式:ZIP
更新时间:2021-05-13 10:44:28
Python 歌手巨蟒 从Python编写Singer格式 用 该库取决于python3。 我们建议使用如下所示的virtualenv : python3 -m venv ~ /.virtualenvs/singer-python 接下来,安装此库: source ~ /.virtualenvs/singer-python/bin/activate git clone http://github.com/singer-io/singer-python cd singer-python make install 现在,从同一个virtualenv python代码中,您可以使用该库: import singer singer . write_schema ( 'my_table' , { 'properties' :{ 'id' : { 'type' : 'string'
【文件预览】:
singer-python-master
----.github()
--------pull_request_template.md(154B)
----tests()
--------test_utils.py(987B)
--------test_schema.py(3KB)
--------test_bookmarks.py(5KB)
--------test_metadata.py(13KB)
--------test_catalog.py(5KB)
--------test_statediff.py(3KB)
--------__init__.py(0B)
--------test_transform.py(23KB)
--------test_metrics.py(3KB)
--------test_singer.py(7KB)
--------test_exceptions.py(2KB)
----LICENSE(10KB)
----singer()
--------catalog.py(5KB)
--------utils.py(8KB)
--------logger.py(1KB)
--------logging.conf(297B)
--------metrics.py(7KB)
--------metadata.py(2KB)
--------__init__.py(1KB)
--------bookmarks.py(2KB)
--------requests.py(210B)
--------schema.py(3KB)
--------transform.py(15KB)
--------messages.py(9KB)
--------exceptions.py(1011B)
--------statediff.py(2KB)
----CONTRIBUTING.md(150B)
----setup.cfg(40B)
----setup.py(829B)
----.gitignore(1KB)
----CHANGELOG.md(3KB)
----.circleci()
--------config.yml(753B)
----Makefile(447B)
----README.md(827B)

网友评论