MongoDB and ElasticSearch tools
Project description
Kerana
MongoDB and ElasticSearch tools
Description
Installation
Dependencies
This package requires elasticsearch and MongoDB for ES you can see https://github.com/colav/colasticsearch
Package
pip install Kerana
Usage
Example for SIIU
kerana --es_index siiu_project --mdb_name siiu --mdb_col project
Example for Scienti
kerana --es_index scienti_udea_2022_product --mdb_name scienti_udea_2022 --mdb_col product --bulk_size 100
kerana --es_index scienti_udea_2022_project --mdb_name scienti_udea_2022 --mdb_col project --bulk_size 100
kerana --es_index scienti_udea_2022_patent --mdb_name scienti_udea_2022 --mdb_col patent --bulk_size 100
kerana --es_index scienti_udea_2022_network --mdb_name scienti_udea_2022 --mdb_col network --bulk_size 100
kerana --es_index scienti_udea_2022_event --mdb_name scienti_udea_2022 --mdb_col event --bulk_size 100
TODO
- selective fields from MongoDB to ES
- Search text in ES and resolve from ids in MongoDB
- parallel load to ES from mongo
- restore/backup ES indexes
- support for config input to execute flows
License
BSD-3-Clause License
Links
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
Kerana-0.0.1a0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file Kerana-0.0.1a0.tar.gz
.
File metadata
- Download URL: Kerana-0.0.1a0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e045e431e2762759c4c0ed85a503abca2651b95bd9d389d6dffe6c5d56e26742 |
|
MD5 | 85882a3d89e136d0484674cc0fe17a38 |
|
BLAKE2b-256 | 7643558ffdf488101998be5134e1286439e73cbbd41b45124b3785a60411c6f5 |
File details
Details for the file Kerana-0.0.1a0-py3-none-any.whl
.
File metadata
- Download URL: Kerana-0.0.1a0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa44c951ac535ba9df8d92c0f38980c420f00c8e1dc9bfc7826ecd649479024 |
|
MD5 | 4b35d367cee99739b2fd75b8f99bf58f |
|
BLAKE2b-256 | 7d253abc5d3f0440b7ff3f762ecb13a3d38632e21caf804481344d404347e14e |