Skip to main content

Kahi plugin to insert and update works from openalex

Project description

Kahi works plugin

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

Description

Plugin that read the information from a mongodb database with openalex information 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_openalex_works

Dependencies

Software dependencies will automatically be installed when installing the plugin. For the data dependencies the user must have a copy of the openalex dump with the collection of works of interest (take a subset since this database is huge) which can be downloaded at OpenAlex data dump website and import it 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
  log_collection: log
workflow:
  openalex_works:
    num_jobs: 5
    verbose: 5
    database_url: localhost:27017
    database_name: openalexco
    collection_name: works
  • 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_openalex_works-0.1.2b0.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

Kahi_openalex_works-0.1.2b0-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

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