semvec/pypi-packages huggingface dataset:
Kahi-ciarp-works 0.1.0b0
Kahi plugin to insert and update works from CIARP databases
License: BSD

<center><img src="https://raw.githubusercontent.com/colav/colav.github.io/master/img/Logo.png"/></center>

# 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
```shell
pip3 install .
```
From the package you can install by running
```shell
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
```yaml
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/