A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

55 lines
1.5 KiB

  1. MWParserFromHell v\ |version| Documentation
  2. ===========================================
  3. :mod:`mwparserfromhell` (the *MediaWiki Parser from Hell*) is a Python package
  4. that provides an easy-to-use and outrageously powerful parser for MediaWiki_
  5. wikicode. It supports Python 2 and Python 3.
  6. Developed by Earwig_ with contributions from `Σ`_, Legoktm_, and others.
  7. Development occurs on GitHub_.
  8. .. _MediaWiki: https://www.mediawiki.org
  9. .. _Earwig: https://en.wikipedia.org/wiki/User:The_Earwig
  10. .. _Σ: https://en.wikipedia.org/wiki/User:%CE%A3
  11. .. _Legoktm: https://en.wikipedia.org/wiki/User:Legoktm
  12. .. _GitHub: https://github.com/earwig/mwparserfromhell
  13. Installation
  14. ------------
  15. The easiest way to install the parser is through the `Python Package Index`_;
  16. you can install the latest release with ``pip install mwparserfromhell``
  17. (`get pip`_). Make sure your pip is up-to-date first, especially on Windows.
  18. Alternatively, get the latest development version::
  19. git clone https://github.com/earwig/mwparserfromhell.git
  20. cd mwparserfromhell
  21. python setup.py install
  22. You can run the comprehensive unit testing suite with
  23. ``python setup.py test -q``.
  24. .. _Python Package Index: https://pypi.org/
  25. .. _get pip: https://pypi.org/project/pip/
  26. Contents
  27. --------
  28. .. toctree::
  29. :maxdepth: 2
  30. usage
  31. limitations
  32. integration
  33. changelog
  34. API Reference <api/modules>
  35. Indices and tables
  36. ------------------
  37. * :ref:`genindex`
  38. * :ref:`modindex`
  39. * :ref:`search`