Skip to main content

esok

A CLI for Elasticsearch.

esok

esok makes it easier to work with deployments of Elasticsearch across regions/sites, by allowing you to forward the same command to multiple clusters. It's also just more human-friendly than finding old HTTP-requests in your shell history.

Note: This tool is still in pre-release stage. Expect breaking changes and bugs until version 1.0.0.

Install

pipx is the recommended tool for installing esok. This will make sure you won't have any issues with conflicting dependencies.

pipx install esok
esok config  # View your config file
esok --help  # Print help

Note: on Linux/Ubuntu systems, you might have to add ~/.local/bin to your path if your shell cannot find the esok command. See the installation instructions for pipx.

Good old pip also works:

pip3 install -u esok

Or, in a virtualenv:

python3 -m venv .venv
source .venv/bin/activate
pip3 install esok

Development

Setup

Requirements (usually found in your package manager):

  • Python 3.6
  • tox

Tox helps you set up the virtualenv you need for development. Run the following commands in your cloned repo:

tox -e dev
source .venv/bin/activate 
pip install --editable .

Now you should have the esok command available in your CLI. You can edit code without having to reinstall with pip.

IntelliJ/PyCharm users: set the src folder as the "Sources root" to get imports working correctly. Mark generated folders as "Excluded" (such as .tox, .venv, etc.) to not confuse the IDE.

Metadata

Release files for esok 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for esok 0.1.0
File Size Uploaded Provenance Actions
esok-0.1.0.tar.gz 904.9 kB Without provenance Details for esok-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for esok 0.1.0
File Interpreter ABI Platform Actions
esok-0.1.0-py3-none-any.whl Python 3 none any Details for esok-0.1.0-py3-none-any.whl

Total release size: 928.2 kB

Release files / esok-0.1.0.tar.gz

Download URL esok-0.1.0.tar.gz
Size 904.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0aa42e16cc60368faeee1239be21cc8f93608d7e31590756cdea2a09d48620b7
BLAKE2b-256 checksum
How to use checksums
008c934576eae9c142a05dd8ec6f4ae576733a50ff9e9501680282a09bfe485a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.14

Release files / esok-0.1.0-py3-none-any.whl

Download URL esok-0.1.0-py3-none-any.whl
Size 23.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16b53176d94ea70c90054e56bd30ebc7c9e89250e5d85aab440ba7d086c78f9a
BLAKE2b-256 checksum
How to use checksums
60d9a5b9c861885f11091144d11e51015e73fa7c9800b819d676e0bdb50b4bd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.6.14

Security for esok 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page