A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

55 Zeilen
1.6 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: http://mediawiki.org
  9. .. _Earwig: http://en.wikipedia.org/wiki/User:The_Earwig
  10. .. _Σ: http://en.wikipedia.org/wiki/User:%CE%A3
  11. .. _Legoktm: http://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`_). On Windows, make sure you have the latest version of pip
  18. installed by running ``pip install --upgrade pip``.
  19. Alternatively, get the latest development version::
  20. git clone https://github.com/earwig/mwparserfromhell.git
  21. cd mwparserfromhell
  22. python setup.py install
  23. You can run the comprehensive unit testing suite with
  24. ``python setup.py test -q``.
  25. .. _Python Package Index: http://pypi.python.org
  26. .. _get pip: http://pypi.python.org/pypi/pip
  27. Contents
  28. --------
  29. .. toctree::
  30. :maxdepth: 2
  31. usage
  32. integration
  33. changelog
  34. API Reference <api/modules>
  35. Indices and tables
  36. ------------------
  37. * :ref:`genindex`
  38. * :ref:`modindex`
  39. * :ref:`search`