{ "info": { "author": "Honza Kr\u00e1l", "author_email": "honza.kral@gmail.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": "Python Elasticsearch Client\n===========================\n\nOfficial low-level client for Elasticsearch. Its goal is to provide common\nground for all Elasticsearch-related code in Python; because of this it tries\nto be opinion-free and very extendable.\n\nFor a more high level client library with more limited scope, have a look at\n`elasticsearch-dsl`_ - a more pythonic library sitting on top of\n``elasticsearch-py``.\n\nIt provides a more convenient and idiomatic way to write and manipulate\n`queries`_. It stays close to the Elasticsearch JSON DSL, mirroring its\nterminology and structure while exposing the whole range of the DSL from Python\neither directly using defined classes or a queryset-like expressions.\n\nIt also provides an optional `persistence layer`_ for working with documents as\nPython objects in an ORM-like fashion: defining mappings, retrieving and saving\ndocuments, wrapping the document data in user-defined classes.\n\n.. _elasticsearch-dsl: https://elasticsearch-dsl.readthedocs.io/\n.. _queries: https://elasticsearch-dsl.readthedocs.io/en/latest/search_dsl.html\n.. _persistence layer: https://elasticsearch-dsl.readthedocs.io/en/latest/persistence.html#doctype\n\nCompatibility\n-------------\n\nThe library is compatible with all Elasticsearch versions since ``0.90.x`` but you\n**have to use a matching major version**:\n\nFor **Elasticsearch 2.0** and later, use the major version 2 (``2.x.y``) of the\nlibrary.\n\nFor **Elasticsearch 1.0** and later, use the major version 1 (``1.x.y``) of the\nlibrary.\n\nFor **Elasticsearch 0.90.x**, use a version from ``0.4.x`` releases of the\nlibrary.\n\nThe recommended way to set your requirements in your `setup.py` or\n`requirements.txt` is::\n\n # Elasticsearch 2.x\n elasticsearch>=2.0.0,<3.0.0\n\n # Elasticsearch 1.x\n elasticsearch>=1.0.0,<2.0.0\n\n # Elasticsearch 0.90.x\n elasticsearch<1.0.0\n\nThe development is happening on ``master`` and ``1.x`` branches, respectively.\n\nInstallation\n------------\n\nInstall the ``elasticsearch`` package with `pip\n`_::\n\n pip install 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`Full documentation`_.\n\n.. _Full documentation: https://elasticsearch-py.readthedocs.io/\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.\n\nBuild status\n------------\n\n.. image:: https://secure.travis-ci.org/elastic/elasticsearch-py.png\n :target: http://travis-ci.org/#!/elastic/elasticsearch-py", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/elastic/elasticsearch-py", "keywords": "", "license": "Apache License, Version 2.0", "maintainer": "", "maintainer_email": "", "name": "elasticsearch2", "package_url": "https://pypi.org/project/elasticsearch2/", "platform": "", "project_url": "https://pypi.org/project/elasticsearch2/", "project_urls": { "Homepage": "https://github.com/elastic/elasticsearch-py" }, "release_url": "https://pypi.org/project/elasticsearch2/2.5.1/", "requires_dist": null, "requires_python": "", "summary": "Python client for Elasticsearch", "version": "2.5.1" }, "last_serial": 5328510, "releases": { "2.5.0": [ { "comment_text": "", "digests": { "md5": "ff8854164dd4da43fd7ad5f5fa24d1c7", "sha256": "6648a7b7c0c84b98fbdcb3cdf11e64b57fb03f555103dbaf6d776336a690d069" }, "downloads": -1, "filename": "elasticsearch2-2.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ff8854164dd4da43fd7ad5f5fa24d1c7", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 105665, "upload_time": "2017-05-30T22:48:07", "url": "https://files.pythonhosted.org/packages/bd/c4/7ed70debc120856056c9b2a801dd6b421b8185fbb3850c133732bfd862c8/elasticsearch2-2.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bdfc1516d4792ef038aa8f2812f2afc7", "sha256": "b92fdb1bb8c049c6ce2824251fae11c055a54e8f7760b3bd10e0ef454dc0c04f" }, "downloads": -1, "filename": "elasticsearch2-2.5.0.tar.gz", "has_sig": false, "md5_digest": "bdfc1516d4792ef038aa8f2812f2afc7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64375, "upload_time": "2017-05-30T22:48:05", "url": "https://files.pythonhosted.org/packages/84/77/63cf63d4ba11d913b5278406f2a37b0712bec6fc85edfb6151a33eaeba25/elasticsearch2-2.5.0.tar.gz" } ], "2.5.1": [ { "comment_text": "", "digests": { "md5": "0b7dfa2105a0d4672c64e6b4995cc305", "sha256": "457909966bc00c37ad5639950bc4d8f4606a60baa530a8ec6d9848ba3e60ab87" }, "downloads": -1, "filename": "elasticsearch2-2.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0b7dfa2105a0d4672c64e6b4995cc305", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 57035, "upload_time": "2019-05-28T19:20:19", "url": "https://files.pythonhosted.org/packages/e3/23/c660b799f15ee01a616807a2bd398126e4aedb806aaf7c2c8db191cf58d5/elasticsearch2-2.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c48332ebeaee8d6a76a7d9120fa8718a", "sha256": "f3bc508a37d04902610755777d3b20202121bdbce7b3717086e07a27affd62a6" }, "downloads": -1, "filename": "elasticsearch2-2.5.1.tar.gz", "has_sig": false, "md5_digest": "c48332ebeaee8d6a76a7d9120fa8718a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64698, "upload_time": "2019-05-28T19:20:17", "url": "https://files.pythonhosted.org/packages/f6/09/f9b24aa6b1120bea371cd57ef6f57c7694cf16660469456a8be6c2bdbe22/elasticsearch2-2.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0b7dfa2105a0d4672c64e6b4995cc305", "sha256": "457909966bc00c37ad5639950bc4d8f4606a60baa530a8ec6d9848ba3e60ab87" }, "downloads": -1, "filename": "elasticsearch2-2.5.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0b7dfa2105a0d4672c64e6b4995cc305", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 57035, "upload_time": "2019-05-28T19:20:19", "url": "https://files.pythonhosted.org/packages/e3/23/c660b799f15ee01a616807a2bd398126e4aedb806aaf7c2c8db191cf58d5/elasticsearch2-2.5.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c48332ebeaee8d6a76a7d9120fa8718a", "sha256": "f3bc508a37d04902610755777d3b20202121bdbce7b3717086e07a27affd62a6" }, "downloads": -1, "filename": "elasticsearch2-2.5.1.tar.gz", "has_sig": false, "md5_digest": "c48332ebeaee8d6a76a7d9120fa8718a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 64698, "upload_time": "2019-05-28T19:20:17", "url": "https://files.pythonhosted.org/packages/f6/09/f9b24aa6b1120bea371cd57ef6f57c7694cf16660469456a8be6c2bdbe22/elasticsearch2-2.5.1.tar.gz" } ] }