Metadata-Version: 2.0
Name: mwcomposerfromhell
Version: 0.1
Summary: Convert the parsed MediaWiki wikicode (using mwparserfromhell) to HTML.
Home-page: UNKNOWN
Author: Patrick Cloke
Author-email: clokep@patrick.cloke.us
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Internet
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: ISC License (ISCL)

mwcomposerfromhell
##################

**mwcomposerfromhell** is a Python package that provides an easy-to-use composer
to convert the MediaWiki wikicode to HTML via `mwparserfromhell`_. It supports
Python 3.

.. _mwparserfromhell: https://github.com/earwig/mwparserfromhell/

Usage
-----

Normal usage is rather straightforward (where ``text`` is page text)::

    >>> import mwparserfromhell
    >>> import mwcomposerfromhell
    >>> wikicode = mwparserfromhell.parse(text)
    >>> html = mwcomposerfromhell.compose(wikicode)

``html`` is a ``str`` object for the output HTML.


