You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
data-transport/transport/mongo.py

169 lines
6.2 KiB
Python

"""
Data Transport - 1.0
Steve L. Nyemba, The Phi Technology LLC
This file is a wrapper around mongodb for reading/writing content against a mongodb server and executing views (mapreduce)
"""
:host host and port of the database by default localhost:27017
"""
def __init__(self,**args):
Mongo.__init__(self,**args)
collection = self.db[self.uid]
4 years ago