Kahi plugin to update affiliations from wikipedia
Project description
Kahi wikidata affiliations plugin
Kahi will use this plugin to update the affiliations information from wikidata
Description
Plugin that reads the information from the mongodb collection with the affiliations in colav format to update the information of the names in various languages and the logos.
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_wikidata affiliations
Dependencies
Software dependencies will automatically be installed when installing the plugin. The user must have already an instance of mongodb with the processed affiliations at least from ROR in colav's data format (users could use the Kahi_ror_affiliations plugin).
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:
wikidata_affiliations:
database_name: wikidata
collection_name: data
num_jobs: 10
verbose: 5
The user must have wikidata loaded in mongodb, pelase read https://github.com/colav-playground/wikidata_laod
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
File details
Details for the file kahi_wikidata_affiliations-0.1.1b0.tar.gz
.
File metadata
- Download URL: kahi_wikidata_affiliations-0.1.1b0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcb0dcef14c60dd3153798889d5c3b50f8cbdd06ccb603095f1297986acec045 |
|
MD5 | 9bc26cbc2e259c7085d05ad3a330e542 |
|
BLAKE2b-256 | bebeab9a59a92c52a1a68131967f69653fd27f5466759fdbe2efc476fd45291a |
File details
Details for the file Kahi_wikidata_affiliations-0.1.1b0-py3-none-any.whl
.
File metadata
- Download URL: Kahi_wikidata_affiliations-0.1.1b0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0fdc4955f6019398b783b1f76ade7b196174dd931852466067893de51ad0196 |
|
MD5 | 5b10e1d600c3b329f33bad37c6a02a5d |
|
BLAKE2b-256 | 586b55c63e50a4fabe2d80b4cd824d367688d4b28f9bb12638ce0e3efe118e19 |