Skip to content
Snippets Groups Projects
  • Marc Troelitzsch's avatar
    658d5829
    refactor!: Use f-strings for string formatting · 658d5829
    Marc Troelitzsch authored
    This commit refactors the codebase to consistently use Python 3.6
    f-strings for string concatenation and interpolation.
    
    BREAKING CHANGE: This update increases the minimum required Python
    version from 3.5 to 3.6. Python 3.5 reached end-of-life in September
    2020 (~4 years ago) and has been dropped from most distributions, so the
    impact on users should be minimal.
    658d5829
    History
    refactor!: Use f-strings for string formatting
    Marc Troelitzsch authored
    This commit refactors the codebase to consistently use Python 3.6
    f-strings for string concatenation and interpolation.
    
    BREAKING CHANGE: This update increases the minimum required Python
    version from 3.5 to 3.6. Python 3.5 reached end-of-life in September
    2020 (~4 years ago) and has been dropped from most distributions, so the
    impact on users should be minimal.
README.md 2.87 KiB
mwclient logo

mwclient

Build status Test coverage Latest version MIT license Documentation status Issue statistics Gitter chat

mwclient is a lightweight Python client library to the MediaWiki API which provides access to most API functionality. It works with Python 3.6 and above, and supports MediaWiki 1.16 and above. For functions not available in the current MediaWiki, a MediaWikiVersionError is raised.

The current stable version 0.11.0 is available through PyPI:

$ pip install mwclient

The current development version can be installed from GitHub:

$ pip install git+git://github.com/mwclient/mwclient.git

Please see the changelog document for a list of changes.

mwclient was originally written by Bryan Tong Minh. It was maintained for many years by Dan Michael O. Heggø, with assistance from Waldir Pimenta. It is currently maintained by Marc Trölitzsch, Adam Williamson and Megan Cutrofello. The best way to get in touch with the maintainers is by filing an issue or a pull request.

Documentation

Up-to-date documentation is hosted at Read the Docs. It includes a user guide to get started using mwclient, a reference guide, implementation and development notes.

There is also some documentation on the GitHub wiki that hasn't been ported yet. If you want to help, you're welcome!

Contributing

Patches are welcome! See this page for information on how to get started with mwclient development.