Skip to main content

Kahi plugin to insert and update works from CIARP databases

Project description

Kahi CIARP works plugin

Kahi will use this plugin to insert or update the works information from ciarp office file from public universities.

Description

Plugin that read the information from a file with papers published and reported to the ciarp office to update or insert the information of the research products in CoLav's database format.

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_ciarp_works

Similarity support

To process works without doi, similarity is mandaroty. Then a elastic search server must be running. The plugin will use the server to find the most similar works in the database. To deply it please read https://github.com/colav/Chia/tree/main/elasticsaerch and follow the instructions.

Docker and docker-compose are required to deploy the server.

if you only wants to process works with doi, you can skip this step and remove the es_index, es_url, es_user and es_password from the yaml file.

But it is mandatory to put ciarp_works/doi in the yaml file.

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_collection: log
workflow:
  ciarp_works/doi:
    databases:
      - institution_id: https://ror.org/03bp5hc83 # Universidad de Antioquia
        file_path: data_file_path
      - institution_id: https://ror.org/00jb9vg53 # Universidad del Valle
        file_path: data_file_path
    num_jobs: 1
    verbose: 4
  ciarp_works:
    es_index: kahi_es
    es_url: http://localhost:9200
    es_user: elastic
    es_password: colav
    databases:
      - institution_id: https://ror.org/03bp5hc83 # Universidad de Antioquia
        file_path: data_file_path
      - institution_id: https://ror.org/00jb9vg53 # Universidad del Valle
        file_path: data_file_path
    num_jobs: 1
    verbose: 4
  • WARNING *. This process could take several hours

License

BSD-3-Clause License

Links

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kahi_ciarp_works-0.1.0b0.tar.gz (11.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Kahi_ciarp_works-0.1.0b0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file kahi_ciarp_works-0.1.0b0.tar.gz.

File metadata

  • Download URL: kahi_ciarp_works-0.1.0b0.tar.gz
  • Upload date:
  • Size: 11.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.21

File hashes

Hashes for kahi_ciarp_works-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 8ef0c2e0000c4518ee54a743ddaa4e579a60878c6e0b553c2ba62a508fc65be5
MD5 832cdf8197e48187812869778f5d86c6
BLAKE2b-256 7408af19b723638614590c26a85419136616a0ca3a6e5dcfd5d0a96798202df5

See more details on using hashes here.

File details

Details for the file Kahi_ciarp_works-0.1.0b0-py3-none-any.whl.

File metadata

File hashes

Hashes for Kahi_ciarp_works-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 6104bb5a3a95f71483d652405046628ee8dc582924052379ee1f27e43cdccdcc
MD5 6219368ec64603e4c1e3557f95134391
BLAKE2b-256 953171bc2b99babe4b4dfd2699cbc0886e8b05956e25410965c60d9953f0281b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page