Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

just a simple mongodb orm

Project Description

boxmongodb is a lightweight ORM framework for Python and MongoDB

http://i.v2ex.co/53fQFgQ3.gif

https://github.com/ccdjh/boxmongodb

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)
        m.insert()

if __name__ == '__main__':
    main()

Property class:

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

Function:

insert , update , update_id
find,find_all,find_id,insert_dict,remove,remove_all,update_id_dict

Release history Release notifications

This version
History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
boxmongodb-0.0.10.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Jun 24, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page