Skip to main content

Standardized public MediaWiki events for tools and Science.

Project description

MediaWiki events

Wiki-tool builders & researchers rely on various sources of information about what’s happened and is currently happening in Wikipedia. These data sources tend to be structured in differently and contain incomplete or poorly structured information. Some datasources are queryable, but require complexity to “listen” to ongoing events while others are intended to only be used to “listen” to current events. ‘’MediaWiki events’’ is designed to minimize the frustration involved in process MediaWiki’s events.

Instal with pip: pip install mwevents

Note: Use of this library requires Python 3 or later.

Documentation: Comming soon!

from mwevents.sources import API
from mwevents import RevisionSaved, PageCreated

api_source = API.from_api_url("")
listener = api_source.listener(events={RevisionSaved, PageCreated})

for event in listener:
    if isinstance(event, RevisionSaved):
    else: # isinstance(event, PageCreated):

About the author

name:Aaron Halfaker


None yet. See Pull requests are encouraged.

Project details

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
mwevents-0.1.0.tar.gz (17.2 kB) Copy SHA256 hash SHA256 Source None Aug 3, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page