wikibrain

Stores knowledge and data necessary to properly use links from OpenStreetMap to Wikipedia, Wikidata and other Wikimedia projects.


Keywords
openstreetmap, wikidata, wikimedia-commons, wikipedia
License
MIT
Install
pip install wikibrain==0.0.7

Documentation

Stores knowledge and data necessary to properly use links from OpenStreetMap to Wikipedia, Wikidata and Wikimedia Commons.

Installation

It has a very unfortunate dependecies - sorry for that, pull requests improving this situation are welcome.

  • first you need to clone, modify and install as a python package this thing - pull request providing cache location in a better way (config file? environment variable?) is welcome

Finally, install packages in a standard way (providing config and this should be the only steps, sorry):

pip3 install wikibrain

Or

git clone https://github.com/matkoniecz/wikibrain.git
cd wikibrain
pip3 install -r requirements.txt

But in either case #1 remains unsolved.

Running tests

python3 -m unittest

Fixing Wikidata

Search for too_abstract_or_wikidata_bugs and disable that to get more errors caused by Wikidata