Metadata-Version: 1.1
Name: mwxml
Version: 0.2.0
Summary: A set of utilities for processing MediaWiki XML dump data.
Home-page: http://pypi.python.org/pypi/mwxml
Author: Aaron Halfaker
Author-email: aaron.halfaker@gmail.com
License: The MIT License (MIT)

Copyright (c) 2015 Aaron Halfaker

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.

Description: # MediaWiki XML
        
        This library contains a collection of utilities for efficiently 
        processing MediaWiki’s XML database dumps. There are two 
        important concerns that this module intends to address: 
        complexity and performance of streaming XML parsing.  This library
        enables memory efficent stream processing of XML dumps with 
        a simple [`iterator`](https://pythonhosted.org/mwxml/iteration.html) 
        strategy.  This library also implements a distributed
        processing strategy (see 
        [`map()`](https://pythonhosted.org/mwxml/map.html)) that enables parallel
        processing of many XML dump files at the same time. 
        
        * **Installation:** ``pip install mwxml``
        * **Documentation:** https://pythonhosted.org/mwxml
        * **Repositiory:** https://github.com/mediawiki-utilities/python-mwxml
        * **License:** MIT
        
        ## Example
        
            >>> import mwxml
            >>>
            >>> dump = mwxml.Dump.from_file(open("dump.xml"))
            >>> print(dump.site_info.name, dump.site_info.dbname)
            Wikipedia enwiki
            >>>
            >>> for page in dump:
            ...     for revision in page:
            ...        print(revision.id)
            ...
            1
            2
            3
            
        ## Author
        * Aaron Halfaker -- https://github.com/halfak
        
        ## See also 
        * http://dumps.wikimedia.org/
        * http://community.wikia.com/wiki/Help:Database_download
        
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Environment :: Other Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Text Processing :: General
Classifier: Topic :: Utilities
Classifier: Topic :: Scientific/Engineering
