Socket
Socket
Sign inDemoInstall

wikiwho-wrapper

Package Overview
Dependencies
4
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wikiwho-wrapper

A light/simple Python wrapper for the WikiWho API


Maintainers
1

Readme

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

Binder

The Github repository of the tutorial is available here.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc