documentation and housekeeping work

This commit is contained in:
Steve Nyemba 2019-09-17 11:53:44 -05:00
parent d438f69f02
commit fc59dcc813
3 changed files with 20 additions and 4 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.pyc

View File

@ -1,12 +1,23 @@
# Introduction # 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 : This project implements an abstraction of objects that can have access to a variety of data stores, implementing read/write with a simple interface against specific various data-sources. The supported data sources implement functionalities against :
- Rabbitmq-server - Rabbitmq-server
- Couchdb-server - Couchdb-server
- Mongodb-server
- Http Session : {csv,tab,pipe,sql} - Http Session : {csv,tab,pipe,sql}
- Disk{Reader|Writer} : csv, tab, pipe, sql on disk - Disk{Reader|Writer} : csv, tab, pipe, sql on disk
Such an interface is used to facilitate data transport in and out of a store for whatever an application may need (log, session management, ...)
### Installation
Within the virtual environment perform the following command:
pip install git+https://dev.the-phi.com/git/steve/data-transport.git
Binaries and eggs will be provided later on
### Usage ### Usage

View File

@ -2,7 +2,9 @@
This is a build file for the This is a build file for the
""" """
from setuptools import setup, find_packages from setuptools import setup, find_packages
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup( setup(
name = "data-transport", name = "data-transport",
version = "1.0", version = "1.0",
@ -10,10 +12,12 @@ setup(
author_email = "steve@the-phi.com", author_email = "steve@the-phi.com",
license = "MIT", license = "MIT",
packages=['transport'], packages=['transport'],
keywords=['mongodb','couchdb','rabbitmq','file','read','write','s3'],
install_requires = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'], install_requires = ['pymongo','numpy','cloudant','pika','boto','flask-session','smart_open'],
url="https://dev.the-phi.com/git/steve/data-transport.git",
use_2to3=True, use_2to3=True,
convert_2to3_doctests=['src/your/module/README.txt'], long_description=read('README.md'),
convert_2to3_doctests=['README.md'],
use_2to3_fixers=['your.fixers'], use_2to3_fixers=['your.fixers'],
use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'], use_2to3_exclude_fixers=['lib2to3.fixes.fix_import'],
) )