Skip to main content

esis

https://img.shields.io/pypi/v/esis.svg Documentation Status Requirements Status Code Health https://img.shields.io/travis/jcollado/esis.svg https://coveralls.io/repos/jcollado/esis/badge.svg 'Stories in Ready' Join the chat at https://gitter.im/jcollado/esis

Elasticsearch Index & Search

Features

  • Index content for every SQLite database row in Elasticsearch

  • Search indexed content

Usage

  • Index every SQLite database row under a given directory (recursively)

esis index <directory>
  • Search for a given string in the indexed data

esis search <query>
  • Get information about the number of indexed documents

esis count
  • Delete all indexed documents

esis clean

Docker containers

Docker files are included in the source code to run esis and elasticsearch in their own containers. To build/pull the images needed to run esis and start the elasticsearch server, use the following commands:

docker-compose build
docker-compose start

After that, to launch esis in a container run:

docker-compose run esis <subcommand>

where <subcommand> is any of the subcommands in the previous section (index, search, count or clean).

Note:

  • If docker-compose run is executed too quickly, then a connection error might be returning meaning that elasticsearch is still initializing.

  • The entry point in the esis container uses the –host command line option to connect to the linked container where elasticsearch is running.

  • The user home directory is mounted in the esis container as /data. This must be taken into account when passing a directory to the index subcommand using a path in the container, not in the host machine.

History

0.1.0 (2015-03-23)

  • First release on PyPI.

0.2.0 (2015-05-14)

  • All documents indexed under the same index name.

  • Docker files allow using the tool in a container.

Metadata

Release files for esis 0.2.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 esis 0.2.0
File Size Uploaded
esis-0.2.0.tar.gz 29.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for esis 0.2.0
File Interpreter ABI Platform
esis-0.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 45.0 kB

Release files / esis-0.2.0.tar.gz

Download URL esis-0.2.0.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0dd5b943d3453a34449c51d03ee87c0d244a0054e941e62daa23ed81d89131cf
BLAKE2b-256 checksum
How to use checksums
433d62cd02fa825c920814b0955c8a116a54aca76160774424f327ba38848e2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / esis-0.2.0-py2.py3-none-any.whl

Download URL esis-0.2.0-py2.py3-none-any.whl
Size 15.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5be311e19de1f6f2a8f2a8c6838eb3b2f3b0ed2a075e6cf029369c5a3e659e3f
BLAKE2b-256 checksum
How to use checksums
fd337612a62357c4e6d832c2d25d39fa4be6596b3dd1526c1bd31e0ce268b8b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

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