Python client for Elasticsearch X-Pack
Project description
This is an addon to the official elasticsearch python client that adds functionality for the X-Pack extensions
Installation
You can install this addon using pip:
pip install elasticsearch-xpack
Usage
You can use this client alone:
from elasticsearch import Elasticsearch
from elasticsearch_xpack import XPackClient
client = Elasticsearch()
xpack = XPackClient(client)
xpack.info()
Or you can add the xpack namespace to the official client to mimic the behaviors of other namespaces:
XPackClient.infect_client(client)
client.xpack.info()
License
Copyright 2015 Elasticsearch
Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for elasticsearch-xpack-6.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6b083482620ef49aac59b1362fa85e945bc4ee16fc2f424124d82642898995d |
|
MD5 | 49f288d19179b189de4d31758a30c1a0 |
|
BLAKE2b-256 | 45d9ab613b82552152586d524c0db0e4d98b24ce291c8a1cdecb6e51a2379fc4 |
Hashes for elasticsearch_xpack-6.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2df897e5084d6e67fff325abf52255aed20b4b5ebd5e6f07070d89f81bd38eec |
|
MD5 | 088a0751f9efb6b62ef9185311a5c9e7 |
|
BLAKE2b-256 | f5fd1b7050ffd34753e52d6329f7738abc4c69a8326d03f28d3f234be73fcfa1 |