{ "info": { "author": "David Broudy", "author_email": "dave@broudy.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Bottle", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Bottle-Pika is a plugin that integrates Pika (AMQP) with your Bottle\napplication. It automatically connects to AMQP at the beginning of a\nrequest, passes the channel to the route callback and closes the\nconnection and channel afterwards.\n\nTo automatically detect routes that need a channel, the plugin\nsearches for route callbacks that require a `mq` keyword argument\n(configurable) and skips routes that do not. This removes any overhead for\nroutes that don't need a message queue.\n\nThis plugin was originally based on the bottle-mysql plugin found at:\n https://pypi.python.org/pypi/bottle-mysql\n\nUsage Example::\n\n import bottle\n import bottle_pika\n import pika\n\n app = bottle.Bottle()\n pika_plugin = bottle_pika.Plugin(pika.URLParameters('amqp://localhost/'))\n app.install(pika_plugin)\n\n @app.route('/hello')\n def hello(mq):\n mq.basic_publish(...)\n return HTTPResponse(status=200)\n\nSee pika documentation on channels for more information:\n http://pika.readthedocs.org/en/latest/modules/channel.html#pika.channel.Channel", "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/dbroudy/bottle-pika", "keywords": "bottle rabbitmq amqp pika messaging message queue", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle_pika", "package_url": "https://pypi.org/project/bottle_pika/", "platform": "any", "project_url": "https://pypi.org/project/bottle_pika/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dbroudy/bottle-pika" }, "release_url": "https://pypi.org/project/bottle_pika/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Pika plugin module for Bottle microframework", "version": "0.1.0" }, "last_serial": 831678, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "541278286d7b820656515bd2b88a6f97", "sha256": "fc2e5cf1375fadd33a532e1eb0f302a677f01baecdcdab38b74291316d412828" }, "downloads": -1, "filename": "bottle_pika-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "541278286d7b820656515bd2b88a6f97", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4990, "upload_time": "2013-08-03T19:00:55", "url": "https://files.pythonhosted.org/packages/eb/3a/314a71de9b28f0d13cdc7429a1e13fafd61c024d14192ff6f93bf689ec71/bottle_pika-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7b01c498d5b12ab7dbd152e8c2f66995", "sha256": "4d55b23be8dc93dfdd843fbcff88cc6e059503b4a28a470e261b0a8f4dec3534" }, "downloads": -1, "filename": "bottle_pika-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7b01c498d5b12ab7dbd152e8c2f66995", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2656, "upload_time": "2013-08-03T19:26:40", "url": "https://files.pythonhosted.org/packages/d8/5e/324e1f1eb41c1efc78a6f9a1421f86ee2cb62f00c1e09809c8cd9dbac172/bottle_pika-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "541278286d7b820656515bd2b88a6f97", "sha256": "fc2e5cf1375fadd33a532e1eb0f302a677f01baecdcdab38b74291316d412828" }, "downloads": -1, "filename": "bottle_pika-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "541278286d7b820656515bd2b88a6f97", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 4990, "upload_time": "2013-08-03T19:00:55", "url": "https://files.pythonhosted.org/packages/eb/3a/314a71de9b28f0d13cdc7429a1e13fafd61c024d14192ff6f93bf689ec71/bottle_pika-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "7b01c498d5b12ab7dbd152e8c2f66995", "sha256": "4d55b23be8dc93dfdd843fbcff88cc6e059503b4a28a470e261b0a8f4dec3534" }, "downloads": -1, "filename": "bottle_pika-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7b01c498d5b12ab7dbd152e8c2f66995", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2656, "upload_time": "2013-08-03T19:26:40", "url": "https://files.pythonhosted.org/packages/d8/5e/324e1f1eb41c1efc78a6f9a1421f86ee2cb62f00c1e09809c8cd9dbac172/bottle_pika-0.1.0.tar.gz" } ] }