python data transport layer, mongodb, netezza, bigquery, postgresql files
Go to file
Steve L. Nyemba 0e2d85e608 Upload files to ''
transport file
2017-09-25 16:30:19 +00:00
README.md Update 'README.md' 2017-08-07 15:21:00 +00:00
transport.py Upload files to '' 2017-09-25 16:30:19 +00:00

README.md

Introduction

This project implements an abstraction of objects that can have access to a variety of data stores, implementing read/write functions associated and specific to the data-sources. The classes implement functionalities against :

- Rabbitmq-server
- Couchdb-server
- Http Session : {csv,tab,pipe,sql}
- Disk{Reader|Writer} : csv, tab, pipe, sql on disk

Usage

The basic usage revolves around a factory class (to be a singleton)

import transport

p = {"uri":"https://your-server:5984","dbname":"mydatabase","doc":"doc_id"}
couchdb = transport.Factory.instance(type='CouchdbReader',args=p)

#
# let's execute a view
#
result = couchdb.view('view_name/function',key=value)
info   = couchdb.read()