{ "info": { "author": "Robson Junior", "author_email": "bsao@icloud.com", "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 Elasticsearch\n==============\n\n.. image:: https://travis-ci.org/bsao/bottle-elastic.svg?branch=master\n :target: https://travis-ci.org/bsao/bottle-elastic\n\nThis bottle-elastic plugin integrates Elasticsearch with your Bottle\napplication. It injects a Elastic connection in your route and handle the\nsession cycle.\n\nSupport elasticsearch 2.x\n\n\nUsage Example:\n\n.. code-block:: python\n\n from bottle import Bottle\n from bottle_elastic import ElasticPlugin\n from datetime import datetime\n\n app = Bottle()\n plugin = ElasticPlugin(hosts=[\"localhost:9200\"])\n app.install(plugin)\n\n @app.route('/', method='GET')\n def index(elastic):\n # elastic search operation\n return \"ok\"\n\n @app.route('/create/', method='POST')\n def create(elastic):\n doc = {\n 'name': 'bsao',\n 'text': 'Elasticsearch: cool.',\n 'timestamp': datetime.now(),\n }\n response = elastic.index(index=\"test-index\", doc_type='tweet', id=1, body=doc)\n return response\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/bsao/bottle-elastic", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "bottle-elastic", "package_url": "https://pypi.org/project/bottle-elastic/", "platform": "any", "project_url": "https://pypi.org/project/bottle-elastic/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/bsao/bottle-elastic" }, "release_url": "https://pypi.org/project/bottle-elastic/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Elasticsearch integration for Bottle", "version": "0.2.1" }, "last_serial": 2041135, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "4e991956c32eb422be2d57de8711be91", "sha256": "36fd5f9f22c5fd62ddf415074e5960316917b37ab8b00f33c270177dc94721f6" }, "downloads": -1, "filename": "bottle-elastic-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4e991956c32eb422be2d57de8711be91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2669, "upload_time": "2016-04-01T21:18:04", "url": "https://files.pythonhosted.org/packages/28/33/09b74af9c988efcfc977f311bb51d641816022870fa1190e5adcebb0f512/bottle-elastic-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e991956c32eb422be2d57de8711be91", "sha256": "36fd5f9f22c5fd62ddf415074e5960316917b37ab8b00f33c270177dc94721f6" }, "downloads": -1, "filename": "bottle-elastic-0.2.1.tar.gz", "has_sig": false, "md5_digest": "4e991956c32eb422be2d57de8711be91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2669, "upload_time": "2016-04-01T21:18:04", "url": "https://files.pythonhosted.org/packages/28/33/09b74af9c988efcfc977f311bb51d641816022870fa1190e5adcebb0f512/bottle-elastic-0.2.1.tar.gz" } ] }