semvec/pypi-packages huggingface dataset:
wikiwho-wrapper 1.6.4
A light/simple Python wrapper for the WikiWho API
Keywords: wikipedia wikiwho revisions content authorship

# wikiwho_wrapper

A light/simple Python wrapper for the [WikiWho API](https://api.wikiwho.net/).

The [WikiWho API](https://api.wikiwho.net/) 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](https://github.com/wikiwho) (~95% acc.). 

Find full information and how to cite this work in [api.wikiwho.net](https://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](https://github.com/gesiscss/wikiwho_wrapper).***

# Tutorial

[![Binder](https://notebooks.gesis.org/binder/badge_logo.svg)](https://notebooks.gesis.org/binder/v2/gh/gesiscss/wikiwho_tutorial/master?filepath=1.%20API%20requests%20(WikiWho%20wrapper).ipynb)

The Github repository of the tutorial is available [here](https://github.com/gesiscss/wikiwho_tutorial).
pyeactivities-ftm 0.1.2
Python API Wrapper for Imperial College Union eActivities

pyeactivities
=============

|circleci-status| |pypi-version| |docs|

.. |circleci-status| image:: https://circleci.com/gh/ftm/pyeactivities/tree/master.svg?style=svg
   :alt: CircleCI
   :target: https://circleci.com/gh/ftm/pyeactivities/tree/master

.. |pypi-version| image:: https://img.shields.io/pypi/v/pyeactivities-ftm.svg
   :alt: PyPI
   :target: https://pypi.org/project/pyeactivities-ftm/

.. |docs| image:: https://readthedocs.org/projects/pyeactivities/badge/?version=latest
   :alt: Documentation Status
   :target: https://pyeactivities.readthedocs.io/en/latest/?badge=latest

pyeactivities is a Python wrapper for the read-only API for eActivities, the
system provided by Imperial College Union for societies to manage themselves.

Installation
------------
To install pyeactivities, use ``pip``
::

  pip install pyeactivities-ftm

Usage
-----
To use pyeactivities you need the base URL for the API (found on Page 2 of the
API documentation), and your API key.

.. code-block:: python

  from pyeactivities.eactivities import EActivities

  # Base URL must end in trailing / (e.g. https://<eactivities>/API/)
  eactivities = EActivities(api_key, api_base_url)

  my_csp = eactivities.get_csps()[0]

  members = my_csp.get_members()

  print("{} has {} members".format(my_csp.name, len(members)))
  for m in members:
    print("  {cid} - {fn} {sn}".format(cid=m.cid, fn=m.first_name, sn=m.surname))

Documentation
-------------
Documentation is available at: `<https://pyeactivities.readthedocs.io>`_.

License
-------

pyeactivities is licensed under the `MIT License <https://opensource.org/licenses/MIT>`_

Copyright (c) 2019 Fraser May and Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.