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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Kahi_openalex_works-0.1.2b0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbf52096ecc6fec0fd555f14ef4fc09d6a70bf9043621cd1873c58385d5aaf65 |
|
MD5 | 1bdde072bf643cee24df2a78df184368 |
|
BLAKE2b-256 | e958038e9c0dfad21d075962d2a36a3aef1244d320a4a3811d7c2499b98ce62a |
Hashes for Kahi_openalex_works-0.1.2b0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92d6fa8adc9ab1e87aea1cbc7741049dbfad7e3dd6706587d1abda9b23d9dfd7 |
|
MD5 | 38f2615511165fcaf85d9b415ed9a716 |
|
BLAKE2b-256 | 31168ce497a14ab1989a8ae55bd72d314993b1fb77275cb9ecc3729092cb44a3 |