{ "info": { "author": "Honza Kr\u00e1l, Nick Lang", "author_email": "honza.kral@gmail.com, nick@nicklang.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 :: 3.5", "Programming Language :: Python :: 3.6", "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 6.0** and later, use the major version 6 (``6.x.y``) of the\nlibrary.\n\nFor **Elasticsearch 5.0** and later, use the major version 5 (``5.x.y``) of the\nlibrary.\n\nFor **Elasticsearch 2.0** and later, use the major version 2 (``2.x.y``) of the\nlibrary, and so on.\n\nThe recommended way to set your requirements in your `setup.py` or\n`requirements.txt` is::\n\n # Elasticsearch 6.x\n elasticsearch6>=6.0.0,<7.0.0\n\n # Elasticsearch 5.x\n elasticsearch5>=5.0.0,<6.0.0\n\n # Elasticsearch 2.x\n elasticsearch2>=2.0.0,<3.0.0\n\nIf you have a need to have multiple versions installed at the same time older\nversions are also released as ``elasticsearch2`` and ``elasticsearch5``.\n\nInstallation\n------------\n\nInstall the ``elasticsearch6`` package with `pip\n`_::\n\n pip install elasticsearch6\n\n\nExample use\n-----------\n\nSimple use-case::\n\n >>> from datetime import datetime\n >>> from elasticsearch6 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\nElastic Cloud (and SSL) use-case::\n\n >>> from elasticsearch import Elasticsearch\n >>> es = Elasticsearch(\"https://elasticsearch.url:port\", http_auth=('elastic','yourpassword'))\n >>> es.info()\n\nUsing SSL Context with a self-signed cert use-case::\n\n >>> from elasticsearch import Elasticsearch\n >>> from ssl import create_default_context\n\n >>> context = create_default_context(cafile=\"path/to/cafile.pem\")\n >>> es = Elasticsearch(\"https://elasticsearch.url:port\", ssl_context=context, http_auth=('elastic','yourpassword'))\n >>> es.info()\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 2017 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.. image:: https://readthedocs.org/projects/elasticsearch-py/badge/?version=latest&style=flat\n :target: https://elasticsearch-py.readthedocs.io/en/master/\n\n.. image:: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master/badge/icon\n :target: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master/", "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": "elasticsearch6", "package_url": "https://pypi.org/project/elasticsearch6/", "platform": "", "project_url": "https://pypi.org/project/elasticsearch6/", "project_urls": { "Homepage": "https://github.com/elastic/elasticsearch-py" }, "release_url": "https://pypi.org/project/elasticsearch6/6.4.2/", "requires_dist": null, "requires_python": "", "summary": "Python client for Elasticsearch 6.x", "version": "6.4.2" }, "last_serial": 5328143, "releases": { "6.4.1": [ { "comment_text": "", "digests": { "md5": "5e75fa014a58b34606d8b1f7bff6b587", "sha256": "8a4961cddda534d67e5ce4d6a34ab08406f803bdfa19166c70700dbbcf1ad09f" }, "downloads": -1, "filename": "elasticsearch6-6.4.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "5e75fa014a58b34606d8b1f7bff6b587", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 74463, "upload_time": "2019-05-09T22:34:36", "url": "https://files.pythonhosted.org/packages/18/36/737501eaea724926ed65efc33feb7bd45c142a3a97407e90c2ade507405e/elasticsearch6-6.4.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b0993e6455fd0e4c7921934e3780fe3d", "sha256": "2ef8dcb3e1b2ed852568fe3e9a26d476f3300dfd82d84494d73aa96efa8543af" }, "downloads": -1, "filename": "elasticsearch6-6.4.1.tar.gz", "has_sig": false, "md5_digest": "b0993e6455fd0e4c7921934e3780fe3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 78779, "upload_time": "2019-05-09T22:34:27", "url": "https://files.pythonhosted.org/packages/7b/13/01b8f22002fd79168f7bfb59283d324093849d211cf92440927536baf215/elasticsearch6-6.4.1.tar.gz" } ], "6.4.2": [ { "comment_text": "", "digests": { "md5": "b55e9d3a226a9deb9febae416b7253c5", "sha256": "40c777d193a021a77bd06e8b0c3284d7a9c3d15ac080a9fa616ddfa58058a73d" }, "downloads": -1, "filename": "elasticsearch6-6.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b55e9d3a226a9deb9febae416b7253c5", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 74754, "upload_time": "2019-05-28T17:54:02", "url": "https://files.pythonhosted.org/packages/22/1f/65e77c033452813738f9fb89029dc7bc1262fc22533c44219e24de4c4be9/elasticsearch6-6.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1850c05cae81842366d46a781f389f38", "sha256": "91e304f227cd3cfc17ad3b5ec0518cfcc31af9157fae92aa6f97d20941adc209" }, "downloads": -1, "filename": "elasticsearch6-6.4.2.tar.gz", "has_sig": false, "md5_digest": "1850c05cae81842366d46a781f389f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79050, "upload_time": "2019-05-28T17:54:00", "url": "https://files.pythonhosted.org/packages/6f/42/a0c34db2a6493d29caa87f67e111ccc90a7fc025847f31767654d03b48ac/elasticsearch6-6.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b55e9d3a226a9deb9febae416b7253c5", "sha256": "40c777d193a021a77bd06e8b0c3284d7a9c3d15ac080a9fa616ddfa58058a73d" }, "downloads": -1, "filename": "elasticsearch6-6.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b55e9d3a226a9deb9febae416b7253c5", "packagetype": "bdist_wheel", "python_version": "3.7", "requires_python": null, "size": 74754, "upload_time": "2019-05-28T17:54:02", "url": "https://files.pythonhosted.org/packages/22/1f/65e77c033452813738f9fb89029dc7bc1262fc22533c44219e24de4c4be9/elasticsearch6-6.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1850c05cae81842366d46a781f389f38", "sha256": "91e304f227cd3cfc17ad3b5ec0518cfcc31af9157fae92aa6f97d20941adc209" }, "downloads": -1, "filename": "elasticsearch6-6.4.2.tar.gz", "has_sig": false, "md5_digest": "1850c05cae81842366d46a781f389f38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 79050, "upload_time": "2019-05-28T17:54:00", "url": "https://files.pythonhosted.org/packages/6f/42/a0c34db2a6493d29caa87f67e111ccc90a7fc025847f31767654d03b48ac/elasticsearch6-6.4.2.tar.gz" } ] }