mwreverts


Namemwreverts JSON
Version 0.1.5 PyPI version JSON
download
home_pagehttps://github.com/mediawiki-utilities/python-mwreverts
SummaryA set of utilities for detecting reverts in MediaWiki revisions.
upload_time2017-05-01 18:55:32
maintainerNone
docs_urlhttps://pythonhosted.org/mwreverts/
authorAaron Halfaker
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements mwtypes jsonable
Travis-CI No Travis.
coveralls test coverage No coveralls.
            [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.556790.svg)](https://doi.org/10.5281/zenodo.556790)

# MediaWiki reverts

This library provides a set of utilities for detecting reverting activity in
MediaWiki projects.

* **Installation:** ``pip install mwreverts``
* **Documentation:** https://pythonhosted.org/mwreverts
* **Repositiory:** https://github.com/mediawiki-utilities/python-mwreverts
* **License:** MIT

## Basic example

    >>> import mwreverts
    >>>
    >>> checksum_revisions = [
    ...     ("aaa", {'rev_id': 1}),
    ...     ("bbb", {'rev_id': 2}),
    ...     ("aaa", {'rev_id': 3}),
    ...     ("ccc", {'rev_id': 4})
    ... ]
    >>>
    >>> list(mwreverts.detect(checksum_revisions))
    [Revert(reverting={'rev_id': 3},
            reverteds=[{'rev_id': 2}],
            reverted_to={'rev_id': 1})]

## Author
* Aaron Halfaker -- https://github.com/halfak

## Cite as
Aaron Halfaker. (2017). mediawiki-utilities/python-mwreverts: v0.1.4 [Data set]. Zenodo. http://doi.org/10.5281/zenodo.556790

## See also 
* https://meta.wikimedia.org/wiki/Research:Revert
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/mediawiki-utilities/python-mwreverts",
    "name": "mwreverts",
    "maintainer": null,
    "docs_url": "https://pythonhosted.org/mwreverts/",
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Aaron Halfaker",
    "author_email": "aaron.halfaker@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/8d/28/7ef18de4745cc103264fe5254af31cb3e00213ee910243f0e61f104b84c5/mwreverts-0.1.5.tar.gz",
    "platform": "UNKNOWN",
    "description": "[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.556790.svg)](https://doi.org/10.5281/zenodo.556790)\n\n# MediaWiki reverts\n\nThis library provides a set of utilities for detecting reverting activity in\nMediaWiki projects.\n\n* **Installation:** ``pip install mwreverts``\n* **Documentation:** https://pythonhosted.org/mwreverts\n* **Repositiory:** https://github.com/mediawiki-utilities/python-mwreverts\n* **License:** MIT\n\n## Basic example\n\n    >>> import mwreverts\n    >>>\n    >>> checksum_revisions = [\n    ...     (\"aaa\", {'rev_id': 1}),\n    ...     (\"bbb\", {'rev_id': 2}),\n    ...     (\"aaa\", {'rev_id': 3}),\n    ...     (\"ccc\", {'rev_id': 4})\n    ... ]\n    >>>\n    >>> list(mwreverts.detect(checksum_revisions))\n    [Revert(reverting={'rev_id': 3},\n            reverteds=[{'rev_id': 2}],\n            reverted_to={'rev_id': 1})]\n\n## Author\n* Aaron Halfaker -- https://github.com/halfak\n\n## Cite as\nAaron Halfaker. (2017). mediawiki-utilities/python-mwreverts: v0.1.4 [Data set]. Zenodo. http://doi.org/10.5281/zenodo.556790\n\n## See also \n* https://meta.wikimedia.org/wiki/Research:Revert",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A set of utilities for detecting reverts in MediaWiki revisions.",
    "version": "0.1.5",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "26e575700c635c64c08d77909862f15c",
                "sha256": "f6ac108bf7a4c21914efee63c9a89c216702dbe93c18b3b813e7f40ff9bd32cc"
            },
            "downloads": -1,
            "filename": "mwreverts-0.1.5-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "26e575700c635c64c08d77909862f15c",
            "packagetype": "bdist_wheel",
            "python_version": "2.7",
            "requires_python": null,
            "size": 18000,
            "upload_time": "2017-05-01T18:55:34",
            "upload_time_iso_8601": "2017-05-01T18:55:34.665901Z",
            "url": "https://files.pythonhosted.org/packages/f4/7d/83190f9457507d01e77e77d5b0a0222bf99684ad11d4471a4fdf89db908b/mwreverts-0.1.5-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "e4878333c92b7736556c0abd767110fd",
                "sha256": "d23889becb5b953dfbc904d6654421818bbc0044491ded3564cb7374873fc579"
            },
            "downloads": -1,
            "filename": "mwreverts-0.1.5.tar.gz",
            "has_sig": false,
            "md5_digest": "e4878333c92b7736556c0abd767110fd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 11202,
            "upload_time": "2017-05-01T18:55:32",
            "upload_time_iso_8601": "2017-05-01T18:55:32.667788Z",
            "url": "https://files.pythonhosted.org/packages/8d/28/7ef18de4745cc103264fe5254af31cb3e00213ee910243f0e61f104b84c5/mwreverts-0.1.5.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2017-05-01 18:55:32",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "mediawiki-utilities",
    "github_project": "python-mwreverts",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "mwtypes",
            "specs": []
        },
        {
            "name": "jsonable",
            "specs": []
        }
    ],
    "tox": true,
    "lcname": "mwreverts"
}
        
Elapsed time: 0.13940s