Skip to main content

just a simple mongodb orm

Project description

boxmongodb is a lightweight ORM framework for Python and MongoDB

pip install (ubuntu ):

sudo apt-get install mongodb
sudo apt-get install python-pip

sudo pip install boxmongodb

example (ubuntu):

from boxmongodb import boxmongodb

class mongoMyAnBox_counter(boxmongodb.Model):
    username = boxmongodb.StringProperty()
    num      = boxmongodb.IntegerProperty(default="1")

def main():
        a = "CcdjhMarx"
        b    = "1984"
        m = mongoMyAnBox_counter(username=a,num=b)

if __name__ == '__main__':

Property class:

StringProperty ,DateTimeProperty ,IntegerProperty ,LinkProperty ,
AuthProperty ,DictProperty ,EmailProperty


insert , update , update_id

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

boxmongodb-0.0.10.tar.gz (2.9 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page