Useful commands for Elasticsearch
Project description
A command-line tool and API for various Elasticsearch operations.
Install
pip install elastic-companion
Commands
To see the list of commands, use the -h or --help flag.
Each command has a corresponding Python module that can be imported and used as an API rather than from the command-line.
Developing
Download Python 3, then:
$ pyvenv-3.X venv $ source venv/bin/activate $ pip3 install -r requirements.txt $ ./cli.py -h
On Ubuntu, there’s a bit of an issue with pip3 and the above might not work. Then:
$ pyvenv-3.X venv --without-pip $ source venv/bin/activate $ cd venv $ wget https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py $ python3 get-pip.py $ cd .. $ pip3 install -r requirements.txt $ ./cli.py -h
Testing
Use nose:
$ python setup.py nosetests
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 Distributions
elastic_companion-0.9.6-py3.4.egg
(27.7 kB
view hashes)
Close
Hashes for elastic_companion-0.9.6-py3.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 636a0d4880d06e020289db02d342e1726c98f26c59badaff201d4ab80b88e1d2 |
|
MD5 | a6f0019f03e10713db1c150ff3e80013 |
|
BLAKE2b-256 | e5f09dda65de2ea13331d95a0def07757bea6d7afc25c95546913ad7b32a260a |
Close
Hashes for elastic_companion-0.9.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b0f03e60b6485991f2a60eab5de48f8761c73c6bedc0a95cd6056859994b92 |
|
MD5 | d189672b36ccb38417e38513dcafae67 |
|
BLAKE2b-256 | 0f3ce612bf8d904c0058a439c5d547096c491d9f9c80ad75c09ef8796992de98 |