elastic-sdk-0.0.2
توضیحات
Python SDK for Elasticsearch
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | elastic-sdk-0.0.2 |
| نام | elastic-sdk |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | mongkok |
| ایمیل نویسنده | dani.pyc@gmail.com |
| آدرس صفحه اصلی | https://github.com/mongkok/elastic-sdk/ |
| آدرس اینترنتی | https://pypi.org/project/elastic-sdk/ |
| مجوز | MIT |
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
نحوه نصب
نصب پکیج whl elastic-sdk-0.0.2:
pip install elastic-sdk-0.0.2.whl
نصب پکیج tar.gz elastic-sdk-0.0.2:
pip install elastic-sdk-0.0.2.tar.gz