https://github.com/mongkok/elastic-sdk
Python SDK for Elasticsearch
https://github.com/mongkok/elastic-sdk
elasticsearch python query sdk
Last synced: 3 months ago
JSON representation
Python SDK for Elasticsearch
- Host: GitHub
- URL: https://github.com/mongkok/elastic-sdk
- Owner: mongkok
- License: mit
- Created: 2017-08-27T07:58:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-23T08:53:20.000Z (over 7 years ago)
- Last Synced: 2025-02-17T07:44:32.198Z (3 months ago)
- Topics: elasticsearch, python, query, sdk
- Language: Python
- Homepage: https://pypi.python.org/pypi/elastic-sdk
- Size: 11.7 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
Elastic SDK
===========|Pypi| |Wheel| |Build Status| |Codecov| |Code Climate|
Python SDK for Elasticsearch
Installation
------------Install from Pypi.
.. code:: sh
pip install elastic-sdk
Quick start
-----------**Client**
.. code:: python
>>> import elastic_sdk
>>> client = elastic_sdk.Client(index_name='defocus', hostnames=['elastic:9200'])**Queries**
.. code:: python
>>> client.q(user__username='me')
Tests
-----.. code:: sh
make test
.. |Pypi| image:: https://img.shields.io/pypi/v/elastic-sdk.svg
:target: https://pypi.python.org/pypi/elastic-sdk.. |Wheel| image:: https://img.shields.io/pypi/wheel/elastic-sdk.svg
:target: https://pypi.python.org/pypi/elastic-sdk.. |Build Status| image:: https://travis-ci.org/mongkok/elastic-sdk.svg?branch=master
:target: https://travis-ci.org/mongkok/elastic-sdk.. |Codecov| image:: https://img.shields.io/codecov/c/github/mongkok/elastic-sdk.svg
:target: https://codecov.io/gh/mongkok/elastic-sdk.. |Code Climate| image:: https://codeclimate.com/github/mongkok/elastic-sdk/badges/gpa.svg
:target: https://codeclimate.com/github/mongkok/elastic-sdk