This release is a pre-release and may not be stable for production use.
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
Usage Completer
kerana_completer --entity person --es_user elastic --es_pass mypass --es_index kahi_dev_person --mdb_name kahi_dev --mdb_col person --bulk_size 1000
kerana_completer --entity institution --es_user elastic --es_pass mypass --es_index kahi_dev_institution --mdb_name kahi_dev --mdb_col affiliations --bulk_size 1000
kerana_completer --entity group --es_user elastic --es_pass mypass --es_index kahi_dev_group --mdb_name kahi_dev --mdb_col affiliations --bulk_size 1000
kerana_completer --entity faculty --es_user elastic --es_pass mypass --es_index kahi_dev_faculty --mdb_name kahi_dev --mdb_col affiliations --bulk_size 1000
kerana_completer --entity department --es_user elastic --es_pass mypass --es_index kahi_dev_department --mdb_name kahi_dev --mdb_col affiliations --bulk_size 1000
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
Metadata
Release files for Kerana 0.0.2a0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kerana-0.0.2a0.tar.gz | 8.2 kB | Without provenance | Details for kerana-0.0.2a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kerana-0.0.2a0-py3-none-any.whl | Python 3 | none | any | Details for kerana-0.0.2a0-py3-none-any.whl |
Total release size: 17.3 kB
Release files / kerana-0.0.2a0.tar.gz
| Download URL | kerana-0.0.2a0.tar.gz |
|---|---|
| Size | 8.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c60ce87a33a3fa8b2ba04775cdfac8b1e0b7fe9654563f62caa454cdff85e43e
|
|
BLAKE2b-256 checksum How to use checksums |
5a11141be3c2e6b4a6f4c33fbae97d68bc8c2c8cd44adeacc02ee98930c8cb4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / kerana-0.0.2a0-py3-none-any.whl
| Download URL | kerana-0.0.2a0-py3-none-any.whl |
|---|---|
| Size | 9.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
18f66339d377d53a291c2ebd0fea7dbdff5567093e8b5a72eee17702aa4b9660
|
|
BLAKE2b-256 checksum How to use checksums |
20afea1fd00b4e5cf3d8739b0bd87d8de0b1e4928d138b160556f1c463d85233
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for Kerana 0.0.2a0
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.