{ "info": { "author": "Gadi Oren", "author_email": "gadi.oren.1@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===========\nmoma-django\n===========\n\n:Info: A Mongo Manager for Django, providing native Django ORM support for Mongo DB\n:Version: 0.1.0\n:Maintainer: Gadi Oren (http://cloudoscope.com)\n\n.. image:: https://travis-ci.org/gadio/moma-django.png\n :alt: Build Status\n :target: https://travis-ci.org/gadio/moma-django\n\n\nAbout\n=====\n\nmoma-django is a Mongo Manager for Django. **It provides native Django ORM support for Mongo DB**.\n\nmoma-django provides a framework to bridge between a SQL DB and the NonSQL MongoDB using a simple and powerful framework allowing an application to have models both on SQL database *and* on Mongo, and a quick experimentation / migration path from SQL only to a mixed model. Created and maintained by [Gadi Oren](http://twitter.com/gadioren), as a part of the [Lucidel](http://lucidel.com) and [Cloudoscope](http://cloudoscope.com) products.\n\n* License: GPL license\n* Documentation: http://moma-django.rtfd.org.\n\nFeatures\n========\n\n* Adoption: changing a model to reside on MongoDB is as simple as changing the inheritance from django.db.models.Model to MongoModel!\n* Model features: large subset of the model capabilities is supported (e.g. unique together)\n* Enhanced model: Mongo models can include lists and dictionaries as a field\n* Django administration: most of the administration functions are supported for Mongo based models\n* Testing: support the creation of an alternative mongodb collection for unit tests\n* Relationships between models on SQL db and Mongo: limited support. ForeignKeys can be defined but transactions or cascading delete is not supported\n* Django query: support for queries (e.g. `date__gte` notation) as well as Q statements. Not supported yet: annotations and aggregations\n* Enhanced Django query: queries can include \"drill into\" objects. E.g. for a record `entry = {a:3, b:{k1:4, k2:3,km:'a'}}` you can query: `qs = Entry.objects.filter(a__gte=2,b__km__regexp='^a$') )` (note the `b__km__regexp` \"drill into\")\n* South: applications can contain regular and mongo models. However, in order to use south, the mongo models should be excluded of the south management (see documentation on how to exclude mongo models)\n* loaddata_mongo: utility that allows loading of fixtures\n\n\nWhy?\n====\nThere are other packages out there that create tight integration between MongoDB and django. **Why use this one?**\nThis package was originally created as a part of very careful experimentation with MongoDB, and developed in small increments. The reason was\nthat we couldn't afford a radical change like replacing the entire Django or moving completely to a NoSQL type of environment.\nThis package allowed us to enjoy both worlds without massive impact on the project. It is used in production, as part of a high scale & performance project.\nIf that is the type of decision and constraints that you are facing, this package may be a good option.\n\n\nInstallation\n============\n\n\nGet MongoDB::\n\n Download the right version per http://www.mongodb.org/downloads\n\nGet pymongo:\n\n pip install pymongo=>2.1.1\n\nGet the code::\n\n pip install moma-django==0.1.0\n\nInstall the dependency in your settings.py::\n\n INSTALLED_APPS = (\n ...\n 'moma_django',\n ...\n )\n\nDocumentation\n==============\n\nAll the documentation for this project is hosted at http://moma-django.readthedocs.org.\n\n\n\nDependencies\n============\n* Django 1.4.1\n* PyMongo 2.1.1\n* djangotoolbox 0.9.2\n\n\nQuick start\n===========\n\n* Install (or clone the repo, `git clone git://github.com/gadio/moma-django.git`).\n* Please read \"Example application README\" (https://github.com/gadio/moma-django/tree/master/moma_example/README.md) about running the example application.\n\n\nVersioning\n============\n\nReleases will be numbered with the following format:\n\n`..`\n\nAnd constructed with the following guidelines:\n\n* Breaking backward compatibility bumps the major (and resets the minor and patch)\n* New additions without breaking backward compatibility bumps the minor (and resets the patch)\n* Bug fixes and misc changes bumps the patch\n\n\n\nBug tracker\n============\n\nHave a bug? Please create an issue here on GitHub that conforms with [the guidelines](https://github.com/).\n\nhttps://github.com/gadio/moma-django/issues\n\n\n\nTwitter account\n===============\n\nPlease follow us on Twitter, [@cloudoscope_inc](http://twitter.com/cloudoscope_inc).\nKeep up to date on announcements and more by following Gadi on Twitter, [@gadioren](http://twitter.com/gadioren).\n\n\n\nBlog\n====\n\nCloudoscope blog can be found [here](http://blog.cloudoscope.com).\nRead more detailed announcements, discussions, and more on [The Official Blog](http://blog.cloudoscope.com).\n\n\n\nDevelopers\n==========\n\nHow to test: Please read [Example application README](https://github.com/gadio/moma-django/tree/master/moma_example/README.md) about running the unit tests.\n\n\nMore information\n================\n\nWatch the [presentation] (http://www.slideshare.net/GadiOren/moma-django-overviewshare)\nand the [video] (http://youtu.be/cxQKTDLjb-w)\n\n\nContributing\n============\n\nPlease submit all pull requests against *-wip branches. When relevant, you must include relevant unit tests. Thanks!\n\n\n\nAuthors\n=======\n\n**Gadi Oren**\n\n+ http://twitter.com/gadioren\n+ http://github.com/gadio\n\nAdditional contributor https://github.com/Alerion (as part of a contract position with Lucidel)\n\n\nCopyright and license\n======================\n\nCopyright 2012 Lucidel, Inc., 2013 Cloudoscope Inc.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n\nSupport this project!\n======================\n\nYou can hire the lead maintainer to perform dedicated work on this package. Please email gadi.oren.1 at gmail.com.\n\n\n\nHistory\n-------\n\n0.1.0 (2014-03-01)\n++++++++++++++++++\n\n* First release on PyPI.\n\n0.1.1 (2014-03-10)\n++++++++++++++++++\n\n* Minor bugfixes in the example application: incorrect reference to static files location.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gadio/moma-django", "keywords": "moma-django,mongodb,django", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "moma-django", "package_url": "https://pypi.org/project/moma-django/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/moma-django/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gadio/moma-django" }, "release_url": "https://pypi.org/project/moma-django/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "MoMa-Django provides native Django ORM and admin support for Mongo DB.", "version": "0.1.1" }, "last_serial": 1025226, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "67c732067af71890ef791bb02411760b", "sha256": "4d63bbaaf6ad87ff68c956a3f872097a11ca1079ba05f43e009e5fd770a817b9" }, "downloads": -1, "filename": "moma-django-0.1.0.tar.gz", "has_sig": false, "md5_digest": "67c732067af71890ef791bb02411760b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193797, "upload_time": "2014-03-10T16:27:47", "url": "https://files.pythonhosted.org/packages/b8/d4/064a65f4f3eb22ddf414ae6a511f56a6b08b27a2899e9fc9662ddb306c96/moma-django-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "26da43b32c13bfc32b44f43019d17d3d", "sha256": "155a9957c1b65bf180740d09ca945e20296bc848dc8d0fa73867d29c7bc4f076" }, "downloads": -1, "filename": "moma-django-0.1.1.tar.gz", "has_sig": false, "md5_digest": "26da43b32c13bfc32b44f43019d17d3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193834, "upload_time": "2014-03-10T17:57:22", "url": "https://files.pythonhosted.org/packages/01/43/b6ed2050176d5fdd052facc1adf24cf8029e20fd9219231b565fa0db6556/moma-django-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "26da43b32c13bfc32b44f43019d17d3d", "sha256": "155a9957c1b65bf180740d09ca945e20296bc848dc8d0fa73867d29c7bc4f076" }, "downloads": -1, "filename": "moma-django-0.1.1.tar.gz", "has_sig": false, "md5_digest": "26da43b32c13bfc32b44f43019d17d3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 193834, "upload_time": "2014-03-10T17:57:22", "url": "https://files.pythonhosted.org/packages/01/43/b6ed2050176d5fdd052facc1adf24cf8029e20fd9219231b565fa0db6556/moma-django-0.1.1.tar.gz" } ] }