A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

index.rst 1.5 KiB

11 anos atrás
11 anos atrás
11 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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`