/cubicerp-client-etl

Python ETL client library to Cubic ERP

Primary LanguagePythonGNU Affero General Public License v3.0AGPL-3.0

cubicerp-client-etl

The CubicERP ETL Client Library is a Python library to extract transform and load dato from any data source to Cubic ERP Server in an user-friendly way. To use this library you need install etl community module on a Cubic ERP instance.

The CubicERP ETL Client Library is officially supported by Cubic ERP S.A.C.

To consult the source code repository, report bugs or ask questions, see the Public Branch of Cubic ERP:

https://github.com/CubicERP

To hire support contract and profesional services contact to us at info@cubicerp.com

CubicERP ETL Client Library Guide

First install the library: ::

sudo easy_install cubicerp-client-etl

Fill login information in config.ini file: ::

[test]
host = 127.0.0.1
port = 8069
username = admin
password = admin

Now you can run the ready jobs defined on Cubic ERP using the following script: ::

import cubicerpetl

cubicerpetl.run(database='test')
# will print "Finish etl_cron" when finish the jobs execution

This script will be used on a programed cron task execution or as comand line script in order to ensure the correct execution of ETL jobs defined on CubicERP GUI.

Compatibility

  • XML-RPC: Cubic ERP version 9.0 and superior

  • JSON-RPC: Cubic ERP version 9.0 and superior

Changelog

  • Updated documentation