Skip to main content

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

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_wikipedia_affiliations-0.1.0b0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

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