elasticsearch 7.17.8__tar.gz → 7.17.12__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. elasticsearch-7.17.12/PKG-INFO +164 -0
  2. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/async.rst +19 -5
  3. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/conf.py +9 -15
  4. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_version.py +1 -1
  5. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/serializer.py +0 -1
  6. elasticsearch-7.17.12/elasticsearch.egg-info/PKG-INFO +164 -0
  7. elasticsearch-7.17.8/PKG-INFO +0 -147
  8. elasticsearch-7.17.8/elasticsearch.egg-info/PKG-INFO +0 -147
  9. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/CHANGELOG.md +0 -0
  10. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/CONTRIBUTING.md +0 -0
  11. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/LICENSE +0 -0
  12. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/MANIFEST.in +0 -0
  13. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/NOTICE +0 -0
  14. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/README.rst +0 -0
  15. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/Makefile +0 -0
  16. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/api.rst +0 -0
  17. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/connection.rst +0 -0
  18. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/exceptions.rst +0 -0
  19. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/helpers.rst +0 -0
  20. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/index.rst +0 -0
  21. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/docs/sphinx/transports.rst +0 -0
  22. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/__init__.py +0 -0
  23. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/__init__.pyi +0 -0
  24. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/__init__.py +0 -0
  25. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/_extra_imports.py +0 -0
  26. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/__init__.py +0 -0
  27. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/__init__.pyi +0 -0
  28. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/async_search.py +0 -0
  29. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/async_search.pyi +0 -0
  30. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/autoscaling.py +0 -0
  31. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/autoscaling.pyi +0 -0
  32. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/cat.py +0 -0
  33. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/cat.pyi +0 -0
  34. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ccr.py +0 -0
  35. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ccr.pyi +0 -0
  36. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/cluster.py +0 -0
  37. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/cluster.pyi +0 -0
  38. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/dangling_indices.py +0 -0
  39. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/dangling_indices.pyi +0 -0
  40. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/data_frame.py +0 -0
  41. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/data_frame.pyi +0 -0
  42. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/deprecation.py +0 -0
  43. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/deprecation.pyi +0 -0
  44. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/enrich.py +0 -0
  45. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/enrich.pyi +0 -0
  46. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/eql.py +0 -0
  47. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/eql.pyi +0 -0
  48. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/features.py +0 -0
  49. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/features.pyi +0 -0
  50. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/fleet.py +0 -0
  51. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/fleet.pyi +0 -0
  52. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/graph.py +0 -0
  53. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/graph.pyi +0 -0
  54. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ilm.py +0 -0
  55. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ilm.pyi +0 -0
  56. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/indices.py +0 -0
  57. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/indices.pyi +0 -0
  58. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ingest.py +0 -0
  59. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ingest.pyi +0 -0
  60. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/license.py +0 -0
  61. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/license.pyi +0 -0
  62. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/logstash.py +0 -0
  63. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/logstash.pyi +0 -0
  64. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/migration.py +0 -0
  65. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/migration.pyi +0 -0
  66. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ml.py +0 -0
  67. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ml.pyi +0 -0
  68. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/monitoring.py +0 -0
  69. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/monitoring.pyi +0 -0
  70. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/nodes.py +0 -0
  71. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/nodes.pyi +0 -0
  72. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/remote.py +0 -0
  73. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/remote.pyi +0 -0
  74. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/rollup.py +0 -0
  75. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/rollup.pyi +0 -0
  76. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/searchable_snapshots.py +0 -0
  77. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/searchable_snapshots.pyi +0 -0
  78. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/security.py +0 -0
  79. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/security.pyi +0 -0
  80. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/shutdown.py +0 -0
  81. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/shutdown.pyi +0 -0
  82. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/slm.py +0 -0
  83. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/slm.pyi +0 -0
  84. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/snapshot.py +0 -0
  85. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/snapshot.pyi +0 -0
  86. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/sql.py +0 -0
  87. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/sql.pyi +0 -0
  88. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ssl.py +0 -0
  89. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/ssl.pyi +0 -0
  90. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/tasks.py +0 -0
  91. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/tasks.pyi +0 -0
  92. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/text_structure.py +0 -0
  93. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/text_structure.pyi +0 -0
  94. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/transform.py +0 -0
  95. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/transform.pyi +0 -0
  96. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/utils.py +0 -0
  97. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/utils.pyi +0 -0
  98. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/watcher.py +0 -0
  99. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/watcher.pyi +0 -0
  100. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/xpack.py +0 -0
  101. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/client/xpack.pyi +0 -0
  102. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/compat.py +0 -0
  103. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/compat.pyi +0 -0
  104. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/helpers.py +0 -0
  105. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/helpers.pyi +0 -0
  106. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/http_aiohttp.py +0 -0
  107. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/http_aiohttp.pyi +0 -0
  108. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/transport.py +0 -0
  109. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/_async/transport.pyi +0 -0
  110. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/__init__.py +0 -0
  111. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/__init__.pyi +0 -0
  112. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/async_search.py +0 -0
  113. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/async_search.pyi +0 -0
  114. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/autoscaling.py +0 -0
  115. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/autoscaling.pyi +0 -0
  116. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/cat.py +0 -0
  117. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/cat.pyi +0 -0
  118. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ccr.py +0 -0
  119. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ccr.pyi +0 -0
  120. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/cluster.py +0 -0
  121. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/cluster.pyi +0 -0
  122. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/dangling_indices.py +0 -0
  123. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/dangling_indices.pyi +0 -0
  124. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/data_frame.py +0 -0
  125. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/data_frame.pyi +0 -0
  126. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/deprecation.py +0 -0
  127. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/deprecation.pyi +0 -0
  128. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/enrich.py +0 -0
  129. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/enrich.pyi +0 -0
  130. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/eql.py +0 -0
  131. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/eql.pyi +0 -0
  132. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/features.py +0 -0
  133. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/features.pyi +0 -0
  134. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/fleet.py +0 -0
  135. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/fleet.pyi +0 -0
  136. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/graph.py +0 -0
  137. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/graph.pyi +0 -0
  138. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ilm.py +0 -0
  139. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ilm.pyi +0 -0
  140. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/indices.py +0 -0
  141. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/indices.pyi +0 -0
  142. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ingest.py +0 -0
  143. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ingest.pyi +0 -0
  144. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/license.py +0 -0
  145. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/license.pyi +0 -0
  146. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/logstash.py +0 -0
  147. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/logstash.pyi +0 -0
  148. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/migration.py +0 -0
  149. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/migration.pyi +0 -0
  150. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ml.py +0 -0
  151. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ml.pyi +0 -0
  152. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/monitoring.py +0 -0
  153. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/monitoring.pyi +0 -0
  154. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/nodes.py +0 -0
  155. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/nodes.pyi +0 -0
  156. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/remote.py +0 -0
  157. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/remote.pyi +0 -0
  158. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/rollup.py +0 -0
  159. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/rollup.pyi +0 -0
  160. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/searchable_snapshots.py +0 -0
  161. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/searchable_snapshots.pyi +0 -0
  162. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/security.py +0 -0
  163. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/security.pyi +0 -0
  164. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/shutdown.py +0 -0
  165. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/shutdown.pyi +0 -0
  166. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/slm.py +0 -0
  167. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/slm.pyi +0 -0
  168. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/snapshot.py +0 -0
  169. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/snapshot.pyi +0 -0
  170. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/sql.py +0 -0
  171. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/sql.pyi +0 -0
  172. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ssl.py +0 -0
  173. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/ssl.pyi +0 -0
  174. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/tasks.py +0 -0
  175. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/tasks.pyi +0 -0
  176. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/text_structure.py +0 -0
  177. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/text_structure.pyi +0 -0
  178. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/transform.py +0 -0
  179. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/transform.pyi +0 -0
  180. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/utils.py +0 -0
  181. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/utils.pyi +0 -0
  182. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/watcher.py +0 -0
  183. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/watcher.pyi +0 -0
  184. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/xpack.py +0 -0
  185. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/client/xpack.pyi +0 -0
  186. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/compat.py +0 -0
  187. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/compat.pyi +0 -0
  188. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/__init__.py +0 -0
  189. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/__init__.pyi +0 -0
  190. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/base.py +0 -0
  191. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/base.pyi +0 -0
  192. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/http_requests.py +0 -0
  193. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/http_requests.pyi +0 -0
  194. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/http_urllib3.py +0 -0
  195. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/http_urllib3.pyi +0 -0
  196. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/pooling.py +0 -0
  197. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection/pooling.pyi +0 -0
  198. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection_pool.py +0 -0
  199. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/connection_pool.pyi +0 -0
  200. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/exceptions.py +0 -0
  201. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/exceptions.pyi +0 -0
  202. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/__init__.py +0 -0
  203. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/__init__.pyi +0 -0
  204. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/actions.py +0 -0
  205. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/actions.pyi +0 -0
  206. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/errors.py +0 -0
  207. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/errors.pyi +0 -0
  208. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/test.py +0 -0
  209. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/helpers/test.pyi +0 -0
  210. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/py.typed +0 -0
  211. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/serializer.pyi +0 -0
  212. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/transport.py +0 -0
  213. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/transport.pyi +0 -0
  214. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/utils.py +0 -0
  215. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch/utils.pyi +0 -0
  216. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch.egg-info/SOURCES.txt +0 -0
  217. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch.egg-info/dependency_links.txt +0 -0
  218. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch.egg-info/not-zip-safe +0 -0
  219. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch.egg-info/requires.txt +0 -0
  220. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/elasticsearch.egg-info/top_level.txt +0 -0
  221. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/setup.cfg +0 -0
  222. {elasticsearch-7.17.8 → elasticsearch-7.17.12}/setup.py +0 -0
@@ -0,0 +1,164 @@
1
+ Metadata-Version: 2.1
2
+ Name: elasticsearch
3
+ Version: 7.17.12
4
+ Summary: Python client for Elasticsearch
5
+ Home-page: https://github.com/elastic/elasticsearch-py
6
+ Author: Honza Král, Nick Lang
7
+ Author-email: honza.kral@gmail.com, nick@nicklang.com
8
+ Maintainer: Seth Michael Larson
9
+ Maintainer-email: seth.larson@elastic.co
10
+ License: Apache-2.0
11
+ Project-URL: Documentation, https://elasticsearch-py.readthedocs.io
12
+ Project-URL: Source Code, https://github.com/elastic/elasticsearch-py
13
+ Project-URL: Issue Tracker, https://github.com/elastic/elasticsearch-py/issues
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 2
20
+ Classifier: Programming Language :: Python :: 2.7
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.4
23
+ Classifier: Programming Language :: Python :: 3.5
24
+ Classifier: Programming Language :: Python :: 3.6
25
+ Classifier: Programming Language :: Python :: 3.7
26
+ Classifier: Programming Language :: Python :: 3.8
27
+ Classifier: Programming Language :: Python :: 3.9
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
30
+ Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
31
+ Description-Content-Type: text/x-rst
32
+ License-File: LICENSE
33
+ License-File: NOTICE
34
+ Requires-Dist: urllib3<2,>=1.21.1
35
+ Requires-Dist: certifi
36
+ Provides-Extra: develop
37
+ Requires-Dist: requests<3.0.0,>=2.0.0; extra == "develop"
38
+ Requires-Dist: coverage; extra == "develop"
39
+ Requires-Dist: mock; extra == "develop"
40
+ Requires-Dist: pyyaml; extra == "develop"
41
+ Requires-Dist: pytest; extra == "develop"
42
+ Requires-Dist: pytest-cov; extra == "develop"
43
+ Requires-Dist: sphinx<1.7; extra == "develop"
44
+ Requires-Dist: sphinx_rtd_theme; extra == "develop"
45
+ Requires-Dist: black; extra == "develop"
46
+ Requires-Dist: jinja2; extra == "develop"
47
+ Provides-Extra: docs
48
+ Requires-Dist: sphinx<1.7; extra == "docs"
49
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
50
+ Provides-Extra: requests
51
+ Requires-Dist: requests<3.0.0,>=2.4.0; extra == "requests"
52
+ Provides-Extra: async
53
+ Requires-Dist: aiohttp<4,>=3; extra == "async"
54
+
55
+
56
+
57
+ Elasticsearch Python Client
58
+ ===========================
59
+
60
+ .. image:: https://img.shields.io/pypi/v/elasticsearch
61
+ :target: https://pypi.org/project/elasticsearch
62
+
63
+ .. image:: https://img.shields.io/conda/vn/conda-forge/elasticsearch?color=blue
64
+ :target: https://anaconda.org/conda-forge/elasticsearch
65
+
66
+ .. image:: https://pepy.tech/badge/elasticsearch
67
+ :target: https://pepy.tech/project/elasticsearch?versions=*
68
+
69
+ .. image:: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master/badge/icon
70
+ :target: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master
71
+
72
+ .. image:: https://readthedocs.org/projects/elasticsearch-py/badge/?version=latest&style=flat
73
+ :target: https://elasticsearch-py.readthedocs.io
74
+
75
+ *The official Python client for Elasticsearch.*
76
+
77
+
78
+ Features
79
+ --------
80
+
81
+ * Translating basic Python data types to and from JSON
82
+ * Configurable automatic discovery of cluster nodes
83
+ * Persistent connections
84
+ * Load balancing (with pluggable selection strategy) across available nodes
85
+ * Failed connection penalization (time based - failed connections won't be
86
+ retried until a timeout is reached)
87
+ * Support for TLS and HTTP authentication
88
+ * Thread safety across requests
89
+ * Pluggable architecture
90
+ * Helper functions for idiomatically using APIs together
91
+
92
+
93
+ Installation
94
+ ------------
95
+
96
+ Install the ``elasticsearch`` package with `pip
97
+ <https://pypi.org/project/elasticsearch>`_::
98
+
99
+ $ python -m pip install elasticsearch
100
+
101
+ If your application uses async/await in Python you can install with
102
+ the ``async`` extra::
103
+
104
+ $ python -m pip install elasticsearch[async]
105
+
106
+ Read more about `how to use asyncio with this project <https://elasticsearch-py.readthedocs.io/en/master/async.html>`_.
107
+
108
+
109
+ Compatibility
110
+ -------------
111
+
112
+ Language clients are forward compatible; meaning that clients support communicating
113
+ with greater or equal minor versions of Elasticsearch. Elasticsearch language clients
114
+ are only backwards compatible with default distributions and without guarantees made.
115
+
116
+ If you have a need to have multiple versions installed at the same time older
117
+ versions are also released as ``elasticsearch2`` and ``elasticsearch5``.
118
+
119
+
120
+ Documentation
121
+ -------------
122
+
123
+ Documentation for the client is `available on elastic.co`_ and `Read the Docs`_.
124
+
125
+ .. _available on elastic.co: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html
126
+ .. _Read the Docs: https://elasticsearch-py.readthedocs.io
127
+
128
+ Quick Start
129
+ -----------
130
+
131
+ .. code-block:: python
132
+
133
+ # Import the client from the 'elasticsearch' module
134
+ >>> from elasticsearch import Elasticsearch
135
+
136
+ # Instantiate a client instance
137
+ >>> client = Elasticsearch("http://localhost:9200")
138
+
139
+ # Call an API, in this example `info()`
140
+ >>> resp = client.info()
141
+
142
+ # View the result
143
+ >>> resp
144
+ {
145
+ "name" : "instance-name",
146
+ "cluster_name" : "cluster-name",
147
+ "cluster_uuid" : "cluster-uuid",
148
+ "version" : {
149
+ "number" : "7.14.0",
150
+ ...
151
+ },
152
+ "tagline" : "You know, for Search"
153
+ }
154
+
155
+
156
+ You can read more about `configuring the client`_ in the documentation.
157
+
158
+ .. _configuring the client: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/connecting.html
159
+
160
+
161
+ License
162
+ -------
163
+
164
+ Copyright 2021 Elasticsearch B.V. Licensed under the Apache License, Version 2.0.
@@ -94,17 +94,31 @@ For example if using FastAPI that might look like this:
94
94
 
95
95
  .. code-block:: python
96
96
 
97
+ import os
98
+ from contextlib import asynccontextmanager
99
+
97
100
  from fastapi import FastAPI
98
101
  from elasticsearch import AsyncElasticsearch
99
102
 
100
- app = FastAPI()
101
- es = AsyncElasticsearch()
103
+ ELASTICSEARCH_URL = os.environ["ELASTICSEARCH_URL"]
104
+ es = None
102
105
 
103
- # This gets called once the app is shutting down.
104
- @app.on_event("shutdown")
105
- async def app_shutdown():
106
+ @asynccontextmanager
107
+ async def lifespan(app: FastAPI):
108
+ global es
109
+ es = AsyncElasticsearch(ELASTICSEARCH_URL)
110
+ yield
106
111
  await es.close()
107
112
 
113
+ app = FastAPI(lifespan=lifespan)
114
+
115
+ @app.get("/")
116
+ async def main():
117
+ return await es.info()
118
+
119
+ You can run this example by saving it to ``main.py`` and executing
120
+ ``ELASTICSEARCH_URL=http://localhost:9200 uvicorn main:app``.
121
+
108
122
 
109
123
  Async Helpers
110
124
  -------------
@@ -3,8 +3,8 @@
3
3
  # Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
4
4
  # See the LICENSE file in the project root for more information
5
5
 
6
- import os
7
6
  import datetime
7
+
8
8
  import elasticsearch
9
9
 
10
10
  # If extensions (or modules to document with autodoc) are in another directory,
@@ -36,8 +36,8 @@ source_suffix = ".rst"
36
36
  master_doc = "index"
37
37
 
38
38
  # General information about the project.
39
- project = u"Elasticsearch"
40
- copyright = u"%d, Elasticsearch B.V" % datetime.date.today().year
39
+ project = "Elasticsearch"
40
+ copyright = "%d, Elasticsearch B.V" % datetime.date.today().year
41
41
 
42
42
  # The version info for the project you're documenting, acts as replacement for
43
43
  # |version| and |release|, also used in various other places throughout the
@@ -91,13 +91,7 @@ pygments_style = "sphinx"
91
91
  # The theme to use for HTML and HTML Help pages. See the documentation for
92
92
  # a list of builtin themes.
93
93
 
94
- on_rtd = os.environ.get("READTHEDOCS", None) == "True"
95
-
96
- if not on_rtd: # only import and set the theme if we're building docs locally
97
- import sphinx_rtd_theme
98
-
99
- html_theme = "sphinx_rtd_theme"
100
- html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
94
+ html_theme = "sphinx_rtd_theme"
101
95
 
102
96
  # Theme options are theme-specific and customize the look and feel of a theme
103
97
  # further. For a list of options available for each theme, see the
@@ -194,8 +188,8 @@ latex_documents = [
194
188
  (
195
189
  "index",
196
190
  "Elasticsearch.tex",
197
- u"Elasticsearch Documentation",
198
- u"Honza Král",
191
+ "Elasticsearch Documentation",
192
+ "Honza Král",
199
193
  "manual",
200
194
  )
201
195
  ]
@@ -226,7 +220,7 @@ latex_documents = [
226
220
  # One entry per manual page. List of tuples
227
221
  # (source start file, name, description, authors, manual section).
228
222
  man_pages = [
229
- ("index", "elasticsearch-py", u"Elasticsearch Documentation", [u"Honza Král"], 1)
223
+ ("index", "elasticsearch-py", "Elasticsearch Documentation", ["Honza Král"], 1)
230
224
  ]
231
225
 
232
226
  # If true, show URL addresses after external links.
@@ -242,8 +236,8 @@ texinfo_documents = [
242
236
  (
243
237
  "index",
244
238
  "Elasticsearch",
245
- u"Elasticsearch Documentation",
246
- u"Honza Král",
239
+ "Elasticsearch Documentation",
240
+ "Honza Král",
247
241
  "Elasticsearch",
248
242
  "One line description of project.",
249
243
  "Miscellaneous",
@@ -15,4 +15,4 @@
15
15
  # specific language governing permissions and limitations
16
16
  # under the License.
17
17
 
18
- __versionstr__ = "7.17.8"
18
+ __versionstr__ = "7.17.12"
@@ -199,7 +199,6 @@ def _attempt_serialize_numpy(data):
199
199
  elif isinstance(
200
200
  data,
201
201
  (
202
- np.float_,
203
202
  np.float16,
204
203
  np.float32,
205
204
  np.float64,
@@ -0,0 +1,164 @@
1
+ Metadata-Version: 2.1
2
+ Name: elasticsearch
3
+ Version: 7.17.12
4
+ Summary: Python client for Elasticsearch
5
+ Home-page: https://github.com/elastic/elasticsearch-py
6
+ Author: Honza Král, Nick Lang
7
+ Author-email: honza.kral@gmail.com, nick@nicklang.com
8
+ Maintainer: Seth Michael Larson
9
+ Maintainer-email: seth.larson@elastic.co
10
+ License: Apache-2.0
11
+ Project-URL: Documentation, https://elasticsearch-py.readthedocs.io
12
+ Project-URL: Source Code, https://github.com/elastic/elasticsearch-py
13
+ Project-URL: Issue Tracker, https://github.com/elastic/elasticsearch-py/issues
14
+ Classifier: Development Status :: 5 - Production/Stable
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python
19
+ Classifier: Programming Language :: Python :: 2
20
+ Classifier: Programming Language :: Python :: 2.7
21
+ Classifier: Programming Language :: Python :: 3
22
+ Classifier: Programming Language :: Python :: 3.4
23
+ Classifier: Programming Language :: Python :: 3.5
24
+ Classifier: Programming Language :: Python :: 3.6
25
+ Classifier: Programming Language :: Python :: 3.7
26
+ Classifier: Programming Language :: Python :: 3.8
27
+ Classifier: Programming Language :: Python :: 3.9
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
30
+ Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
31
+ Description-Content-Type: text/x-rst
32
+ License-File: LICENSE
33
+ License-File: NOTICE
34
+ Requires-Dist: urllib3<2,>=1.21.1
35
+ Requires-Dist: certifi
36
+ Provides-Extra: develop
37
+ Requires-Dist: requests<3.0.0,>=2.0.0; extra == "develop"
38
+ Requires-Dist: coverage; extra == "develop"
39
+ Requires-Dist: mock; extra == "develop"
40
+ Requires-Dist: pyyaml; extra == "develop"
41
+ Requires-Dist: pytest; extra == "develop"
42
+ Requires-Dist: pytest-cov; extra == "develop"
43
+ Requires-Dist: sphinx<1.7; extra == "develop"
44
+ Requires-Dist: sphinx_rtd_theme; extra == "develop"
45
+ Requires-Dist: black; extra == "develop"
46
+ Requires-Dist: jinja2; extra == "develop"
47
+ Provides-Extra: docs
48
+ Requires-Dist: sphinx<1.7; extra == "docs"
49
+ Requires-Dist: sphinx_rtd_theme; extra == "docs"
50
+ Provides-Extra: requests
51
+ Requires-Dist: requests<3.0.0,>=2.4.0; extra == "requests"
52
+ Provides-Extra: async
53
+ Requires-Dist: aiohttp<4,>=3; extra == "async"
54
+
55
+
56
+
57
+ Elasticsearch Python Client
58
+ ===========================
59
+
60
+ .. image:: https://img.shields.io/pypi/v/elasticsearch
61
+ :target: https://pypi.org/project/elasticsearch
62
+
63
+ .. image:: https://img.shields.io/conda/vn/conda-forge/elasticsearch?color=blue
64
+ :target: https://anaconda.org/conda-forge/elasticsearch
65
+
66
+ .. image:: https://pepy.tech/badge/elasticsearch
67
+ :target: https://pepy.tech/project/elasticsearch?versions=*
68
+
69
+ .. image:: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master/badge/icon
70
+ :target: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master
71
+
72
+ .. image:: https://readthedocs.org/projects/elasticsearch-py/badge/?version=latest&style=flat
73
+ :target: https://elasticsearch-py.readthedocs.io
74
+
75
+ *The official Python client for Elasticsearch.*
76
+
77
+
78
+ Features
79
+ --------
80
+
81
+ * Translating basic Python data types to and from JSON
82
+ * Configurable automatic discovery of cluster nodes
83
+ * Persistent connections
84
+ * Load balancing (with pluggable selection strategy) across available nodes
85
+ * Failed connection penalization (time based - failed connections won't be
86
+ retried until a timeout is reached)
87
+ * Support for TLS and HTTP authentication
88
+ * Thread safety across requests
89
+ * Pluggable architecture
90
+ * Helper functions for idiomatically using APIs together
91
+
92
+
93
+ Installation
94
+ ------------
95
+
96
+ Install the ``elasticsearch`` package with `pip
97
+ <https://pypi.org/project/elasticsearch>`_::
98
+
99
+ $ python -m pip install elasticsearch
100
+
101
+ If your application uses async/await in Python you can install with
102
+ the ``async`` extra::
103
+
104
+ $ python -m pip install elasticsearch[async]
105
+
106
+ Read more about `how to use asyncio with this project <https://elasticsearch-py.readthedocs.io/en/master/async.html>`_.
107
+
108
+
109
+ Compatibility
110
+ -------------
111
+
112
+ Language clients are forward compatible; meaning that clients support communicating
113
+ with greater or equal minor versions of Elasticsearch. Elasticsearch language clients
114
+ are only backwards compatible with default distributions and without guarantees made.
115
+
116
+ If you have a need to have multiple versions installed at the same time older
117
+ versions are also released as ``elasticsearch2`` and ``elasticsearch5``.
118
+
119
+
120
+ Documentation
121
+ -------------
122
+
123
+ Documentation for the client is `available on elastic.co`_ and `Read the Docs`_.
124
+
125
+ .. _available on elastic.co: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html
126
+ .. _Read the Docs: https://elasticsearch-py.readthedocs.io
127
+
128
+ Quick Start
129
+ -----------
130
+
131
+ .. code-block:: python
132
+
133
+ # Import the client from the 'elasticsearch' module
134
+ >>> from elasticsearch import Elasticsearch
135
+
136
+ # Instantiate a client instance
137
+ >>> client = Elasticsearch("http://localhost:9200")
138
+
139
+ # Call an API, in this example `info()`
140
+ >>> resp = client.info()
141
+
142
+ # View the result
143
+ >>> resp
144
+ {
145
+ "name" : "instance-name",
146
+ "cluster_name" : "cluster-name",
147
+ "cluster_uuid" : "cluster-uuid",
148
+ "version" : {
149
+ "number" : "7.14.0",
150
+ ...
151
+ },
152
+ "tagline" : "You know, for Search"
153
+ }
154
+
155
+
156
+ You can read more about `configuring the client`_ in the documentation.
157
+
158
+ .. _configuring the client: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/connecting.html
159
+
160
+
161
+ License
162
+ -------
163
+
164
+ Copyright 2021 Elasticsearch B.V. Licensed under the Apache License, Version 2.0.
@@ -1,147 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: elasticsearch
3
- Version: 7.17.8
4
- Summary: Python client for Elasticsearch
5
- Home-page: https://github.com/elastic/elasticsearch-py
6
- Author: Honza Král, Nick Lang
7
- Author-email: honza.kral@gmail.com, nick@nicklang.com
8
- Maintainer: Seth Michael Larson
9
- Maintainer-email: seth.larson@elastic.co
10
- License: Apache-2.0
11
- Project-URL: Documentation, https://elasticsearch-py.readthedocs.io
12
- Project-URL: Source Code, https://github.com/elastic/elasticsearch-py
13
- Project-URL: Issue Tracker, https://github.com/elastic/elasticsearch-py/issues
14
- Description:
15
-
16
- Elasticsearch Python Client
17
- ===========================
18
-
19
- .. image:: https://img.shields.io/pypi/v/elasticsearch
20
- :target: https://pypi.org/project/elasticsearch
21
-
22
- .. image:: https://img.shields.io/conda/vn/conda-forge/elasticsearch?color=blue
23
- :target: https://anaconda.org/conda-forge/elasticsearch
24
-
25
- .. image:: https://pepy.tech/badge/elasticsearch
26
- :target: https://pepy.tech/project/elasticsearch?versions=*
27
-
28
- .. image:: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master/badge/icon
29
- :target: https://clients-ci.elastic.co/job/elastic+elasticsearch-py+master
30
-
31
- .. image:: https://readthedocs.org/projects/elasticsearch-py/badge/?version=latest&style=flat
32
- :target: https://elasticsearch-py.readthedocs.io
33
-
34
- *The official Python client for Elasticsearch.*
35
-
36
-
37
- Features
38
- --------
39
-
40
- * Translating basic Python data types to and from JSON
41
- * Configurable automatic discovery of cluster nodes
42
- * Persistent connections
43
- * Load balancing (with pluggable selection strategy) across available nodes
44
- * Failed connection penalization (time based - failed connections won't be
45
- retried until a timeout is reached)
46
- * Support for TLS and HTTP authentication
47
- * Thread safety across requests
48
- * Pluggable architecture
49
- * Helper functions for idiomatically using APIs together
50
-
51
-
52
- Installation
53
- ------------
54
-
55
- Install the ``elasticsearch`` package with `pip
56
- <https://pypi.org/project/elasticsearch>`_::
57
-
58
- $ python -m pip install elasticsearch
59
-
60
- If your application uses async/await in Python you can install with
61
- the ``async`` extra::
62
-
63
- $ python -m pip install elasticsearch[async]
64
-
65
- Read more about `how to use asyncio with this project <https://elasticsearch-py.readthedocs.io/en/master/async.html>`_.
66
-
67
-
68
- Compatibility
69
- -------------
70
-
71
- Language clients are forward compatible; meaning that clients support communicating
72
- with greater or equal minor versions of Elasticsearch. Elasticsearch language clients
73
- are only backwards compatible with default distributions and without guarantees made.
74
-
75
- If you have a need to have multiple versions installed at the same time older
76
- versions are also released as ``elasticsearch2`` and ``elasticsearch5``.
77
-
78
-
79
- Documentation
80
- -------------
81
-
82
- Documentation for the client is `available on elastic.co`_ and `Read the Docs`_.
83
-
84
- .. _available on elastic.co: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/index.html
85
- .. _Read the Docs: https://elasticsearch-py.readthedocs.io
86
-
87
- Quick Start
88
- -----------
89
-
90
- .. code-block:: python
91
-
92
- # Import the client from the 'elasticsearch' module
93
- >>> from elasticsearch import Elasticsearch
94
-
95
- # Instantiate a client instance
96
- >>> client = Elasticsearch("http://localhost:9200")
97
-
98
- # Call an API, in this example `info()`
99
- >>> resp = client.info()
100
-
101
- # View the result
102
- >>> resp
103
- {
104
- "name" : "instance-name",
105
- "cluster_name" : "cluster-name",
106
- "cluster_uuid" : "cluster-uuid",
107
- "version" : {
108
- "number" : "7.14.0",
109
- ...
110
- },
111
- "tagline" : "You know, for Search"
112
- }
113
-
114
-
115
- You can read more about `configuring the client`_ in the documentation.
116
-
117
- .. _configuring the client: https://www.elastic.co/guide/en/elasticsearch/client/python-api/current/connecting.html
118
-
119
-
120
- License
121
- -------
122
-
123
- Copyright 2021 Elasticsearch B.V. Licensed under the Apache License, Version 2.0.
124
-
125
- Platform: UNKNOWN
126
- Classifier: Development Status :: 5 - Production/Stable
127
- Classifier: License :: OSI Approved :: Apache Software License
128
- Classifier: Intended Audience :: Developers
129
- Classifier: Operating System :: OS Independent
130
- Classifier: Programming Language :: Python
131
- Classifier: Programming Language :: Python :: 2
132
- Classifier: Programming Language :: Python :: 2.7
133
- Classifier: Programming Language :: Python :: 3
134
- Classifier: Programming Language :: Python :: 3.4
135
- Classifier: Programming Language :: Python :: 3.5
136
- Classifier: Programming Language :: Python :: 3.6
137
- Classifier: Programming Language :: Python :: 3.7
138
- Classifier: Programming Language :: Python :: 3.8
139
- Classifier: Programming Language :: Python :: 3.9
140
- Classifier: Programming Language :: Python :: Implementation :: CPython
141
- Classifier: Programming Language :: Python :: Implementation :: PyPy
142
- Requires-Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
143
- Description-Content-Type: text/x-rst
144
- Provides-Extra: develop
145
- Provides-Extra: docs
146
- Provides-Extra: requests
147
- Provides-Extra: async