An algorithm to create an on-demand color-markup of the original authors of the text of any article on the (english) Wikipedia.
Project description
.. image:: https://github.com/wikiwho/WhoColor/blob/dev/WhoColor/static/whocolor/readme/whocolorpreview.png
WhoColor
========
The WhoColor userscript colors Wikipedia articles based on by-word authorship.
Take a look at http://f-squared.org/whovisual/ for more information.
Requirements and Installation
=============================
`requests <http://docs.python-requests.org/en/master/>`_ package is required to get revision meta data and text from Wikipedia api.
Install WhoColor package (server code) using ``pip``::
pip install WhoColor
Install WhoColor user script using ``Tampermonkey`` or ``Greasemonkey`` for Chrome and Firefox:
- First install one of:
- `Tampermonkey <https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo/>`_ for Chrome
- `Tampermonkey <https://addons.mozilla.org/en-US/firefox/addon/tampermonkey/>`_ for Firefox
- `Greasemonkey <https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/>`_ for Firefox
- Open `user script <https://github.com/wikiwho/WhoColor/blob/dev/userscript/whocolor.user.js>`_ and click on ``Raw`` button on the top right
- ``Tampermonkey`` or ``Greasemonkey`` will automatically detect the user script and ask to install it
- Open an article in Wikipedia and now you should see the ``WhoColor`` to the left of the default "Read" tab in the head navigation of the article
Contact
=======
* Fabian Floeck: fabian.floeck[.]gesis.org
* Kenan Erdogan: kenan.erdogan[.]gesis.org
License
=======
This work is licensed under MIT (some assets have other licenses, more detailed information in the LICENSE file).
**Developed at Karlsruhe Institute of Technology and GESIS - Leibniz Institute for the Social Sciences**
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
WhoColor-1.0.1.tar.gz
(82.9 kB
view details)
Built Distribution
WhoColor-1.0.1-py3-none-any.whl
(87.9 kB
view details)
File details
Details for the file WhoColor-1.0.1.tar.gz
.
File metadata
- Download URL: WhoColor-1.0.1.tar.gz
- Upload date:
- Size: 82.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8728b6ba2e413180ad35d9ef48d3d3de962f283e780d4afd9242e9c274e84f36 |
|
MD5 | fc61e21600bda9bda33935eb0144eaf3 |
|
BLAKE2b-256 | 5f08572b1d749a5865fe4171b918bb95ad2c3a1e519e021ed7a0eb212274079c |
File details
Details for the file WhoColor-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: WhoColor-1.0.1-py3-none-any.whl
- Upload date:
- Size: 87.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551181fbfbdc6b7626c3fd16a669f9689c2c3eb379b21f58efea1ccaa160d1a4 |
|
MD5 | b1a406377277cf7bfc314bcd8954aabd |
|
BLAKE2b-256 | 607b7c87a0caaa5d97d5a96921c4502766fb7dda77a401a043039f0d1ea78679 |