Browse Source

documentation and housekeeping work

Steve Nyemba 5 years ago
parent
commit
fc59dcc813
3 changed files with 20 additions and 4 deletions
  1. 1 0
      .gitignore
  2. 12 1
      README.md
  3. 7 3
      setup.py

+ 1 - 0
.gitignore

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

+ 12 - 1
README.md

@@ -1,12 +1,23 @@
 # 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
     - Couchdb-server
+    - Mongodb-server
     - Http Session : {csv,tab,pipe,sql}
     - 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
 

+ 7 - 3
setup.py

@@ -2,7 +2,9 @@
 This is a build file for the 
 """
 from setuptools import setup, find_packages
- 
+import os
+def read(fname):
+    return open(os.path.join(os.path.dirname(__file__), fname)).read() 
 setup(
     name = "data-transport",
     version = "1.0",
@@ -10,10 +12,12 @@ setup(
     author_email = "steve@the-phi.com",
     license = "MIT",
     packages=['transport'],
+    keywords=['mongodb','couchdb','rabbitmq','file','read','write','s3'],
     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,
-    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_exclude_fixers=['lib2to3.fixes.fix_import'],
     )