Kahi plugin to update affiliations from wikipedia
Project description
Kahi wikipedia affiliations plugin
Kahi will use this plugin to update the affiliations information from wikipedia
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_wikipedia 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:
wikipedia_affiliations:
tasks:
- names
- logos
num_jobs: 10
verbose: 5
The user must have to take into account the limits of requests in wikipedia to estimate the value of the varibale num_jobs which determines the number of concurrent tasks. Wikimedia limits
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_wikipedia_affiliations-0.1.0b0.tar.gz
.
File metadata
- Download URL: Kahi_wikipedia_affiliations-0.1.0b0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23495f2119358ef91381f5a1b1210e429943aefbaebeb0dc2038feecb1a211fb |
|
MD5 | 7ae476a2c463938a5f94dbfb4bfdd279 |
|
BLAKE2b-256 | c8847f80ee43378ee9ee078e60952f9ec81bebfcd18d8d1a38966196d23dd1a4 |
File details
Details for the file Kahi_wikipedia_affiliations-0.1.0b0-py3-none-any.whl
.
File metadata
- Download URL: Kahi_wikipedia_affiliations-0.1.0b0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7099fb5be77c9e8dae0302f8f61f3f3bd267a1085620e606cc643832f8b949cf |
|
MD5 | e29cf79aebae3226c25063d7949e4134 |
|
BLAKE2b-256 | fb06e142f03a8d2b10cc3e9a7265a2405fc3e74f7c92aba095c740fbb3439000 |