Skip to main content

This python module provides access to a MediaWiki wiki via its API.

Project description

jk_mediawikiapi

Introduction

This python module provides access to a MediaWiki wiki via its API.

Information about this module can be found here:

Why this module?

The author of this module needed to access a MediaWiki and retrieve and update some data. At that point time quite python modules were available for this purpose and the author of this module experimente with quite some of these modules. To his suprprise none of these modules worked with his installation of a quite recent MediaWiki installation. After spending quite some time in trying to use existing modules to avoid the rework involved in the process of implementing functionality again without sufficient success, he had no other choice as to implement his own MediaWiki client himself. That's how this module came into existance.

This module aims to provide a working MediaWiki access for at least the most frequent functionality.

Limitations of this module

You can use this module for production iff you do some testing in your usecase.

Nevertheless this module is still considered of being "alpha". That implies:

  1. There might be some API changes in the future. Methods might get renamed or method arguments might get renamed.
    • Nevertheless if you update to a more recent version of this module and find things broken it should not be difficult to find out possible changes in method and method argument names and update your own code accordingly.
  2. There might be some special situations in responses of servers that might not yet have taken into consideration in the implementation of this module.
    • In the unlikely case that you encounter such a situation either ... a) ... fix this problem yourself and then send the code to the author of this module for integration, or b) ... contact the author of this module directly, provide details about the problem and he'll try to fix that problem as soon as possible.
  3. Only the most frequent functionality is provided. There might be some special functionality not yet considered to provide as a method in MediaWikiClient.
    • In that case see (2) how to deal with this situation.

How to use this module

Import this module

Please include this module into your application using the following code:

import jk_mediawikiapi

...

Contact Information

This work is Open Source. This enables you to use this work for free.

Please have in mind this also enables you to contribute. We, the subspecies of software developers, can create great things. But the more collaborate, the more fantastic these things can become. Therefore Feel free to contact the author(s) listed below, either for giving feedback, providing comments, hints, indicate possible collaborations, ideas, improvements. Or maybe for "only" reporting some bugs:

License

This software is provided under the following license:

  • Apache Software License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jk_mediawikiapi-0.2023.12.10.tar.gz (25.1 kB view details)

Uploaded Source

Built Distribution

jk_mediawikiapi-0.2023.12.10-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file jk_mediawikiapi-0.2023.12.10.tar.gz.

File metadata

File hashes

Hashes for jk_mediawikiapi-0.2023.12.10.tar.gz
Algorithm Hash digest
SHA256 5cc86ff2aa42e92127ee10380ea422320ef88f94718ee82d631cd764474e8103
MD5 adcc3c490ff0cd8c1560126667a84616
BLAKE2b-256 3d5c56be0348b088f776dbe5a05a17c85cd3f5e29a88e1131ba3567bad81be7c

See more details on using hashes here.

File details

Details for the file jk_mediawikiapi-0.2023.12.10-py3-none-any.whl.

File metadata

File hashes

Hashes for jk_mediawikiapi-0.2023.12.10-py3-none-any.whl
Algorithm Hash digest
SHA256 4671a3d5f74cb93b18a6b24a2031006592e52b1530e3ea8fc4b7d14fb500f6e4
MD5 f70ad248e0c4b470b57d0ef5258f7f3f
BLAKE2b-256 ba7fdfedfbdb4fd95d116e3dbcb2ba720bce93780d506d5d58d57f10fb52f4c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page