Skip to main content

Kahi plugin to insert and update works from scienti

Project description

Kahi scienti works plugin

Kahi will use this plugin to insert or update the works information from scienti database.

Description

Plugin that reads the information from a scienti dump to insert or update the information of the of academic products in colav's database.

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_openalex_works

Dependencies

Software dependencies will automatically be installed when installing the plugin. The user must have at least one database obtained from minciencias and previously processed by kayPacha and uploaded on a mongodb database. C++ library libhunspell-dev must be installed on your system. On ubuntu you can do it by typing

$ sudo apt install libhunspell-dev

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:
  scienti_works:
    databases:
    - database_url: localhost:27017
      database_name: scienti
      collection_name: products
    num_jobs: 5
    verbose: 5

If you have several scienti databases use the example below

config:
  database_url: localhost:27017
  database_name: kahi
  log_database: kahi
  log_collection: log
workflow:
  scienti_works:
    databases:
      - database_url: localhost:27017
        database_name: scienti_udea
        collection_name: products
      - database_url: localhost:27017
        database_name: scienti_uec_2022
        collection_name: product
    num_jobs: 5
    verbose: 5
  • 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_scienti_works-0.1.1b0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

Kahi_scienti_works-0.1.1b0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file Kahi_scienti_works-0.1.1b0.tar.gz.

File metadata

  • Download URL: Kahi_scienti_works-0.1.1b0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for Kahi_scienti_works-0.1.1b0.tar.gz
Algorithm Hash digest
SHA256 cd78d15acb6c581a536efdbe7c30e0f8ba6de88595736a548c07f48528a23d02
MD5 7968de7f136207c96681c8d2946945dd
BLAKE2b-256 4c903ad7a94183058324ac7d7ef54406c14b03bd03389b39ff60755da0f0fbbc

See more details on using hashes here.

File details

Details for the file Kahi_scienti_works-0.1.1b0-py3-none-any.whl.

File metadata

File hashes

Hashes for Kahi_scienti_works-0.1.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 e6a49a4c517b0021032500761fdbc786a67bd6e0be157cab1bb5142290830eff
MD5 3fba50b909420762a53f54d84b56b0ab
BLAKE2b-256 9231ce660133522be4587f10476ad2046340a575ea6cd1ad693b21e6cc39dfde

See more details on using hashes here.

Supported by

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