Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Kahi ElasticSearch works plugin

Kahi will use this plugin to insert works information from kahi into elasticsearch database.

Description

Plugin that read the information from a mongodb database with information in colav database to insert the information of the research products in elastic search. This serves as a solution to the uniocity problem when there's no DOI available.

Installation

You could download the repository from github. Go into the folder where the setup.py is located and run

pip3 install .

From the package you can install by running

pip3 install kahi_elasticsearch_works

Dependencies

Software dependencies will automatically be installed when installing the plugin. For the data dependencies the user must have the output of any Kahi's work plugin with the resulting database with the academic works.

Usage

To use this plugin you must have kahi installed in your system and construct a yaml file such as

config:
  database_url: localhost:27017
  database_name: kahi
  log_database: kahi_log
  log_collection: log
workflow:
  elasticsearch_works:
    es_url: http://localhost:9200
    es_user: elastic
    es_password: colav
    task: delete
    verbose: 5
  elasticsearch_works:
    es_url: http://localhost:9200
    es_user: elastic
    es_password: colav
    task: bulk_insert
    bulk_size: 100
    verbose: 5

The task options are:

  • delete: deletes everythin in the elasticsearch database
  • bulk_insert: inserts the registers from kahi's resulting database in chunks of bulk_size

License

BSD-3-Clause License

Links

http://colav.udea.edu.co/

Metadata

Release files for Kahi-elasticsearch-works 0.1.0b0

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

Source distribution (sdist)

Source distribution for Kahi-elasticsearch-works 0.1.0b0
File Size Uploaded Provenance Actions
kahi_elasticsearch_works-0.1.0b0.tar.gz 4.9 kB Without provenance Details for kahi_elasticsearch_works-0.1.0b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Kahi-elasticsearch-works 0.1.0b0
File Interpreter ABI Platform Actions
Kahi_elasticsearch_works-0.1.0b0-py3-none-any.whl Python 3 none any Details for Kahi_elasticsearch_works-0.1.0b0-py3-none-any.whl

Total release size: 9.9 kB

Release files / kahi_elasticsearch_works-0.1.0b0.tar.gz

Download URL kahi_elasticsearch_works-0.1.0b0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e7c47794e72282c2e0d27ef81682c649afdba693a823ce33c2613fd6eb8c4960
BLAKE2b-256 checksum
How to use checksums
40287da253d6adaefd78800e659deb469a9589129f39cf08aed659647e653caa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / Kahi_elasticsearch_works-0.1.0b0-py3-none-any.whl

Download URL Kahi_elasticsearch_works-0.1.0b0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e94c3e92887929527f6206c0c081392bada8292a3f7aa191bbe159bde492ba7
BLAKE2b-256 checksum
How to use checksums
cad5902bd87c5259a2a665320c50c658deb351b767e6fccfe9fadec7ef71cba6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for Kahi-elasticsearch-works 0.1.0b0

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.

Release history Release notifications | RSS feed

This release
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