wikiwho_wrapper
A light/simple Python wrapper for the WikiWho API.
The WikiWho API provides the first editor (author) of Wikipedia words (tokens). It also provides the history of each of the tokens, i.e. in which revisions (and which editors) was the token (re)inserted or removed. The API is based on the WikiWho algorithm (~95% acc.).
Find full information and how to cite this work in api.wikiwho.net.
Installation
Requires python >= 3.6
pip install wikiwho_wrapper
How to use it?
First, you need an instance of the WikiWho.
from wikiwho_wrapper import WikiWho
ww = WikiWho() # or WikiWho(USERNAME, PASSWORD)
You can either use api with the JSON (raw format from api.wikiwho.net)
response = ww.api.all_content("Bioglass")
Or you can use the dataview to obtain a pandas DataFrame representation of the data
dataView = ww.dv.all_content("Bioglass")
Note that all the methods, and classes can receive parameters. All the parameters of the API are currently supported. For now, you can check them directly in the code.
Tutorial
The Github repository of the tutorial is available here.
Metadata
Release files for wikiwho-wrapper 1.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wikiwho_wrapper-1.6.4.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wikiwho_wrapper-1.6.4-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 21.2 kB
Release files / wikiwho_wrapper-1.6.4.tar.gz
| Download URL | wikiwho_wrapper-1.6.4.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf9147523eb069783a481dcf0c56ba4f3cc7bab240132706ee4b397c74845c34
|
|
BLAKE2b-256 checksum How to use checksums |
ac93cc2399c038a9c91fd86938f456d38a0671828a030d22b8a0d19db4a7a19f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1
|
Release files / wikiwho_wrapper-1.6.4-py2-none-any.whl
| Download URL | wikiwho_wrapper-1.6.4-py2-none-any.whl |
|---|---|
| Size | 12.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
3b7950d4bd895bd3eed8ea081e337702f94e8fa1997e02ed6b7032b96e1e6560
|
|
BLAKE2b-256 checksum How to use checksums |
7d36d6ea70498b611dab8e35e26bd9feb20db5c0f23dd6928dcff1c0fff2dfdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/2.7.15rc1
|