{"id":19798606,"url":"https://github.com/eriknyquist/wikichangewatcher","last_synced_at":"2025-10-03T13:25:12.757Z","repository":{"id":183359810,"uuid":"670007026","full_name":"eriknyquist/wikichangewatcher","owner":"eriknyquist","description":"Python library for easy monitoring of all Wikipedia page edits","archived":false,"fork":false,"pushed_at":"2023-12-12T07:42:05.000Z","size":4925,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-22T23:48:58.721Z","etag":null,"topics":["python","python3","server-sent-events","sse","tom-scott","tomscott","wiki","wikimedia","wikimedia-api","wikimedia-tools","wikiparliament","wikipedia","wikipedia-api","wikipedia-edits","wikipedia-entries","wikipedia-monitoring","wikipedia-page"],"latest_commit_sha":null,"homepage":"https://eriknyquist.github.io/wikichangewatcher","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eriknyquist.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-07-24T05:03:28.000Z","updated_at":"2024-05-13T07:15:52.000Z","dependencies_parsed_at":"2023-07-24T06:16:03.864Z","dependency_job_id":"9830fdfe-6b7a-46f4-8eb4-135d032552c5","html_url":"https://github.com/eriknyquist/wikichangewatcher","commit_stats":null,"previous_names":["eriknyquist/wikichangewatcher"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fwikichangewatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fwikichangewatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fwikichangewatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eriknyquist%2Fwikichangewatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eriknyquist","download_url":"https://codeload.github.com/eriknyquist/wikichangewatcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251830449,"owners_count":21650802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","python3","server-sent-events","sse","tom-scott","tomscott","wiki","wikimedia","wikimedia-api","wikimedia-tools","wikiparliament","wikipedia","wikipedia-api","wikipedia-edits","wikipedia-entries","wikipedia-monitoring","wikipedia-page"],"created_at":"2024-11-12T07:30:45.251Z","updated_at":"2025-10-03T13:25:12.657Z","avatar_url":"https://github.com/eriknyquist.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"WikiChangeWatcher 1.0.0\n=======================\n\n.. |tests_badge| image:: https://github.com/eriknyquist/wikichangewatcher/actions/workflows/tests.yml/badge.svg\n.. |cov_badge| image:: https://github.com/eriknyquist/wikichangewatcher/actions/workflows/coverage.yml/badge.svg\n.. |version_badge| image:: https://badgen.net/pypi/v/wikichangewatcher\n.. |license_badge| image:: https://badgen.net/pypi/license/wikichangewatcher\n\n.. image:: https://raw.githubusercontent.com/eriknyquist/wikichangewatcher/5f8e204db0af39d0a0ed00e5884a38544e11321a/images/wikiwatcher_github_banner.png\n\n.. contents:: Table of Contents\n\n|tests_badge| |cov_badge| |version_badge| |license_badge|\n\nIntroduction\n============\n\nWikipedia provides an `SSE Stream \u003chttps://en.wikipedia.org/wiki/Server-sent_events\u003e`_  of\nall edits made to any page across Wikipedia, which allows you to watch all edits made to all wikipedia\npages in real time.\n\n``WikiChangeWatcher`` is an SSE client that watches the SSE stream of wikipedia page edits,\nwith some filtering features that allow you to watch for page edit events with specific attributes\n(e.g. `\"anonymous\" \u003chttps://en.wikipedia.org/wiki/Wikipedia:IP_edits_are_not_anonymous\u003e`_\nedits with IP addresses in specific ranges, or edits made to a specific page, or edits made by a wikipedia\nuser whose username matches a specific regular expression).\n\nThis package is inspired by `Tom Scott's WikiParliament project \u003chttps://www.tomscott.com/wikiparliament/\u003e`_.\n\nInstall\n=======\n\nInstall using ``pip``.\n\n::\n\n    pip install wikichangewatcher\n\nExamples\n========\n\nSome example scripts illustrating how to use ``WikiChangeWatcher`` are presented in\nthe following sections.\n\n\nMonitoring \"anonymous\" page edits made from any IPv4 or IPv6 address\n--------------------------------------------------------------------\n\nThe following example code watches for edits made by any IPv4 or IPv6 address.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for \"anonymous\" edits to any\n    # wikipedia page from any IPv4 or IPv6 address\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, IpV4Filter, IpV6Filter\n\n    # Callback function to run whenever an event matching our IPv4 address pattern is seen\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    # Watch for anonymous edits from any IPv4  or IPv6 address\n    wc = WikiChangeWatcher((IpV4Filter() | IpV6Filter()).on_match(match_handler))\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while wc.is_running():\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\n\nMonitoring \"anonymous\" page edits made from specific IP address ranges\n----------------------------------------------------------------------\n\nThe following example code watches for edits made by 3 specific IPv4 address ranges.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for \"anonymous\" edits to any\n    # wikipedia page from specific IP address ranges\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, IpV4Filter, IpV6Filter\n\n    # Callback function to run whenever an event matching our IPv4 address pattern is seen\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    # Watch for anonymous edits from some specific IP address ranges\n    wc = WikiChangeWatcher(IpV4Filter(\"192.60.38.225-230\").on_match(match_handler),\n                           IpV6Filter(\"2601:205:4882:810:5D1D:BC41:61BB:0-ffff\").on_match(match_handler))\n\n    # Wildcard '*' character can be used in place of a IPv4 or IP46 address field, to ignore that field entirely.\n    # IPV6 filter with some fields ignored: IpV6Filter(\"*:*:*:810:5D1D:BC41:*:0-ffff\")\n    # IPV6 filter with some fields ignored: IpV4Filter(\"192.*.*.225-230\")\n\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\nMonitoring page edits made by usernames that match a regular expression\n-----------------------------------------------------------------------\n\nThe following example code watches for edits made by signed-in users with usernames\nthat contain one or more strings matching a regular expression.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for NON-\"anonymous\" edits to any\n    # wikipedia page, by usernames that contain a string matching a provided regular expression\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, UsernameRegexSearchFilter\n\n    # Callback function to run whenever an edit by a user with a username containing our regex is seen\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    # Watch for edits made by users with \"bot\" in their username\n    wc = WikiChangeWatcher(UsernameRegexSearchFilter(r\"[Bb]ot|BOT\").on_match(match_handler))\n\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\nMonitoring page edit events based on regular expression match on arbitary JSON fields\n-------------------------------------------------------------------------------------\n\nThe following example code watches for any page edit events where the specified JSON\nfield matches contains one or more matches of a regular expression (available\nJSON fields and their descriptions can be found `here \u003chttps://www.mediawiki.org/wiki/Manual:RCFeed\u003e`_).\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to filter page edit events\n    # by a regular expression match in an arbitrary named field from the JSON event\n    # provided by the SSE stream of wikipedia page edits\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, FieldRegexSearchFilter\n\n    # Callback function to run whenever an edit is made to a page that has a regex match in the page URL\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    # Watch for edits made to any page that has the word \"publish\" in the page URL\n    # (\"title_url\" field in the JSON object)\n    wc = WikiChangeWatcher(FieldRegexSearchFilter(\"title_url\", r\"[Pp]ublish\").on_match(match_handler))\n\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\n\nCombining multiple filter classes with the ``FilterCollection`` class\n---------------------------------------------------------------------\n\nThe following example watches for anonymous page edits to a specific page URL.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for \"anonymous\" edits to\n    # a specific wikipedia page\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, FilterCollection, IpV4Filter, PageUrlFilter\n\n    # Callback function to run whenever an event matching our filters is seen\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    # Default match type is is MatchType.ALL\n    filters = FilterCollection(\n        # Filter for any edits to a specific wikipedia page URL\n        PageUrlFilter(\"https://es.wikipedia.org/wiki/Reclus_(La_Rioja)\"),\n\n        # Filter for any IP address (any anonymous edit)\n        IpV4Filter(\"*.*.*.*\"),\n    ).on_match(match_handler)\n\n\n    wc = WikiChangeWatcher(filters)\n\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\nCombining/nesting multiple ``FilterCollection`` classes\n-------------------------------------------------------\n\nThe following example watches for page edits to several specific page URLs made by\nuser with the word \"bot\" in their username.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for edit to specific\n    # wikipedia page URLs by users with the word \"bot\" in their name\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, FilterCollection, UsernameRegexSearchFilter, PageUrlFilter, MatchType\n\n    # Callback function to run whenever an event matching our filters is seen\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    # Make a filter collection that matches any one of several wikipedia pages\n    page_urls = FilterCollection(\n        # Filters for any edits to multiple specific wikipedia page URLs\n        PageUrlFilter(\"https://en.wikipedia.org/wiki/Python_(programming_language)\"),\n        PageUrlFilter(\"https://en.wikipedia.org/wiki/CPython\"),\n        PageUrlFilter(\"https://en.wikipedia.org/wiki/Server-sent_events\"),\n    ).set_match_type(MatchType.ANY)\n\n    # Make a filter collection that matches one of the page URLs, *and* a specific username regex\n    main_filter = FilterCollection(\n        page_urls,\n        UsernameRegexSearchFilter(r\"[Bb][Oo][Tt]\")\n    ).set_match_type(MatchType.ALL).on_match(match_handler)\n\n    wc = WikiChangeWatcher(main_filter)\n\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\nUsing bitwise AND/OR operators to create ``FilterCollection`` classes\n---------------------------------------------------------------------\n\nInstead of creating FilterCollection classes directly, you can instead use bitwise AND ``\u0026``\nand bitwise OR ``|`` to combine filter objects.\n\nFor example, this code uses the bitwise OR operator to create a filter that matches any\nIPv4 address, *or* any IPv6 address:\n\n.. code:: python\n\n    from wikichangewatcher import IpV4Filter, IpV6Filter\n\n    # Callback function to run whenever an event matching our filters is seen\n    def match_handler(json_data):\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    filter_collection = (IpV4Filter() | IpV6Filter()).on_match(match_handler)\n\nAnd this code creates an equivalent filter, but uses the ``FilterCollection`` class\ndirectly instead:\n\n.. code:: python\n\n    from wikichangewatcher import IpV4Filter, IpV6Filter, FilterCollection, MatchType\n\n    # Callback function to run whenever an event matching our filters is seen\n    def match_handler(json_data):\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    filter_collection = FilterCollection(\n        IpV4Filter(), IpV6Filter()\n    ).set_match_type(MatchType.ANY).on_match(match_handler)\n\nFinally, here is a slightly more complex example, which uses both bitwise AND / OR\noperators together to create a filter that matches any IPv4 or IPv6 address, *and* a specific\npage URL:\n\n.. code:: python\n\n    from wikichangewatcher import IpV4Filter, IpV6Filter, PageUrlFilter\n\n    PAGE_URL = \"https://en.wikipedia.org/wiki/Hayaguchi_Station\"\n\n    # Callback function to run whenever an event matching our filters is seen\n    def match_handler(json_data):\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n    filter_collection = ((IpV4Filter() | IpV6Filter()) \u0026 PageUrlFilter(PAGE_URL)).on_match(match_handler)\n\nMonitoring \"anonymous\" edits made from IP address ranges owned by US government depts./agencies\n-----------------------------------------------------------------------------------------------\n\nThe following example watches for anonymous page edits to *any* wikipedia page,\nfrom IP address ranges that were found to be publicly listed as owned by various\nUS government department and agencies (mostly California, some federal).\n\nIf you want to look up some IP addresses owned by your local governments, or companies, it's pretty easy,\nI just went to ``https://ip-netblocks.whoisxmlapi.com/`` and searched for \"california department of\"\nas the company name.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for \"anonymous\" edits to any\n    # wikipedia page from IP address ranges that are publicly listed as being owned by various US government departments\n\n    import time\n    from wikichangewatcher import WikiChangeWatcher, FilterCollection, IpV4Filter, IpV6Filter, MatchType\n\n    # Callback function to run whenever an event matching one of our IPv4 address ranges is seen\n    def match_handler(json_data):\n        \"\"\"\n        json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n        as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n        \"\"\"\n        print(\"{user} edited {title_url}\".format(**json_data))\n\n\n    filter_collection = FilterCollection(\n        IpV4Filter(\"136.200.0-255.0-255\"),                                    # IP4 range assigned to CA dept. of water resources\n        IpV4Filter(\"151.143.0-255.0-255\"),                                    # IP4 range assigned to CA dept. of technology\n        IpV4Filter(\"160.88.0-255.0-255\"),                                     # IP4 range assigned to CA dept. of insurance\n        IpV4Filter(\"192.56.110.0-255\"),                                       # IP4 range #1 assigned to CA dept. of corrections\n        IpV4Filter(\"153.48.0-255.0-255\"),                                     # IP4 range #2 assigned to CA dept. of corrections\n        IpV4Filter(\"149.136.0-255.0-255\"),                                    # IP4 range assigned to CA dept. of transportation\n        IpV6Filter(\"2602:814:5000-5fff:0-ffff:0-ffff:0-ffff:0-ffff:0-ffff\"),  # IP6 range assigned CA dept. of transportation\n        IpV4Filter(\"192.251.92.0-255\"),                                       # IP4 range assigned to CA dept. of general services\n        IpV4Filter(\"159.145.0-255.0-255\"),                                    # IP4 range assigned to CA dept. of consumer affairs\n        IpV4Filter(\"167.10.0-255.0-255\"),                                     # IP4 range assigned to CA dept. of justice\n        IpV4Filter(\"192.58.200-203.0-255\"),                                   # IP4 range assigned to Bureau of Justice Statistics in WA\n        IpV6Filter(\"2607:f330:0-ffff:0-ffff:0-ffff:0-ffff:0-ffff:0-ffff\")     # IP6 range assigned to the US dept. of justice in WA\n    ).set_match_type(MatchType.ALL).on_match(match_handler)\n\n    wc = WikiChangeWatcher(filter_collection)\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            time.sleep(0.1)\n    except KeyboardInterrupt:\n        wc.stop()\n\nCalculating a running average of page-edits-per-minute for all of wikipedia\n---------------------------------------------------------------------------\n\nThe following example watches for any edit to any wikipedia page, and updates a\nrunning average of the rate of page edits per minute, which is printed to stdout\nonce every 5 seconds.\n\n.. code:: python\n\n    # Example script showing how to use WikiChangeWatcher to watch for \"anonymous\" edits to any\n    # wikipedia page from specific IP address ranges\n\n    import time\n    import statistics\n    import queue\n\n    from wikichangewatcher import WikiChangeWatcher\n\n\n    # Max. number of samples in the averaging window\n    MAX_WINDOW_LEN = 6\n\n    # Interval between new samples for the averaging window, in seconds\n    INTERVAL_SECS = 5\n\n\n    class EditRateCounter():\n        \"\"\"\n        Tracks total number of page edits per minute across all of wikipedia,\n        using a simple averaging window\n        \"\"\"\n        def __init__(self, interval_secs=INTERVAL_SECS):\n            self._edit_count = 0\n            self._start_time = None\n            self._interval_secs = interval_secs\n            self._queue = queue.Queue()\n            self._window = []\n\n        # Callback function to run whenever an edit event is seen\n        def edit_handler(self, json_data):\n            \"\"\"\n            json_data is a JSON-encoded event from the WikiMedia \"recent changes\" event stream,\n            as described here: https://www.mediawiki.org/wiki/Manual:RCFeed\n            \"\"\"\n            self._edit_count += 1\n\n        # Add an edit rate sample to the averaging window, and return the new average\n        def _add_to_window(self, edits_per_min):\n            self._window.append(edits_per_min)\n            if len(self._window) \u003e MAX_WINDOW_LEN:\n                self._window.pop(0)\n\n            return statistics.mean(self._window)\n\n        def run(self):\n            if self._start_time is None:\n                self._start_time = time.time()\n\n            if (time.time() - self._start_time) \u003e= self._interval_secs:\n                # interval is up, calculate new rate and put it on the queue\n                edits_per_min = float(self._edit_count) * (60.0 / self._interval_secs)\n                self._queue.put((self._add_to_window(edits_per_min), self._edit_count))\n                self._edit_count = 0\n                self._start_time = time.time()\n\n        def get_rate(self):\n            ret = None\n\n            try:\n                ret = self._queue.get(block=False)\n            except queue.Empty:\n                pass\n\n            return ret\n\n    # Create rate counter class to monitor page edit rate over time\n    ratecounter = EditRateCounter()\n\n    # Create a watcher with no filters-- we want to see every single edit\n    wc = WikiChangeWatcher().on_edit(ratecounter.edit_handler)\n\n    wc.run()\n\n    # Watch for page edits forever until KeyboardInterrupt\n    try:\n        while True:\n            ratecounter.run()\n            new_rate = ratecounter.get_rate()\n            if new_rate:\n                rate, since_last = new_rate\n                print(f\"{rate:.2f} avg. page edits per min. ({since_last} in the last {INTERVAL_SECS} secs)\")\n    except KeyboardInterrupt:\n        wc.stop()\n\n\n``wikiwatch`` CLI tool\n======================\n\nA CLI program called ``wikiwatch`` is provided, which uses the ``wikichangewatcher``\npackage to provide some monitoring capabilities at the command line:\n\n::\n\n    usage: wikiwatch [-h] [-a ADDRESS] [-u USERNAME_REGEX] [-f FIELD_NAME VALUE_RGX]\n                     [-s FORMAT_STRING] [--version]\n\n    Real-time monitoring of global Wikipedia page edits, with flexible filtering\n    features.\n\n    options:\n      -h, --help            show this help message and exit\n      -a ADDRESS, --address ADDRESS\n                            Adds an IPv4 or Ipv6 address range to look for. Any\n                            anonymous edits made by IP addresses in this range\n                            will be displayed. Each dot-separated field (for IPv4\n                            addresses) or colon-separated field (for IPv6 addresses)\n                            may be optionally replaced with with an asterisk (which\n                            acts as a wildcard, matching any value), or a range of\n                            values. For example, the address range \"*.22.33.0-55\"\n                            would match all IPv4 addresses in the range 0.22.33.0\n                            through 255.22.33.50. This option can be used multiple\n                            times to add multiple IP address filters.\n      -u USERNAME_REGEX, --username-regex USERNAME_REGEX\n                            Adds a username regex to look for. Any edits made by\n                            logged-in users with a username that matches this\n                            regular expression will be displayed. This option can be\n                            used multiple times to add multiple username filters.\n      -f FIELD_NAME VALUE_RGX, --field FIELD_NAME VALUE_RGX\n                            Adds a regex to look for in a specific named field in\n                            the JSON event provided by the wikimedia recent changes\n                            stream (described here\n                            https://www.mediawiki.org/wiki/Manual:RCFeed). Any edit\n                            events which have a value matching the VALUE_RGX regular\n                            expression stored in the FIELD_NAME field will be\n                            displayed. This option can be used multiple times to add\n                            multiple named field filters.\n      -s FORMAT_STRING, --format-string FORMAT_STRING\n                            Define a custom format string to control how filtered\n                            results are displayed. Format tokens may be used to\n                            display data from any named field in the JSON event\n                            described at\n                            https://www.mediawiki.org/wiki/Manual:RCFeed. Format\n                            tokens must be in the form \"{field_name}\", where\n                            \"field_name\" is the name of any field from the JSON\n                            event. This option can only be used once (Default:\n                            \"{user} edited {title_url}\").\n      --version             Show version and exit.\n\n    NOTE: if run without arguments, then all anonymous edits (any IPv4 or IPv6\n    address) will be shown.\n\n    EXAMPLES:\n\n    Show only edits made by one of two specific IP addresses:\n\n        wikiwatch -a 89.44.33.22 -a 2001:0db8:85a3:0000:0000:8a2e:0370:7334\n\n    Show only edits made by IPv4 addresses in the range 88.44.0-33.0-22:\n\n        wikiwatch -a 88.44.0-33.0-22\n\n    Show only edits made by IPv4 addresses in the range 232.22.0-255.0-255:\n\n        wikiwatch -a 232.22.*.*\n\n    Show only edits made by usernames that contain the word \"Bot\" or \"bot\":\n\n        wikiwatch -f user \"[Bb]ot\"\n\nContributions\n=============\n\nContributions are welcome, please open a pull request at `\u003chttps://github.com/eriknyquist/wikichangewatcher/pulls\u003e`_.\nYou will need to install packages required for development by doing ``pip install -r dev_requirements.txt``.\n\nPlease ensure that all existing tests pass, new test(s) are added if required, and the code coverage\ncheck passes.\n\n* Run tests with ``python setup.py test``.\n* Run tests and and generate code coverage report with ``python code_coverage.py``\n  (this script will report an error if coverage is below 90%)\n\nIf you have any questions about / need help with contributions or tests, please\ncontact Erik at eknyquist@gmail.com.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriknyquist%2Fwikichangewatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feriknyquist%2Fwikichangewatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feriknyquist%2Fwikichangewatcher/lists"}