A Python parser for MediaWiki wikicode https://mwparserfromhell.readthedocs.io/
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

index.rst 1.8 KiB

il y a 11 ans
il y a 11 ans
il y a 11 ans
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. so you can install the latest release with ``pip install mwparserfromhell``
  17. (`get pip`_). Alternatively, get the latest development version::
  18. git clone https://github.com/earwig/mwparserfromhell.git
  19. cd mwparserfromhell
  20. python setup.py install
  21. If you get ``error: Unable to find vcvarsall.bat`` while installing, this is
  22. because Windows can't find the compiler for C extensions. Consult this
  23. `StackOverflow question`_ for help. You can also set ``ext_modules`` in
  24. ``setup.py`` to an empty list to prevent the extension from building.
  25. You can run the comprehensive unit testing suite with ``python setup.py test``.
  26. .. _Python Package Index: http://pypi.python.org
  27. .. _get pip: http://pypi.python.org/pypi/pip
  28. .. _StackOverflow question: http://stackoverflow.com/questions/2817869/error-unable-to-find-vcvarsall-bat
  29. Contents
  30. --------
  31. .. toctree::
  32. :maxdepth: 2
  33. usage
  34. integration
  35. changelog
  36. API Reference <api/modules>
  37. Indices and tables
  38. ------------------
  39. * :ref:`genindex`
  40. * :ref:`modindex`
  41. * :ref:`search`