{ "info": { "author": "Thiago Avelino", "author_email": "thiago@avelino.xxx", "bugtrack_url": null, "classifiers": [ "Environment :: Plugins", "Environment :: Web Environment", "Framework :: Bottle", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Bottle MongoDB\n==============\n\n.. image:: https://travis-ci.org/bottlepy/bottle-mongo.svg?branch=master\n :target: https://travis-ci.org/bottlepy/bottle-mongo\n\nThis bottle-mongodb plugin integrates MongoDB with your Bottle\napplication. It injects a MongoDB session in your route and handle the\nsession cycle.\n\nSupport pymongo 3 and 2\n\n\nUsage Example:\n\n.. code-block:: python\n\n from bottle import Bottle ,redirect\n from bottle.ext.mongo import MongoPlugin\n\n from bson.json_util import dumps\n\n\n app = Bottle()\n plugin = MongoPlugin(uri=\"mongodb://127.0.0.1\", db=\"mydb\", json_mongo=True)\n app.install(plugin)\n\n @app.route('/', method='GET')\n def index(mongodb):\n return dumps(mongodb['collection'].find())\n\n @app.route('/create/', method='POST')\n def create(mongodb):\n mongodb['collection'].insert({'a': 1, 'b': 2})\n redirect(\"/\")\n\n\n", "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/bottlepy/bottle-mongo", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle-mongo", "package_url": "https://pypi.org/project/bottle-mongo/", "platform": "any", "project_url": "https://pypi.org/project/bottle-mongo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bottlepy/bottle-mongo" }, "release_url": "https://pypi.org/project/bottle-mongo/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "MongoDB integration for Bottle", "version": "0.3.0" }, "last_serial": 1544761, "releases": { "0.2.2": [ { "comment_text": "", "digests": { "md5": "38bd8767b25a9542507f7e567dea1942", "sha256": "8e59c05e2415895db95f24d5b4ab16125730f94964396646d59328323261c36e" }, "downloads": -1, "filename": "bottle-mongo-0.2.2.tar.gz", "has_sig": false, "md5_digest": "38bd8767b25a9542507f7e567dea1942", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3218, "upload_time": "2014-03-11T13:49:16", "url": "https://files.pythonhosted.org/packages/ab/91/75daa3e34e2d49019f7027b67609ce27f4cf19242ab59fa6d0d316e005b7/bottle-mongo-0.2.2.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "ac8985b9f85cc08b807ac79f0faf7917", "sha256": "1ed223afe76dc5bed40f401e87de71fb2ce2073c40e03b23a3f464c639cb3edc" }, "downloads": -1, "filename": "bottle-mongo-0.2.4.tar.gz", "has_sig": false, "md5_digest": "ac8985b9f85cc08b807ac79f0faf7917", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3384, "upload_time": "2014-11-28T12:19:31", "url": "https://files.pythonhosted.org/packages/9a/9d/b2468f257d67a2bf9a7fcf72ca114ef5e991f971fa907c86480030c330b4/bottle-mongo-0.2.4.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "44d6bee6d6b23e5c9849c11e06879a41", "sha256": "902bfad1ce40ff592507a717902e2b3f33a436ad14dcbe29d1f50f97bb45450f" }, "downloads": -1, "filename": "bottle-mongo-0.3.0.tar.gz", "has_sig": false, "md5_digest": "44d6bee6d6b23e5c9849c11e06879a41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3547, "upload_time": "2015-05-13T03:18:52", "url": "https://files.pythonhosted.org/packages/c4/b8/0310a7cfe93b1bedb1c12df1c281ec00d865054eaadeffdbab8b44a05680/bottle-mongo-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44d6bee6d6b23e5c9849c11e06879a41", "sha256": "902bfad1ce40ff592507a717902e2b3f33a436ad14dcbe29d1f50f97bb45450f" }, "downloads": -1, "filename": "bottle-mongo-0.3.0.tar.gz", "has_sig": false, "md5_digest": "44d6bee6d6b23e5c9849c11e06879a41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3547, "upload_time": "2015-05-13T03:18:52", "url": "https://files.pythonhosted.org/packages/c4/b8/0310a7cfe93b1bedb1c12df1c281ec00d865054eaadeffdbab8b44a05680/bottle-mongo-0.3.0.tar.gz" } ] }