A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

56 líneas
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 3.8+.
  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. The comprehensive unit testing suite requires `pytest`_ (``pip install pytest``)
  23. and can be run with ``python -m pytest``.
  24. .. _Python Package Index: https://pypi.org/
  25. .. _get pip: https://pypi.org/project/pip/
  26. .. _pytest: https://docs.pytest.org/
  27. Contents
  28. --------
  29. .. toctree::
  30. :maxdepth: 2
  31. usage
  32. limitations
  33. integration
  34. changelog
  35. API Reference <api/modules>
  36. Indices and tables
  37. ------------------
  38. * :ref:`genindex`
  39. * :ref:`modindex`
  40. * :ref:`search`