You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

boxmongodb

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

boxmongodb

just a simple mongodb orm

0.0.10
pipPyPI
Maintainers
1

BoxMongodb

boxmongodb is a lightweight ORM framework for Python and MongoDB

.. image:: 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

Keywords

mongodb

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts