{ "info": { "author": "Will McGinnis", "author_email": "will@predikto.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "(Predikto) Python Elasticsearch Client\n======================================\n\nUnofficial low-level client for Elasticsearch. Its goal is to be a slight extension of the official elasticsearch-py\nlibrary, while providing more frequent releases in the interim. Specifically, we are working with elasticsearch 2.x,\n1.x is not supported, and 5.x is probably an afterthought. For support of either of those two, head to the main repo.\n\nCompatibility\n-------------\n\nAt the time of the fork, the most recent version of the elasticsearch 2.x version was 2.4.0, so the first release of\n predikto-elasticsearch-py will be 2.4.1.\n\nInstallation\n------------\n\nInstall the ``elasticsearch`` package with `pip\n`_::\n\n pip install predikto-elasticsearch\n\n\nExample use\n-----------\n\nSimple use-case::\n\n >>> from datetime import datetime\n >>> from elasticsearch import Elasticsearch\n\n # by default we connect to localhost:9200\n >>> es = Elasticsearch()\n\n # create an index in elasticsearch, ignore status code 400 (index already exists)\n >>> es.indices.create(index='my-index', ignore=400)\n {u'acknowledged': True}\n\n # datetimes will be serialized\n >>> es.index(index=\"my-index\", doc_type=\"test-type\", id=42, body={\"any\": \"data\", \"timestamp\": datetime.now()})\n {u'_id': u'42', u'_index': u'my-index', u'_type': u'test-type', u'_version': 1, u'ok': True}\n\n # but not deserialized\n >>> es.get(index=\"my-index\", doc_type=\"test-type\", id=42)['_source']\n {u'any': u'data', u'timestamp': u'2013-05-12T19:45:31.804229'}\n\n\n\nFeatures\n--------\n\nThe client's features include:\n\n * translating basic Python data types to and from json (datetimes are not\n decoded for performance reasons)\n * configurable automatic discovery of cluster nodes\n * persistent connections\n * load balancing (with pluggable selection strategy) across all available nodes\n * failed connection penalization (time based - failed connections won't be\n retried until a timeout is reached)\n * support for ssl and http authentication\n * thread safety\n * pluggable architecture\n\n\nLicense\n-------\n\nCopyright 2015 Elasticsearch\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License 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.", "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/predikto/elasticsearch-py", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "predikto-elasticsearch", "package_url": "https://pypi.org/project/predikto-elasticsearch/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/predikto-elasticsearch/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/predikto/elasticsearch-py" }, "release_url": "https://pypi.org/project/predikto-elasticsearch/2.4.1/", "requires_dist": null, "requires_python": null, "summary": "Unofficial Python client for Elasticsearch", "version": "2.4.1" }, "last_serial": 2474679, "releases": { "2.4.1": [ { "comment_text": "", "digests": { "md5": "2774d621365b651c087fabb66180c176", "sha256": "ee5c4160166b424689bd70bfb80675db4c1befa6dd1c4350aeffd0851e134646" }, "downloads": -1, "filename": "predikto-elasticsearch-2.4.1.tar.gz", "has_sig": false, "md5_digest": "2774d621365b651c087fabb66180c176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58248, "upload_time": "2016-11-21T20:07:35", "url": "https://files.pythonhosted.org/packages/b6/79/8ca9603a3c6d5062cc9bb18d08b821d7d668b944deac8a9389d1cec246c4/predikto-elasticsearch-2.4.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2774d621365b651c087fabb66180c176", "sha256": "ee5c4160166b424689bd70bfb80675db4c1befa6dd1c4350aeffd0851e134646" }, "downloads": -1, "filename": "predikto-elasticsearch-2.4.1.tar.gz", "has_sig": false, "md5_digest": "2774d621365b651c087fabb66180c176", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 58248, "upload_time": "2016-11-21T20:07:35", "url": "https://files.pythonhosted.org/packages/b6/79/8ca9603a3c6d5062cc9bb18d08b821d7d668b944deac8a9389d1cec246c4/predikto-elasticsearch-2.4.1.tar.gz" } ] }