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.0b0.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

Kahi_scienti_works-0.1.0b0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Kahi_scienti_works-0.1.0b0.tar.gz
  • Upload date:
  • Size: 8.8 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.0b0.tar.gz
Algorithm Hash digest
SHA256 cb21e60c6cfc424aca94702a400d4dde99d0eb195a6f851a9d280ba434c433ab
MD5 1e45f6dd7843d87f1725564c470dc22c
BLAKE2b-256 ddbb1fab21c9861b882cbb34e227601046bb814b665650ee221390377f66f1d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Kahi_scienti_works-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 8950f70ae84403b5c5f606a124635b9470276396196afffb6abda4654488023e
MD5 62e8a4200acb5edfa25df63e35e09488
BLAKE2b-256 b542473b6ebb9bea8f6abd2e31dad3534e7e23973f3593d9ff0a2891826caff4

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