semvec/pypi-packages huggingface dataset:
kahi-post-cleanup-entities 0.0.1a0
Kahi plugin post cleanup entities
License: BSD

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

# Kahi template post cleanup entities
This plugin allows to clean up the entities that are not needed in the post processing.

# Description
Some author and affiliations are not needed in the post processing, this plugin allows to remove them.
The authors removed are the ones that are not in the list of authors of the works, and the affiliations removed are the ones that are not in the list of affiliations of the authors.

# Installation

## Package
Write here how to install this plugin
usauly is 

`pip install kahi_post_cleanup_entities`


# Usage
this plugin takes the kahi database, person and affiliations from initial config section.
```
config:
  database_url: localhost:27017
  database_name: kahi
  log_database: kahi
  log_collection: log
workflow:
  ##Works plugins here
  post_cleanup_entities: # run this after all works plugins are done
    num_jobs: 20
    verbose: 4
```



# License
BSD-3-Clause License 

# Links
http://colav.udea.edu.co/
Kahi-staff-affiliations 0.1.2b0
Kahi plugin staff_affiliations
License: BSD

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

# Kahi staff affiliations plugin 
Kahi will use this plugin to insert or update the affiliations information from institution's staff file

# Description
Plugin that reads the information from institution's staff file to update or insert the information of the faculties and departments 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_staff_affiliations
```

## Dependencies
Software dependencies will automatically be installed when installing the plugin.
The user must have at least one file from staff's office for example: University of Antioquia.

# 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
  log_collection: log
workflow:
  staff_affiliations:
    databases:
      - institution_id: https://ror.org/03bp5hc83 #Universidad de Antioquia (could be any external id ex: ROR_ID, GRID_ID, etc)
        file_path: staff/Base de Datos profesores 2024_con_clasificación de Colciencias.xlsx
      - institution_id: https://ror.org/00jb9vg53 #Universidad del Valle
        file_path: staff/Maestro_empleado DOCENTES SEP 26_NORMALIZADO_univalle_2023.xlsx
      - institution_id: https://ror.org/05tkb8v92 #Universidad Autónoma Latinoamericana
        file_path: staff/UNAULA_Profesores regulares y ocasionales vige_NORMALIZADO.xlsx
      - institution_id: https://ror.org/02xtwpk10 # Universidad Externado de Colombia
        file_path: staff/Formato reporte de información docentes_2023_NORMALIZADO_uec.xlsx
    verbose: 5
```


# License
BSD-3-Clause License 

# Links
http://colav.udea.edu.co/
Kahi-elasticsearch-works 0.1.0b0
Kahi plugin to insert and update works to elasticsearch
License: BSD

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

# 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
```shell
pip3 install .
```
From the package you can install by running
```shell
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](https://github.com/colav/Kahi-plugins) 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
```yaml
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/